tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r534106 - in /incubator/tuscany/java/sca/samples: ./ bigbank/ binding-echo/ calculator-rmi-reference/ calculator-rmi-service/ calculator/ das-service/ databinding-echo/ helloworld-ws/ helloworld-wsclient/ implementation-composite/ implement...
Date Tue, 01 May 2007 14:38:04 GMT
Author: antelder
Date: Tue May  1 07:38:02 2007
New Revision: 534106

URL: http://svn.apache.org/viewvc?view=rev&rev=534106
Log:
Change all the samples to use the top-level SCA pom and to include the Incubator repo. This
is an attempt to have the samples run by just doing a mvn in the individual sample directory
without having first run mvn in the sample parent folder or doing a local SCA build. Still
not sure if this is perfect so if anyone has a better way to set this up...

Modified:
    incubator/tuscany/java/sca/samples/bigbank/pom.xml
    incubator/tuscany/java/sca/samples/binding-echo/pom.xml
    incubator/tuscany/java/sca/samples/calculator-rmi-reference/pom.xml
    incubator/tuscany/java/sca/samples/calculator-rmi-service/pom.xml
    incubator/tuscany/java/sca/samples/calculator/pom.xml
    incubator/tuscany/java/sca/samples/das-service/pom.xml
    incubator/tuscany/java/sca/samples/databinding-echo/pom.xml
    incubator/tuscany/java/sca/samples/helloworld-ws/pom.xml
    incubator/tuscany/java/sca/samples/helloworld-wsclient/pom.xml
    incubator/tuscany/java/sca/samples/implementation-composite/pom.xml
    incubator/tuscany/java/sca/samples/implementation-crud/pom.xml
    incubator/tuscany/java/sca/samples/loanapplication/pom.xml
    incubator/tuscany/java/sca/samples/pom.xml
    incubator/tuscany/java/sca/samples/simple-bigbank/pom.xml
    incubator/tuscany/java/sca/samples/simple-callback/pom.xml
    incubator/tuscany/java/sca/samples/supplychain/pom.xml

Modified: incubator/tuscany/java/sca/samples/bigbank/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/bigbank/pom.xml?view=diff&rev=534106&r1=534105&r2=534106
==============================================================================
--- incubator/tuscany/java/sca/samples/bigbank/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/bigbank/pom.xml Tue May  1 07:38:02 2007
@@ -20,14 +20,22 @@
 <project>
     <parent>
         <groupId>org.apache.tuscany.sampleapps</groupId>
-        <artifactId>tuscany-sampleapps</artifactId>
+        <artifactId>tuscany-sca</artifactId>
         <version>0.1-integration-incubating-SNAPSHOT</version>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.tuscany.samples.bigbank</groupId>
     <artifactId>bigbank-scenario</artifactId>
     <packaging>pom</packaging>
     <name>Tuscany BigBank Scenario Sample</name>
+
+    <repositories>
+       <repository>
+          <id>apache.incubator</id>
+          <url>http://people.apache.org/repo/m2-incubating-repository</url>
+       </repository>
+    </repositories>
 
     <modules>
         <module>account</module>

Modified: incubator/tuscany/java/sca/samples/binding-echo/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/binding-echo/pom.xml?view=diff&rev=534106&r1=534105&r2=534106
==============================================================================
--- incubator/tuscany/java/sca/samples/binding-echo/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/binding-echo/pom.xml Tue May  1 07:38:02 2007
@@ -21,13 +21,20 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.tuscany.sca</groupId>
-        <artifactId>tuscany-samples</artifactId>
+        <artifactId>tuscany-sca</artifactId>
         <version>1.0-incubating-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>sample-binding-echo</artifactId>
     <name>Apache Tuscany Echo Binding Sample</name>
 
+    <repositories>
+       <repository>
+          <id>apache.incubator</id>
+          <url>http://people.apache.org/repo/m2-incubating-repository</url>
+       </repository>
+    </repositories>
+
     <dependencies>
         <dependency>
             <groupId>org.osoa</groupId>
@@ -59,6 +66,14 @@
             <version>1.0-incubating-SNAPSHOT</version>
             <scope>runtime</scope>
         </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.2</version>
+            <scope>test</scope>
+        </dependency>
+
     </dependencies>
 
     <build>

Modified: incubator/tuscany/java/sca/samples/calculator-rmi-reference/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-rmi-reference/pom.xml?view=diff&rev=534106&r1=534105&r2=534106
==============================================================================
--- incubator/tuscany/java/sca/samples/calculator-rmi-reference/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/calculator-rmi-reference/pom.xml Tue May  1 07:38:02
2007
@@ -21,12 +21,21 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.tuscany.sca</groupId>
-        <artifactId>tuscany-samples</artifactId>
+        <artifactId>tuscany-sca</artifactId>
         <version>1.0-incubating-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>sample-calculator-rmi-reference</artifactId>
