summaryrefslogtreecommitdiffstats
path: root/branches/sca-equinox
diff options
context:
space:
mode:
Diffstat (limited to 'branches/sca-equinox')
-rw-r--r--branches/sca-equinox/tools/maven/maven-bundle-plugin/src/main/java/org/apache/tuscany/sca/tools/bundle/plugin/ModuleBundlesBuildMojo.java4
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>");