summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/branches
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-09-23 18:19:50 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-09-23 18:19:50 +0000
commit3821341cff4577890f2c2cb24be591815ee29cc5 (patch)
treee6f333f4c8e168a5b1a21d810951b74c07806916 /sca-java-1.x/branches
parentc475f5a7140bf7619084013a6ef599abbc50120d (diff)
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@1000564 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/branches')
-rw-r--r--sca-java-1.x/branches/sca-java-1.6.1/samples/domain-management/pom.xml49
1 files changed, 36 insertions, 13 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/samples/domain-management/pom.xml b/sca-java-1.x/branches/sca-java-1.6.1/samples/domain-management/pom.xml
index 1a0e6bd835..6b62aee9a1 100644
--- a/sca-java-1.x/branches/sca-java-1.6.1/samples/domain-management/pom.xml
+++ b/sca-java-1.x/branches/sca-java-1.6.1/samples/domain-management/pom.xml
@@ -124,49 +124,42 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution-java</artifactId>
<version>1.6.1-SNAPSHOT</version>
- <scope>test</scope>
+ <scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution-namespace</artifactId>
<version>1.6.1-SNAPSHOT</version>
- <scope>test</scope>
+ <scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution-resource</artifactId>
<version>1.6.1-SNAPSHOT</version>
- <scope>test</scope>
+ <scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-xml</artifactId>
<version>1.6.1-SNAPSHOT</version>
- <scope>test</scope>
+ <scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java-xml</artifactId>
<version>1.6.1-SNAPSHOT</version>
- <scope>test</scope>
+ <scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-data-api</artifactId>
<version>1.6.1-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>