-    <name>Apache Tuscany Calculator Sample using an RMI Service Reference</name>
<dependencies>
+    <name>Apache Tuscany Calculator Sample using an RMI Service Reference</name>
+
+    <repositories>
+       <repository>
+          <id>apache.incubator</id>
+          <url>http://people.apache.org/repo/m2-incubating-repository</url>
+       </repository>
+    </repositories>
+
+    <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
             <artifactId>tuscany-host-embedded</artifactId>

Modified: incubator/tuscany/java/sca/samples/calculator-rmi-service/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-rmi-service/pom.xml?view=diff&rev=534106&r1=534105&r2=534106
==============================================================================
--- incubator/tuscany/java/sca/samples/calculator-rmi-service/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/calculator-rmi-service/pom.xml Tue May  1 07:38:02
2007
@@ -21,12 +21,20 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.tuscany.sca</groupId>
-        <artifactId>tuscany-samples</artifactId>
+        <artifactId>tuscany-sca</artifactId>
         <version>1.0-incubating-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>sample-calculator-rmi-server</artifactId>
     <name>Apache Tuscany Calculator Sample exposing as RMI Service</name>
+
+    <repositories>
+       <repository>
+          <id>apache.incubator</id>
+          <url>http://people.apache.org/repo/m2-incubating-repository</url>
+       </repository>
+    </repositories>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
@@ -44,6 +52,12 @@
             <artifactId>tuscany-binding-rmi</artifactId>
             <version>1.0-incubating-SNAPSHOT</version>
             <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.2</version>
+            <scope>test</scope>
         </dependency>
     </dependencies>
 

Modified: incubator/tuscany/java/sca/samples/calculator/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator/pom.xml?view=diff&rev=534106&r1=534105&r2=534106
==============================================================================
--- incubator/tuscany/java/sca/samples/calculator/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/calculator/pom.xml Tue May  1 07:38:02 2007
@@ -21,13 +21,20 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.tuscany.sca</groupId>
-        <artifactId>tuscany-samples</artifactId>
+        <artifactId>tuscany-sca</artifactId>
         <version>1.0-incubating-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>sample-calculator</artifactId>
     <name>Apache Tuscany Calculator Sample</name>
 
+    <repositories>
+       <repository>
+          <id>apache.incubator</id>
+          <url>http://people.apache.org/repo/m2-incubating-repository</url>
+       </repository>
+    </repositories>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
@@ -41,6 +48,14 @@
             <version>1.0-incubating-SNAPSHOT</version>
             <scope>runtime</scope>
         </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.2</version>
+            <scope>test</scope>
+        </dependency>
+
     </dependencies>
 
     <build>

Modified: incubator/tuscany/java/sca/samples/das-service/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/das-service/pom.xml?view=diff&rev=534106&r1=534105&r2=534106
==============================================================================
--- incubator/tuscany/java/sca/samples/das-service/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/das-service/pom.xml Tue May  1 07:38:02 2007
@@ -21,14 +21,21 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.tuscany.sca</groupId>
-        <artifactId>tuscany-samples</artifactId>
+        <artifactId>tuscany-sca</artifactId>
         <version>1.0-incubating-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>tuscany-samples-das-service</artifactId>
     <name>Apache Tuscany DAS Pojo Service Sample</name>
     <packaging>pom</packaging>
     
+    <repositories>
+       <repository>
+          <id>apache.incubator</id>
+          <url>http://people.apache.org/repo/m2-incubating-repository</url>
+       </repository>
+    </repositories>
+
     <modules>
         <module>service</module>
         <module>webclient</module>

Modified: incubator/tuscany/java/sca/samples/databinding-echo/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/databinding-echo/pom.xml?view=diff&rev=534106&r1=534105&r2=534106
==============================================================================
--- incubator/tuscany/java/sca/samples/databinding-echo/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/databinding-echo/pom.xml Tue May  1 07:38:02 2007
@@ -21,13 +21,20 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.tuscany.sca</groupId>
-        <artifactId>tuscany-samples</artifactId>
+        <artifactId>tuscany-sca</artifactId>
         <version>1.0-incubating-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
 
     <artifactId>sample-databinding-echo</artifactId>
     <name>Apache Tuscany Echo Data Binding Sample</name>    
+
+    <repositories>
+       <repository>
+          <id>apache.incubator</id>
+          <url>http://people.apache.org/repo/m2-incubating-repository</url>
+       </repository>
+    </repositories>
 
     <dependencies>
     

