You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by na...@apache.org on 2010/10/25 13:49:35 UTC

svn commit: r1027076 - /tuscany/sca-java-1.x/trunk/samples/domain-management/pom.xml

Author: nash
Date: Mon Oct 25 11:49:35 2010
New Revision: 1027076

URL: http://svn.apache.org/viewvc?rev=1027076&view=rev
Log:
Merge r1000564 TUSCANY-3684: Generate working build.xml file using new configuration options in tuscany-maven-ant-generator

Modified:
    tuscany/sca-java-1.x/trunk/samples/domain-management/pom.xml

Modified: tuscany/sca-java-1.x/trunk/samples/domain-management/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/samples/domain-management/pom.xml?rev=1027076&r1=1027075&r2=1027076&view=diff
==============================================================================
--- tuscany/sca-java-1.x/trunk/samples/domain-management/pom.xml (original)
+++ tuscany/sca-java-1.x/trunk/samples/domain-management/pom.xml Mon Oct 25 11:49:35 2010
@@ -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>