diff options
Diffstat (limited to 'bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/GenerateOsgiManifestMojo.java')
-rw-r--r-- | bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/GenerateOsgiManifestMojo.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/GenerateOsgiManifestMojo.java b/bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/GenerateOsgiManifestMojo.java index 261518d13f3..814a9667e8a 100644 --- a/bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/GenerateOsgiManifestMojo.java +++ b/bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/GenerateOsgiManifestMojo.java @@ -151,11 +151,6 @@ public class GenerateOsgiManifestMojo extends AbstractGenerateOsgiManifestMojo { }; } - private BundleType effectiveBundleType() { - if (bundleType != BundleType.USER) return bundleType; - return isVespaInternalGroupId(project.getGroupId()) ? BundleType.INTERNAL : BundleType.USER; - } - private void addAdditionalManifestProperties(Map<String, String> manifestContent) { addIfNotEmpty(manifestContent, "Bundle-Activator", bundleActivator); addIfNotEmpty(manifestContent, "X-JDisc-Privileged-Activator", jdiscPrivilegedActivator); @@ -276,6 +271,11 @@ public class GenerateOsgiManifestMojo extends AbstractGenerateOsgiManifestMojo { } } + private BundleType effectiveBundleType() { + if (bundleType != BundleType.USER) return bundleType; + return isVespaInternalGroupId(project.getGroupId()) ? BundleType.INTERNAL : BundleType.USER; + } + private boolean isVespaInternalGroupId(String groupId) { return groupId.equals(VESPA_GROUP_ID) || groupId.equals(VESPA_GROUP_ID + ".hosted") |