bundlesPom.append("\t\t<artifactId>"
+ project.getParentArtifact().getArtifactId()
+ "</artifactId>\n");
- bundlesPom.append("\t\t<version>"
- + project.getParentArtifact().getVersion() + "</version>\n");
+ bundlesPom
+ .append("\t\t<version>"
+ + project.getParentArtifact().getBaseVersion()
+ + "</version>\n");
bundlesPom.append("\t</parent>\n");
bundlesPom
.append("\t<groupId>" + project.getGroupId() + "</groupId>\n");
// Write manifest
FileOutputStream out = new FileOutputStream(manifestFile);
- bundlePackage.getManifest().getMainAttributes().put(
- Attributes.Name.MANIFEST_VERSION, "1.0");
- System.out.println("# BUNDLE "
+ System.out.println("\n# BUNDLE "
+ bundlePackage.getArtifact().getArtifactId());
Attributes mainAttrs = bundlePackage.getManifest()
.getMainAttributes();