From 8102b47045f58eaab521082a3baa2cb156273a88 Mon Sep 17 00:00:00 2001 From: rfeng Date: Thu, 2 Apr 2009 23:11:14 +0000 Subject: Set the default value for eclipseBuddyPolicy to null git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@761467 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/maven/bundle/plugin/ModuleBundlesBuildMojo.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'maven-plugins/trunk/maven-bundle-plugin/src') 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 30a77d24fa..efb08a62c8 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 @@ -233,9 +233,9 @@ public class ModuleBundlesBuildMojo extends AbstractMojo { /** * Inserts a generic Eclipse-BuddyPolicy header into generated artifacts manifests - * @parameter default-value="dependent" + * @parameter */ - private String genericBuddyPolicy = "dependent"; + private String eclipseBuddyPolicy = null; private static final String XML_PI = ""; private static final String ASL_HEADER = @@ -472,7 +472,7 @@ public class ModuleBundlesBuildMojo extends AbstractMojo { symbolicName, version, null, - this.genericBuddyPolicy); + this.eclipseBuddyPolicy); File file = new File(dir, "META-INF"); file.mkdirs(); file = new File(file, "MANIFEST.MF"); @@ -511,7 +511,7 @@ public class ModuleBundlesBuildMojo extends AbstractMojo { symbolicName, version, null, - this.genericBuddyPolicy); + this.eclipseBuddyPolicy); File file = new File(dir, "META-INF"); file.mkdirs(); file = new File(file, "MANIFEST.MF"); @@ -695,8 +695,6 @@ public class ModuleBundlesBuildMojo extends AbstractMojo { ps.println("eclipse.ignoreApp=true"); // Do not shutdown ps.println("osgi.noShutdown=true"); - // Start a default console - ps.println("osgi.console="); ps.close(); } } -- cgit v1.2.3