diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-29 17:24:12 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-29 17:24:12 +0000 |
commit | 7a5198278c76adc0d661a26309934ae7b68cbaa2 (patch) | |
tree | c5708adfa88795dfd465c3810622fa42ee033e49 /maven-plugins/trunk/maven-bundle-plugin | |
parent | dbaa32f307ac6aef073e21113bf912ed0286c79f (diff) |
Allow the plugin to generate config for the whole distro
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@904564 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'maven-plugins/trunk/maven-bundle-plugin')
2 files changed, 3 insertions, 1 deletions
diff --git a/maven-plugins/trunk/maven-bundle-plugin/src/main/java/org/apache/tuscany/maven/bundle/plugin/BundleAggregatorMojo.java b/maven-plugins/trunk/maven-bundle-plugin/src/main/java/org/apache/tuscany/maven/bundle/plugin/BundleAggregatorMojo.java index e098799085..9c36ae34a2 100644 --- a/maven-plugins/trunk/maven-bundle-plugin/src/main/java/org/apache/tuscany/maven/bundle/plugin/BundleAggregatorMojo.java +++ b/maven-plugins/trunk/maven-bundle-plugin/src/main/java/org/apache/tuscany/maven/bundle/plugin/BundleAggregatorMojo.java @@ -150,7 +150,7 @@ public class BundleAggregatorMojo extends AbstractMojo { attributes.putValue("Bundle-SymbolicName", bundleName); attributes.putValue("SCA-Version", "1.1"); attributes.putValue("Bundle-Name", bundleName); - attributes.putValue("Bundle-ActivationPolicy", "lazy"); + // attributes.putValue("Bundle-ActivationPolicy", "lazy"); for (Manifest mf : manifests) { for (Map.Entry<Object, Object> e : mf.getMainAttributes().entrySet()) { Attributes.Name key = (Attributes.Name)e.getKey(); diff --git a/maven-plugins/trunk/maven-bundle-plugin/src/main/java/org/apache/tuscany/maven/bundle/plugin/ModuleBundlesBuildMojo.java b/maven-plugins/trunk/maven-bundle-plugin/src/main/java/org/apache/tuscany/maven/bundle/plugin/ModuleBundlesBuildMojo.java index a90fb35e83..4b9198b741 100644 --- a/maven-plugins/trunk/maven-bundle-plugin/src/main/java/org/apache/tuscany/maven/bundle/plugin/ModuleBundlesBuildMojo.java +++ b/maven-plugins/trunk/maven-bundle-plugin/src/main/java/org/apache/tuscany/maven/bundle/plugin/ModuleBundlesBuildMojo.java @@ -734,11 +734,13 @@ public class ModuleBundlesBuildMojo extends AbstractMojo { generateGatewayBundle(serviceProviders); } + /* if (useDistributionName) { bundleLocations.nameMap.remove(project.getArtifactId()); jarNames.nameMap.remove(project.getArtifactId()); bundleSymbolicNames.nameMap.remove(project.getArtifactId()); } + */ // Generate a PDE target if (generateTargetPlatform) { |