Author: antelder
Date: Sat Mar 20 12:52:29 2010
New Revision: 925592

URL: http://svn.apache.org/viewvc?rev=925592&view=rev
Log:
Update Tuscany run plugin for latest runtime and change to not include all 
extension by default but require that they're added separately where the plugin 
is used. Also update to use the exploded folder in the target directory as the 
contribution instead of the packaged artifacts as the bpel extension only seems 
to work with folder contributions

Modified:
    tuscany/maven-plugins/trunk/maven-tuscany-plugin/pom.xml
    
tuscany/maven-plugins/trunk/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyRunMojo.java

Modified: tuscany/maven-plugins/trunk/maven-tuscany-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/tuscany/maven-plugins/trunk/maven-tuscany-plugin/pom.xml?rev=925592&r1=925591&r2=925592&view=diff
==============================================================================
--- tuscany/maven-plugins/trunk/maven-tuscany-plugin/pom.xml (original)
+++ tuscany/maven-plugins/trunk/maven-tuscany-plugin/pom.xml Sat Mar 20 
12:52:29 2010
@@ -180,67 +180,8 @@
        </dependency>
 
        <dependency>
-          <groupId>org.apache.tuscany.sca</groupId>
-          <artifactId>tuscany-domain-node</artifactId>
-          <version>2.0-SNAPSHOT</version>
-       </dependency>
-
-       <dependency>
-          <groupId>org.apache.tuscany.sca</groupId>
-          <artifactId>tuscany-implementation-java-runtime</artifactId>
-          <version>2.0-SNAPSHOT</version>
-       </dependency>
-
-       <dependency>
-          <groupId>org.apache.tuscany.sca</groupId>
-          <artifactId>tuscany-implementation-bpel-runtime</artifactId>
-          <version>2.0-SNAPSHOT</version>
-       </dependency>
-
-       <dependency>
-          <groupId>org.apache.tuscany.sca</groupId>
-          <artifactId>tuscany-implementation-spring</artifactId>
-          <version>2.0-SNAPSHOT</version>
-       </dependency>
-       <dependency>
-          <groupId>org.apache.tuscany.sca</groupId>
-          <artifactId>tuscany-implementation-spring-sca</artifactId>
-          <version>2.0-SNAPSHOT</version>
-       </dependency>
-
-       <dependency>
-          <groupId>org.apache.tuscany.sca</groupId>
-          <artifactId>tuscany-binding-jsonp-runtime</artifactId>
-          <version>2.0-SNAPSHOT</version>
-       </dependency>
-
-       <dependency>
-          <groupId>org.apache.tuscany.sca</groupId>
-          <artifactId>tuscany-binding-rmi-runtime</artifactId>
-          <version>2.0-SNAPSHOT</version>
-       </dependency>
-
-       <dependency>
-          <groupId>org.apache.tuscany.sca</groupId>
-          <artifactId>tuscany-binding-ws-axis2</artifactId>
-          <version>2.0-SNAPSHOT</version>
-       </dependency>
-
-       <dependency>
-          <groupId>org.apache.tuscany.sca</groupId>
-          <artifactId>tuscany-binding-sca-axis2-runtime</artifactId>
-          <version>2.0-SNAPSHOT</version>
-       </dependency>
-
-       <dependency>
-          <groupId>org.apache.tuscany.sca</groupId>
-          <artifactId>tuscany-host-jetty</artifactId>
-          <version>2.0-SNAPSHOT</version>
-       </dependency>
-
-       <dependency>
-          <groupId>org.apache.tuscany.sca</groupId>
-          <artifactId>tuscany-endpoint-tribes</artifactId>
+          <groupId>org.apache.tuscany.sca.shades</groupId>
+          <artifactId>tuscany-base</artifactId>
           <version>2.0-SNAPSHOT</version>
        </dependency>
 

Modified: 
tuscany/maven-plugins/trunk/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyRunMojo.java
URL: 
http://svn.apache.org/viewvc/tuscany/maven-plugins/trunk/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyRunMojo.java?rev=925592&r1=925591&r2=925592&view=diff
==============================================================================
--- 
tuscany/maven-plugins/trunk/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyRunMojo.java
 (original)
+++ 
tuscany/maven-plugins/trunk/maven-tuscany-plugin/src/main/java/org/apache/tuscany/maven/plugin/TuscanyRunMojo.java
 Sat Mar 20 12:52:29 2010
@@ -105,7 +105,7 @@ public class TuscanyRunMojo extends Abst
     protected void addProjectContribution(List<String> cs) throws 
MojoExecutionException {
         try {
 
-            String contribution = new File(buildDirectory.getParent(), 
finalName.getName() + packaging).toURI().toURL().toString();
+            String contribution = new File(buildDirectory.getParent(), 
finalName.getName()).toURI().toURL().toString();
             getLog().info("Project contribution: " + contribution);
             cs.add(contribution);
             


Reply via email to