public String getGroupId() { getBsn(); return xgroupId; }
PomFromManifest pom = new PomFromManifest(manifest); pom.setSCM(scm); if (url != null) pom.setURL(url); if (artifact != null) pom.setArtifact(artifact); if (artifact != null) pom.setGroup(group); if (version != null) pom.setVersion(version); logger.debug("{}", url); for (String d : developers) pom.addDeveloper(d); IO.mkdirs(bundle); String prefix = pom.getArtifactId() + "-" + pom.getVersion(); File binaryFile = new File(bundle, prefix + ".jar"); File sourceFile = new File(bundle, prefix + "-sources.jar"); logger.debug("creating output files {}, {}, {}, and {}", binaryFile, sourceFile, javadocFile, pomFile); IO.copy(pom.openInputStream(), pomFile); logger.debug("copied pom");
project.addContent(new Tag("groupId").addContent(getGroupId())); project.addContent(new Tag("artifactId").addContent(getArtifactId())); project.addContent(new Tag("version").addContent(getVersion().toString())); tagFromMap(l, values, "description", "name", url); else tagFromMap(l, values, "name", "name", url); tagFromMap(l, values, "url", "url", url); tagFromMap(l, values, "distribution", "distribution", "repo");
Resource r = new PomFromManifest(jar.getManifest()); jar.putResource("pom.xml", r); String path = output.getName().replaceAll("\\.jar$", ".pom");
PomFromManifest pom = new PomFromManifest(manifest); pom.setSCM(scm); if (url != null) pom.setURL(url); if (artifact != null) pom.setArtifact(artifact); if (artifact != null) pom.setGroup(group); if (version != null) pom.setVersion(version); logger.debug("{}", url); for (String d : developers) pom.addDeveloper(d); IO.mkdirs(bundle); String prefix = pom.getArtifactId() + "-" + pom.getVersion(); File binaryFile = new File(bundle, prefix + ".jar"); File sourceFile = new File(bundle, prefix + "-sources.jar"); logger.debug("creating output files {}, {}, {}, and {}", binaryFile, sourceFile, javadocFile, pomFile); IO.copy(pom.openInputStream(), pomFile); logger.debug("copied pom");
project.addContent(new Tag("groupId").addContent(getGroupId())); project.addContent(new Tag("artifactId").addContent(getArtifactId())); project.addContent(new Tag("version").addContent(getVersion().toString())); tagFromMap(l, values, "description", "name", url); else tagFromMap(l, values, "name", "name", url); tagFromMap(l, values, "url", "url", url); tagFromMap(l, values, "distribution", "distribution", "repo");
Resource r = new PomFromManifest(jar.getManifest()); jar.putResource("pom.xml", r); String path = outputFile.getName().replaceAll("\\.jar$", ".pom");
trace("got manifest"); PomFromManifest pom = new PomFromManifest(manifest); pom.setSCM(scm); if (url != null) pom.setURL(url); if (artifact != null) pom.setArtifact(artifact); if (artifact != null) pom.setGroup(group); if (version != null) pom.setVersion(version); trace(url); for (String d : developers) pom.addDeveloper(d); String prefix = pom.getArtifactId() + "-" + pom.getVersion(); File binaryFile = new File(bundle, prefix + ".jar"); File sourceFile = new File(bundle, prefix + "-sources.jar"); trace("creating output files %s, %s,%s, and %s", binaryFile, sourceFile, javadocFile, pomFile); IO.copy(pom.openInputStream(), pomFile); trace("copied pom");
project.addContent(new Tag("groupId").addContent(getGroupId())); project.addContent(new Tag("artifactId").addContent(getArtifactId())); project.addContent(new Tag("version").addContent(getVersion().toString())); tagFromMap(l, values, "description", "name", url); else tagFromMap(l, values, "name", "name", url); tagFromMap(l, values, "url", "url", url); tagFromMap(l, values, "distribution", "distribution", "repo");
public String getArtifactId() { getBsn(); return xartifactId; }
trace("got manifest"); PomFromManifest pom = new PomFromManifest(manifest); pom.setSCM(scm); if (url != null) pom.setURL(url); if (artifact != null) pom.setArtifact(artifact); if (artifact != null) pom.setGroup(group); if (version != null) pom.setVersion(version); trace(url); for (String d : developers) pom.addDeveloper(d); bundle.mkdirs(); String prefix = pom.getArtifactId() + "-" + pom.getVersion(); File binaryFile = new File(bundle, prefix + ".jar"); File sourceFile = new File(bundle, prefix + "-sources.jar"); pomFile); IO.copy(pom.openInputStream(), pomFile); trace("copied pom");
project.addContent(new Tag("groupId").addContent(getGroupId())); project.addContent(new Tag("artifactId").addContent(getArtifactId())); project.addContent(new Tag("version").addContent(getVersion().toString())); tagFromMap(l, values, "description", "name", url); else tagFromMap(l, values, "name", "name", url); tagFromMap(l, values, "url", "url", url); tagFromMap(l, values, "distribution", "distribution", "repo");
public String getGroupId() { getBsn(); return xgroupId; }
trace("got manifest"); PomFromManifest pom = new PomFromManifest(manifest); pom.setSCM(scm); if (url != null) pom.setURL(url); if (artifact != null) pom.setArtifact(artifact); if (artifact != null) pom.setGroup(group); if (version != null) pom.setVersion(version); trace(url); for (String d : developers) pom.addDeveloper(d); String prefix = pom.getArtifactId() + "-" + pom.getVersion(); File binaryFile = new File(bundle, prefix + ".jar"); File sourceFile = new File(bundle, prefix + "-sources.jar"); trace("creating output files %s, %s,%s, and %s", binaryFile, sourceFile, javadocFile, pomFile); IO.copy(pom.openInputStream(), pomFile); trace("copied pom");
project.addContent(new Tag("groupId").addContent(getGroupId())); project.addContent(new Tag("artifactId").addContent(getArtifactId())); project.addContent(new Tag("version").addContent(getVersion().toString())); tagFromMap(l, values, "description", "name", url); else tagFromMap(l, values, "name", "name", url); tagFromMap(l, values, "url", "url", url); tagFromMap(l, values, "distribution", "distribution", "repo");
public String getArtifactId() { getBsn(); return xartifactId; }
trace("got manifest"); PomFromManifest pom = new PomFromManifest(manifest); pom.setSCM(scm); if (url != null) pom.setURL(url); if (artifact != null) pom.setArtifact(artifact); if (artifact != null) pom.setGroup(group); if (version != null) pom.setVersion(version); trace(url); for (String d : developers) pom.addDeveloper(d); String prefix = pom.getArtifactId() + "-" + pom.getVersion(); File binaryFile = new File(bundle, prefix + ".jar"); File sourceFile = new File(bundle, prefix + "-sources.jar"); trace("creating output files %s, %s,%s, and %s", binaryFile, sourceFile, javadocFile, pomFile); IO.copy(pom.openInputStream(), pomFile); trace("copied pom");
project.addContent(new Tag("groupId").addContent(getGroupId())); project.addContent(new Tag("artifactId").addContent(getArtifactId())); project.addContent(new Tag("version").addContent(getVersion().toString())); tagFromMap(l, values, "description", "name", url); else tagFromMap(l, values, "name", "name", url); tagFromMap(l, values, "url", "url", url); tagFromMap(l, values, "distribution", "distribution", "repo");
public String getArtifactId() { getBsn(); return xartifactId; }
public String getGroupId() { getBsn(); return xgroupId; }