summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/samples
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-10-25 11:49:35 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-10-25 11:49:35 +0000
commitde48a5f2cc1f020022e494df4bcd498e53b655eb (patch)
tree08349f6fb554d706bbee17b8cdcd59d91737b30e /sca-java-1.x/trunk/samples
parentcbfa6263f981793d42c66cea8c957580798197a0 (diff)
Merge r1000564 TUSCANY-3684: Generate working build.xml file using new configuration options in tuscany-maven-ant-generator
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1027076 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk/samples')
-rw-r--r--sca-java-1.x/trunk/samples/domain-management/pom.xml49
1 files changed, 36 insertions, 13 deletions
diff --git a/sca-java-1.x/trunk/samples/domain-management/pom.xml b/sca-java-1.x/trunk/samples/domain-management/pom.xml
index bf5055ad87..03ee04c67d 100644
--- a/sca-java-1.x/trunk/samples/domain-management/pom.xml
+++ b/sca-java-1.x/trunk/samples/domain-management/pom.xml
@@ -124,49 +124,42 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution-java</artifactId>
<version>1.7-SNAPSHOT</version>
- <scope>test</scope>
+ <scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution-namespace</artifactId>
<version>1.7-SNAPSHOT</version>
- <scope>test</scope>
+ <scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution-resource</artifactId>
<version>1.7-SNAPSHOT</version>
- <scope>test</scope>
+ <scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-xml</artifactId>
<version>1.7-SNAPSHOT</version>
- <scope>test</scope>
+ <scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java-xml</artifactId>
<version>1.7-SNAPSHOT</version>
- <scope>test</scope>
+ <scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-data-api</artifactId>
<version>1.7-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.5</version>
- <scope>test</scope>
+ <scope>runtime</scope>
</dependency>
</dependencies>
@@ -183,6 +176,36 @@
<goals>
<goal>generate</goal>
</goals>
+ <configuration>
+ <testSource>true</testSource>
+ <jarFiles>
+ <jarFile>
+ <destfile>target/sample-domain-management-assets.jar</destfile>
+ <filesets>
+ <fileset>dir="target/test-classes/assets"</fileset>
+ <fileset>dir="target/test-classes" includes="services/**"</fileset>
+ </filesets>
+ </jarFile>
+ <jarFile>
+ <destfile>target/sample-domain-management-client.jar</destfile>
+ <filesets>
+ <fileset>dir="target/test-classes/client"</fileset>
+ </filesets>
+ </jarFile>
+ <jarFile>
+ <destfile>target/sample-domain-management-store.jar</destfile>
+ <filesets>
+ <fileset>dir="target/test-classes/store"</fileset>
+ </filesets>
+ </jarFile>
+ </jarFiles>
+ <runTargets>
+ <runListDeployables>manager.ListDeployables</runListDeployables>
+ <runListDependencies>manager.ListDependencies</runListDependencies>
+ <runWireComponents>manager.WireComponents</runWireComponents>
+ <runListComponents>manager.ListComponents</runListComponents>
+ </runTargets>
+ </configuration>
</execution>
</executions>
</plugin>