summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/maven
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/maven/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyShellMojo.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/sca-java-2.x/trunk/maven/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyShellMojo.java b/sca-java-2.x/trunk/maven/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyShellMojo.java
index 5002da79b3..d3c2ef0d3f 100644
--- a/sca-java-2.x/trunk/maven/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyShellMojo.java
+++ b/sca-java-2.x/trunk/maven/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyShellMojo.java
@@ -30,7 +30,7 @@ import org.apache.tuscany.sca.shell.Shell;
/**
* Maven Mojo to run the Tuscany Shell
*
- * Invoked with mvn org.apache.tuscany.maven.plugin:maven-tuscany-plugins:shell [-Ddomain=uri:myDomain] [-Dcontributions=path\to\scacontribution,...]
+ * Invoked with mvn org.apache.tuscany.maven.plugin:maven-tuscany-plugins:shell [-DdomainURI=uri:myDomain] [-Dcontributions=path\to\scacontribution,...]
*
* @goal shell
* @requiresProject false
@@ -39,9 +39,9 @@ import org.apache.tuscany.sca.shell.Shell;
public class TuscanyShellMojo extends AbstractMojo {
/**
- * @parameter expression="${domain}" default-value="default"
+ * @parameter expression="${domainURI}" default-value="default"
*/
- private String domain;
+ private String domainURI;
/**
* @parameter expression="${contributions}"
@@ -59,13 +59,13 @@ public class TuscanyShellMojo extends AbstractMojo {
cs.add(st.nextToken());
}
cs.add(0, "-help");
- cs.add(0, domain);
+ cs.add(0, domainURI);
args = cs.toArray(new String[cs.size()]);
} else {
- if ("default".equals(domain)) {
+ if ("default".equals(domainURI)) {
args = new String[]{};
} else {
- args = new String[]{domain};
+ args = new String[]{domainURI};
}
}