Modified: incubator/tuscany/java/sca/samples/helloworld-ws/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-ws/pom.xml?view=diff&rev=534106&r1=534105&r2=534106
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-ws/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/helloworld-ws/pom.xml Tue May  1 07:38:02 2007
@@ -23,11 +23,18 @@
         <groupId>org.apache.tuscany.sca</groupId>
         <artifactId>tuscany-samples</artifactId>
         <version>1.0-incubating-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>tuscany-sample-helloworld-ws</artifactId>
     <name>Apache Tuscany HelloWorld Web Service Sample</name>
 
+    <repositories>
+       <repository>
+          <id>apache.incubator</id>
+          <url>http://people.apache.org/repo/m2-incubating-repository</url>
+       </repository>
+    </repositories>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
@@ -55,6 +62,14 @@
             <version>1.0-incubating-SNAPSHOT</version>
             <scope>runtime</scope>
         </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.2</version>
+            <scope>test</scope>
+        </dependency>
+
     </dependencies>
     
     <build>

Modified: incubator/tuscany/java/sca/samples/helloworld-wsclient/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-wsclient/pom.xml?view=diff&rev=534106&r1=534105&r2=534106
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-wsclient/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/helloworld-wsclient/pom.xml Tue May  1 07:38:02 2007
@@ -21,13 +21,20 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.tuscany.sca</groupId>
-        <artifactId>tuscany-samples</artifactId>
+        <artifactId>tuscany-sca</artifactId>
         <version>1.0-incubating-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>sample-helloworld-wsclient</artifactId>
     <name>Apache Tuscany HelloWorld Web Service Client Sample</name>
 
+    <repositories>
+       <repository>
+          <id>apache.incubator</id>
+          <url>http://people.apache.org/repo/m2-incubating-repository</url>
+       </repository>
+    </repositories>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
@@ -55,6 +62,14 @@
             <version>1.0-incubating-SNAPSHOT</version>
             <scope>test</scope>
         </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.2</version>
+            <scope>test</scope>
+        </dependency>
+
     </dependencies>
     
     <build>

Modified: incubator/tuscany/java/sca/samples/implementation-composite/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/implementation-composite/pom.xml?view=diff&rev=534106&r1=534105&r2=534106
==============================================================================
--- incubator/tuscany/java/sca/samples/implementation-composite/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/implementation-composite/pom.xml Tue May  1 07:38:02
2007
@@ -21,14 +21,21 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.tuscany.sca</groupId>
-        <artifactId>tuscany-samples</artifactId>
+        <artifactId>tuscany-sca</artifactId>
         <version>1.0-incubating-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>sample-implementation-composite</artifactId>
     <name>Apache Tuscany Composite Implementation Sample</name>
     <description>A sample showing local wiring of a component implemented by a nested
composite</description>
 
+    <repositories>
+       <repository>
+          <id>apache.incubator</id>
+          <url>http://people.apache.org/repo/m2-incubating-repository</url>
+       </repository>
+    </repositories>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
@@ -42,6 +49,14 @@
             <version>1.0-incubating-SNAPSHOT</version>
             <scope>runtime</scope>
         </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.2</version>
+            <scope>test</scope>
+        </dependency>
+
     </dependencies>
 
     <build>

Modified: incubator/tuscany/java/sca/samples/implementation-crud/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/implementation-crud/pom.xml?view=diff&rev=534106&r1=534105&r2=534106
==============================================================================
--- incubator/tuscany/java/sca/samples/implementation-crud/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/implementation-crud/pom.xml Tue May  1 07:38:02 2007
@@ -21,13 +21,20 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.tuscany.sca</groupId>
-        <artifactId>tuscany-samples</artifactId>
+        <artifactId>tuscany-sca</artifactId>
         <version>1.0-incubating-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>sample-implementation-crud</artifactId>
     <name>Apache Tuscany CRUD Implementation Extension Sample</name>
 
+    <repositories>
+       <repository>
+          <id>apache.incubator</id>
+          <url>http://people.apache.org/repo/m2-incubating-repository</url>
+       </repository>
+    </repositories>
+
     <dependencies>
         <dependency>
             <groupId>org.osoa</groupId>
@@ -39,6 +46,13 @@
             <groupId>org.apache.tuscany.sca</groupId>
             <artifactId>tuscany-host-embedded</artifactId>
             <version>1.0-incubating-SNAPSHOT</version>
+        </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.2</version>
+            <scope>test</scope>
         </dependency>
 
     </dependencies>

