addSourceBundleManifestEntries(mavenArchiveConfiguration);
}
}
private void addSourceBundleManifestEntries(MavenArchiveConfiguration mavenArchiveConfiguration) {
TychoProject projectType = projectTypes.get(project.getPackaging());
ArtifactKey artifactKey = projectType.getArtifactKey(DefaultReactorProject.adapt(project));
String symbolicName = artifactKey.getId();
String version = artifactKey.getVersion();
if (symbolicName != null && version != null) {
mavenArchiveConfiguration.addManifestEntry(MANIFEST_HEADER_BUNDLE_MANIFEST_VERSION, "2");