summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--maven-plugins/trunk/maven-bundle-plugin/src/main/java/org/apache/tuscany/maven/bundle/plugin/BundleAggregatorMojo.java2
-rw-r--r--maven-plugins/trunk/maven-bundle-plugin/src/main/java/org/apache/tuscany/maven/bundle/plugin/ModuleBundlesBuildMojo.java2
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) {