summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-05-27 08:57:43 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-05-27 08:57:43 +0000
commit97a5738e72658f6b1778ab9489f8ab2767e4df8c (patch)
treea57e59b051d75df19514f87721c55eb1df0ed58b /sca-java-2.x/trunk/samples
parentf234870f5d1bb4d91496a2a4d9fe6cfd7230b5bb (diff)
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
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@948739 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/samples/helloworld-ws-sdo/pom.xml16
-rw-r--r--sca-java-2.x/trunk/samples/helloworld-ws-sdo/src/main/resources/META-INF/sca-contribution.xml3
2 files changed, 19 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/samples/helloworld-ws-sdo/pom.xml b/sca-java-2.x/trunk/samples/helloworld-ws-sdo/pom.xml
index 747ed7909a..5b389b8b0c 100644
--- a/sca-java-2.x/trunk/samples/helloworld-ws-sdo/pom.xml
+++ b/sca-java-2.x/trunk/samples/helloworld-ws-sdo/pom.xml
@@ -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>
diff --git a/sca-java-2.x/trunk/samples/helloworld-ws-sdo/src/main/resources/META-INF/sca-contribution.xml b/sca-java-2.x/trunk/samples/helloworld-ws-sdo/src/main/resources/META-INF/sca-contribution.xml
index 37bec08fe8..f8b2a60f6a 100644
--- a/sca-java-2.x/trunk/samples/helloworld-ws-sdo/src/main/resources/META-INF/sca-contribution.xml
+++ b/sca-java-2.x/trunk/samples/helloworld-ws-sdo/src/main/resources/META-INF/sca-contribution.xml
@@ -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>