diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-10-24 23:26:37 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-10-24 23:26:37 +0000 |
commit | fea424a4effec9e3f202fc12cba452926e348b1d (patch) | |
tree | 8bb316e48069290f4c80553cbbd5d1f0afd06dac /branches/sca-equinox/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca | |
parent | be107596bf5d061544be6bd6507005f129650783 (diff) |
Use the targetDirectory as the location for the tuscany plugins
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@707786 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-equinox/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca')
-rw-r--r-- | branches/sca-equinox/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ModuleBundlesBuildMojo.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/branches/sca-equinox/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ModuleBundlesBuildMojo.java b/branches/sca-equinox/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ModuleBundlesBuildMojo.java index 851699611f..f813a2d096 100644 --- a/branches/sca-equinox/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ModuleBundlesBuildMojo.java +++ b/branches/sca-equinox/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ModuleBundlesBuildMojo.java @@ -286,7 +286,7 @@ public class ModuleBundlesBuildMojo extends AbstractMojo { out.close(); } - private static void writeTarget(PrintStream ps, Set<String> ids, String[] features) { + private void writeTarget(PrintStream ps, Set<String> ids, String[] features) { ps.println("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"); ps.println("<?pde version=\"3.2\"?>"); @@ -309,7 +309,7 @@ public class ModuleBundlesBuildMojo extends AbstractMojo { ps.println("</features>"); ps.println("<extraLocations>"); // Not sure why the extra path needs to the plugins folder - ps.println("<location path=\"${project_loc}/target/plugins\"/>"); + ps.println("<location path=\"" + targetDirectory + "\"/>"); ps.println("</extraLocations>"); ps.println("</content>"); |