Modified: incubator/tuscany/java/sca/samples/loanapplication/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/loanapplication/pom.xml?view=diff&rev=534106&r1=534105&r2=534106
==============================================================================
--- incubator/tuscany/java/sca/samples/loanapplication/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/loanapplication/pom.xml Tue May  1 07:38:02 2007
@@ -21,13 +21,20 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.tuscany.sca</groupId>
-        <artifactId>tuscany-samples</artifactId>
+        <artifactId>tuscany-sca</artifactId>
         <version>1.0-incubating-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>sample-loanapplication</artifactId>
     <name>Apache Tuscany Loan Application Conversation Sample</name>
 
+    <repositories>
+       <repository>
+          <id>apache.incubator</id>
+          <url>http://people.apache.org/repo/m2-incubating-repository</url>
+       </repository>
+    </repositories>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
@@ -41,6 +48,14 @@
             <version>1.0-incubating-SNAPSHOT</version>
             <scope>runtime</scope>
         </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.2</version>
+            <scope>test</scope>
+        </dependency>
+
     </dependencies>
 
     <build>

Modified: incubator/tuscany/java/sca/samples/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/pom.xml?view=diff&rev=534106&r1=534105&r2=534106
==============================================================================
--- incubator/tuscany/java/sca/samples/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/pom.xml Tue May  1 07:38:02 2007
@@ -56,21 +56,5 @@
         </profile>
 
     </profiles>
-
-    <dependencies>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.2</version>
-            <scope>test</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.easymock</groupId>
-            <artifactId>easymock</artifactId>
-            <version>2.2</version>
-            <scope>test</scope>
-        </dependency>        
-    </dependencies>
     
 </project>

Modified: incubator/tuscany/java/sca/samples/simple-bigbank/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/simple-bigbank/pom.xml?view=diff&rev=534106&r1=534105&r2=534106
==============================================================================
--- incubator/tuscany/java/sca/samples/simple-bigbank/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/simple-bigbank/pom.xml Tue May  1 07:38:02 2007
@@ -21,13 +21,20 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.tuscany.sca</groupId>
-        <artifactId>tuscany-samples</artifactId>
+        <artifactId>tuscany-sca</artifactId>
         <version>1.0-incubating-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>sample-simple-bigbank</artifactId>
     <name>Apache Tuscany Simplified BigBank Sample</name>
 
+    <repositories>
+       <repository>
+          <id>apache.incubator</id>
+          <url>http://people.apache.org/repo/m2-incubating-repository</url>
+       </repository>
+    </repositories>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
@@ -48,6 +55,13 @@
             <version>1.0-incubating-SNAPSHOT</version>
         </dependency>
                 
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.2</version>
+            <scope>test</scope>
+        </dependency>
+
     </dependencies>
 
     <build>

Modified: incubator/tuscany/java/sca/samples/simple-callback/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/simple-callback/pom.xml?view=diff&rev=534106&r1=534105&r2=534106
==============================================================================
--- incubator/tuscany/java/sca/samples/simple-callback/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/simple-callback/pom.xml Tue May  1 07:38:02 2007
@@ -21,13 +21,20 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.tuscany.sca</groupId>
-        <artifactId>tuscany-samples</artifactId>
+        <artifactId>tuscany-sca</artifactId>
         <version>1.0-incubating-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>sample-simple-callback</artifactId>
     <name>Apache Tuscany Simple Callback Sample</name>
 
+    <repositories>
+       <repository>
+          <id>apache.incubator</id>
+          <url>http://people.apache.org/repo/m2-incubating-repository</url>
+       </repository>
+    </repositories>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
@@ -41,6 +48,14 @@
             <version>1.0-incubating-SNAPSHOT</version>
             <scope>runtime</scope>
         </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.2</version>
+            <scope>test</scope>
+        </dependency>
+
     </dependencies>
 
     <build>

Modified: incubator/tuscany/java/sca/samples/supplychain/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/supplychain/pom.xml?view=diff&rev=534106&r1=534105&r2=534106
==============================================================================
--- incubator/tuscany/java/sca/samples/supplychain/pom.xml (original)
+++ incubator/tuscany/java/sca/samples/supplychain/pom.xml Tue May  1 07:38:02 2007
@@ -21,13 +21,20 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.tuscany.sca</groupId>
-        <artifactId>tuscany-samples</artifactId>
+        <artifactId>tuscany-sca</artifactId>
         <version>1.0-incubating-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>sample-supplychain</artifactId>
     <name>Apache Tuscany Supply Chain Sample</name>
 
+    <repositories>
+       <repository>
+          <id>apache.incubator</id>
+          <url>http://people.apache.org/repo/m2-incubating-repository</url>
+       </repository>
+    </repositories>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
@@ -41,6 +48,14 @@
             <version>1.0-incubating-SNAPSHOT</version>
             <scope>runtime</scope>
         </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.2</version>
+            <scope>test</scope>
+        </dependency>
+
     </dependencies>
 
     <build>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message