You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2010/05/27 10:57:44 UTC

svn commit: r948739 - in /tuscany/sca-java-2.x/trunk/samples/helloworld-ws-sdo: pom.xml src/main/resources/META-INF/sca-contribution.xml

Author: antelder
Date: Thu May 27 08:57:43 2010
New Revision: 948739

URL: http://svn.apache.org/viewvc?rev=948739&view=rev
Log:
Add tuscany plugin definition and a default deployable so that the contribution can be run with mvn tuscany:run. The contribution doesn't work yet though

Modified:
    tuscany/sca-java-2.x/trunk/samples/helloworld-ws-sdo/pom.xml
    tuscany/sca-java-2.x/trunk/samples/helloworld-ws-sdo/src/main/resources/META-INF/sca-contribution.xml

Modified: tuscany/sca-java-2.x/trunk/samples/helloworld-ws-sdo/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/helloworld-ws-sdo/pom.xml?rev=948739&r1=948738&r2=948739&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/helloworld-ws-sdo/pom.xml (original)
+++ tuscany/sca-java-2.x/trunk/samples/helloworld-ws-sdo/pom.xml Thu May 27 08:57:43 2010
@@ -101,7 +101,23 @@
 
     <build>
         <finalName>${artifactId}</finalName>
+
+
         <plugins>
+
+            <plugin>
+               <groupId>org.apache.tuscany.maven.plugins</groupId>
+               <artifactId>maven-tuscany-plugin</artifactId>
+               <version>2.0-SNAPSHOT</version>
+               <dependencies>
+                  <dependency>
+                     <groupId>org.apache.tuscany.sca</groupId>
+                     <artifactId>tuscany-databinding-sdo</artifactId>
+                     <version>2.0-SNAPSHOT</version>
+                  </dependency>
+               </dependencies>
+            </plugin>
+
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>build-helper-maven-plugin</artifactId>

Modified: tuscany/sca-java-2.x/trunk/samples/helloworld-ws-sdo/src/main/resources/META-INF/sca-contribution.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/helloworld-ws-sdo/src/main/resources/META-INF/sca-contribution.xml?rev=948739&r1=948738&r2=948739&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/helloworld-ws-sdo/src/main/resources/META-INF/sca-contribution.xml (original)
+++ tuscany/sca-java-2.x/trunk/samples/helloworld-ws-sdo/src/main/resources/META-INF/sca-contribution.xml Thu May 27 08:57:43 2010
@@ -18,8 +18,11 @@
  * under the License.
 -->
 <contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+  xmlns:hw="http://helloworld"
   xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1">
   
+  <deployable composite="hw:helloworldws"/>
+
   <tuscany:sdo.types namespace="http://helloworld" location="wsdl/helloworld.wsdl"/>
   
 </contribution>