summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-11-09 10:28:52 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-11-09 10:28:52 +0000
commitdc7accced99cd260d485df939859b4086cde5f2e (patch)
tree9bf8fc554d8072cf3bd9045ce1e7d5ea5e1d825c /sca-java-2.x/trunk/testing
parent54236e269c693902a36bad7c9ba52f906250b4c2 (diff)
TUSCANY-3727 - fix binding-ws which jars so that it doesn't have base Tuscany jars. So we have binding-rmi and binding-ws as examples now. It this works we'll fix the rest for the next release. Also, for compliance tests, ensure that the phase of the unpack allows the local error message file to take precedence
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1032909 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing')
-rw-r--r--sca-java-2.x/trunk/testing/compliance-tests/assembly/pom.xml7
-rw-r--r--sca-java-2.x/trunk/testing/compliance-tests/binding-jms/pom.xml12
-rw-r--r--sca-java-2.x/trunk/testing/compliance-tests/binding-ws/pom.xml9
-rw-r--r--sca-java-2.x/trunk/testing/compliance-tests/java-caa/pom.xml9
-rw-r--r--sca-java-2.x/trunk/testing/compliance-tests/java-ci/pom.xml9
-rw-r--r--sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml9
-rw-r--r--sca-java-2.x/trunk/testing/itest/callback-two-composites/pom.xml20
-rw-r--r--sca-java-2.x/trunk/testing/itest/callback-two-nodes/pom.xml20
-rw-r--r--sca-java-2.x/trunk/testing/itest/databindings/jaxb-bottom-up/pom.xml47
-rw-r--r--sca-java-2.x/trunk/testing/itest/databindings/jaxb-top-down/pom.xml44
-rw-r--r--sca-java-2.x/trunk/testing/itest/oneway/pom.xml26
-rw-r--r--sca-java-2.x/trunk/testing/itest/service-reference/pom.xml17
12 files changed, 109 insertions, 120 deletions
diff --git a/sca-java-2.x/trunk/testing/compliance-tests/assembly/pom.xml b/sca-java-2.x/trunk/testing/compliance-tests/assembly/pom.xml
index 816ac32cfa..a332d488d9 100644
--- a/sca-java-2.x/trunk/testing/compliance-tests/assembly/pom.xml
+++ b/sca-java-2.x/trunk/testing/compliance-tests/assembly/pom.xml
@@ -40,6 +40,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-core-runtime-pom</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ <type>pom</type>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<version>2.0-SNAPSHOT</version>
<type>pom</type>
diff --git a/sca-java-2.x/trunk/testing/compliance-tests/binding-jms/pom.xml b/sca-java-2.x/trunk/testing/compliance-tests/binding-jms/pom.xml
index 6413eecc66..2cc7f67495 100644
--- a/sca-java-2.x/trunk/testing/compliance-tests/binding-jms/pom.xml
+++ b/sca-java-2.x/trunk/testing/compliance-tests/binding-jms/pom.xml
@@ -40,8 +40,16 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-base-runtime</artifactId>
+ <artifactId>tuscany-core-runtime-pom</artifactId>
<version>2.0-SNAPSHOT</version>
+ <type>pom</type>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-base-runtime-pom</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ <type>pom</type>
</dependency>
<dependency>
@@ -100,7 +108,7 @@
<executions>
<execution>
<id>unpack</id>
- <phase>test-compile</phase>
+ <phase>process-classes</phase>
<goals>
<goal>unpack</goal>
</goals>
diff --git a/sca-java-2.x/trunk/testing/compliance-tests/binding-ws/pom.xml b/sca-java-2.x/trunk/testing/compliance-tests/binding-ws/pom.xml
index 79cf97383b..869b5c93e0 100644
--- a/sca-java-2.x/trunk/testing/compliance-tests/binding-ws/pom.xml
+++ b/sca-java-2.x/trunk/testing/compliance-tests/binding-ws/pom.xml
@@ -40,6 +40,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-core-runtime-pom</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ <type>pom</type>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<version>2.0-SNAPSHOT</version>
<type>pom</type>
@@ -113,7 +120,7 @@
<executions>
<execution>
<id>unpack</id>
- <phase>test-compile</phase>
+ <phase>process-classes</phase>
<goals>
<goal>unpack</goal>
</goals>
diff --git a/sca-java-2.x/trunk/testing/compliance-tests/java-caa/pom.xml b/sca-java-2.x/trunk/testing/compliance-tests/java-caa/pom.xml
index c2d1b610a4..9bea580918 100644
--- a/sca-java-2.x/trunk/testing/compliance-tests/java-caa/pom.xml
+++ b/sca-java-2.x/trunk/testing/compliance-tests/java-caa/pom.xml
@@ -40,6 +40,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-core-runtime-pom</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ <type>pom</type>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<version>2.0-SNAPSHOT</version>
<type>pom</type>
@@ -110,7 +117,7 @@
<executions>
<execution>
<id>unpack</id>
- <phase>process-test-resources</phase>
+ <phase>process-classes</phase>
<goals>
<goal>unpack</goal>
</goals>
diff --git a/sca-java-2.x/trunk/testing/compliance-tests/java-ci/pom.xml b/sca-java-2.x/trunk/testing/compliance-tests/java-ci/pom.xml
index 796a0a0df0..3459117d57 100644
--- a/sca-java-2.x/trunk/testing/compliance-tests/java-ci/pom.xml
+++ b/sca-java-2.x/trunk/testing/compliance-tests/java-ci/pom.xml
@@ -40,6 +40,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-core-runtime-pom</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ <type>pom</type>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<version>2.0-SNAPSHOT</version>
<type>pom</type>
@@ -107,7 +114,7 @@
<executions>
<execution>
<id>unpack</id>
- <phase>test-compile</phase>
+ <phase>process-classes</phase>
<goals>
<goal>unpack</goal>
</goals>
diff --git a/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml b/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml
index 1801ed7b29..cb86dc1b6d 100644
--- a/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml
+++ b/sca-java-2.x/trunk/testing/compliance-tests/policy/pom.xml
@@ -40,6 +40,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-core-runtime-pom</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ <type>pom</type>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<version>2.0-SNAPSHOT</version>
<type>pom</type>
@@ -112,7 +119,7 @@
<executions>
<execution>
<id>unpack</id>
- <phase>test-compile</phase>
+ <phase>process-classes</phase>
<goals>
<goal>unpack</goal>
</goals>
diff --git a/sca-java-2.x/trunk/testing/itest/callback-two-composites/pom.xml b/sca-java-2.x/trunk/testing/itest/callback-two-composites/pom.xml
index 339b2179a5..f077f6911c 100644
--- a/sca-java-2.x/trunk/testing/itest/callback-two-composites/pom.xml
+++ b/sca-java-2.x/trunk/testing/itest/callback-two-composites/pom.xml
@@ -31,21 +31,16 @@
<dependencies>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-api</artifactId>
+ <artifactId>tuscany-core-runtime-pom</artifactId>
<version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>test</scope>
+ <type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-java-runtime</artifactId>
+ <artifactId>tuscany-base-runtime-pom</artifactId>
<version>2.0-SNAPSHOT</version>
+ <type>pom</type>
<scope>test</scope>
</dependency>
@@ -58,13 +53,6 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
<version>2.0-SNAPSHOT</version>
<scope>test</scope>
diff --git a/sca-java-2.x/trunk/testing/itest/callback-two-nodes/pom.xml b/sca-java-2.x/trunk/testing/itest/callback-two-nodes/pom.xml
index 6413273d55..fe09d799c2 100644
--- a/sca-java-2.x/trunk/testing/itest/callback-two-nodes/pom.xml
+++ b/sca-java-2.x/trunk/testing/itest/callback-two-nodes/pom.xml
@@ -31,21 +31,16 @@
<dependencies>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-api</artifactId>
+ <artifactId>tuscany-core-runtime-pom</artifactId>
<version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>test</scope>
+ <type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-java-runtime</artifactId>
+ <artifactId>tuscany-base-runtime-pom</artifactId>
<version>2.0-SNAPSHOT</version>
+ <type>pom</type>
<scope>test</scope>
</dependency>
@@ -58,13 +53,6 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
<version>2.0-SNAPSHOT</version>
<scope>test</scope>
diff --git a/sca-java-2.x/trunk/testing/itest/databindings/jaxb-bottom-up/pom.xml b/sca-java-2.x/trunk/testing/itest/databindings/jaxb-bottom-up/pom.xml
index 669c85ca19..c31c4a5be6 100644
--- a/sca-java-2.x/trunk/testing/itest/databindings/jaxb-bottom-up/pom.xml
+++ b/sca-java-2.x/trunk/testing/itest/databindings/jaxb-bottom-up/pom.xml
@@ -59,62 +59,44 @@
<dependencies>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-api</artifactId>
+ <artifactId>tuscany-core-runtime-pom</artifactId>
<version>${pom.version}</version>
+ <type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-impl</artifactId>
+ <artifactId>tuscany-base-runtime-pom</artifactId>
<version>${pom.version}</version>
+ <type>pom</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
<version>${pom.version}</version>
- <scope>runtime</scope>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-databinding-jaxb</artifactId>
- <version>${pom.version}</version>
- <scope>runtime</scope>
- </dependency>
- <!--dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-databinding-sdo</artifactId>
- <version>${pom.version}</version>
- <scope>compile</scope>
- </dependency-->
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-databinding-axiom</artifactId>
+ <artifactId>tuscany-host-jetty</artifactId>
<version>${pom.version}</version>
- <scope>compile</scope>
+ <scope>test</scope>
</dependency>
- <!--dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>itest-databindings-common</artifactId>
- <version>${pom.version}</version>
- <scope>compile</scope>
- </dependency-->
+
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-java-runtime</artifactId>
+ <artifactId>tuscany-databinding-jaxb</artifactId>
<version>${pom.version}</version>
- <scope>compile</scope>
+ <scope>runtime</scope>
</dependency>
+
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-interface-java</artifactId>
+ <artifactId>tuscany-databinding-axiom</artifactId>
<version>${pom.version}</version>
<scope>compile</scope>
</dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-host-jetty</artifactId>
- <version>${pom.version}</version>
- <scope>runtime</scope>
- </dependency>
+
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
@@ -127,6 +109,7 @@
<artifactId>jaxws-rt</artifactId>
<version>2.1.3</version>
</dependency>
+
<!-- Added by Simon Nash -->
<dependency>
<groupId>commons-collections</groupId>
diff --git a/sca-java-2.x/trunk/testing/itest/databindings/jaxb-top-down/pom.xml b/sca-java-2.x/trunk/testing/itest/databindings/jaxb-top-down/pom.xml
index be9d12f1e2..7d21f02682 100644
--- a/sca-java-2.x/trunk/testing/itest/databindings/jaxb-top-down/pom.xml
+++ b/sca-java-2.x/trunk/testing/itest/databindings/jaxb-top-down/pom.xml
@@ -60,62 +60,50 @@
<dependencies>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-api</artifactId>
+ <artifactId>tuscany-core-runtime-pom</artifactId>
<version>${pom.version}</version>
+ <type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-impl</artifactId>
+ <artifactId>tuscany-base-runtime-pom</artifactId>
<version>${pom.version}</version>
+ <type>pom</type>
+ <scope>test</scope>
</dependency>
+
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
<version>2.0-SNAPSHOT</version>
- <scope>runtime</scope>
+ <scope>test</scope>
</dependency>
+
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-databinding-jaxb</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>runtime</scope>
- </dependency>
- <!--dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-databinding-sdo</artifactId>
+ <artifactId>tuscany-host-jetty</artifactId>
<version>2.0-SNAPSHOT</version>
- <scope>compile</scope>
- </dependency-->
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-databinding-axiom</artifactId>
+ <artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
<version>2.0-SNAPSHOT</version>
- <scope>compile</scope>
+ <scope>runtime</scope>
</dependency>
- <!-- dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>itest-databindings-common</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>compile</scope>
- </dependency -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-java-runtime</artifactId>
+ <artifactId>tuscany-databinding-jaxb</artifactId>
<version>2.0-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-interface-java</artifactId>
+ <artifactId>tuscany-databinding-axiom</artifactId>
<version>2.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>runtime</scope>
- </dependency>
+
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
diff --git a/sca-java-2.x/trunk/testing/itest/oneway/pom.xml b/sca-java-2.x/trunk/testing/itest/oneway/pom.xml
index b0ef9774e7..1d1c63085d 100644
--- a/sca-java-2.x/trunk/testing/itest/oneway/pom.xml
+++ b/sca-java-2.x/trunk/testing/itest/oneway/pom.xml
@@ -30,35 +30,39 @@
<version>2.0-SNAPSHOT</version>
<dependencies>
+ <dependency>
+ <groupId>backport-util-concurrent</groupId>
+ <artifactId>backport-util-concurrent</artifactId>
+ <version>3.1</version>
+ </dependency>
+
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-api</artifactId>
+ <artifactId>tuscany-core-runtime-pom</artifactId>
<version>${pom.version}</version>
+ <type>pom</type>
</dependency>
-
+
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-impl</artifactId>
+ <artifactId>tuscany-base-runtime-pom</artifactId>
<version>${pom.version}</version>
+ <type>pom</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
<version>${pom.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-host-jetty</artifactId>
- <version>${pom.version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-java-runtime</artifactId>
+ <artifactId>tuscany-host-jetty</artifactId>
<version>${pom.version}</version>
- <scope>runtime</scope>
+ <scope>test</scope>
</dependency>
</dependencies>
</project>
diff --git a/sca-java-2.x/trunk/testing/itest/service-reference/pom.xml b/sca-java-2.x/trunk/testing/itest/service-reference/pom.xml
index ffd8d14fe6..a0fe27ebed 100644
--- a/sca-java-2.x/trunk/testing/itest/service-reference/pom.xml
+++ b/sca-java-2.x/trunk/testing/itest/service-reference/pom.xml
@@ -31,30 +31,25 @@
<dependencies>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-api</artifactId>
+ <artifactId>tuscany-core-runtime-pom</artifactId>
<version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>test</scope>
+ <type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-java-runtime</artifactId>
+ <artifactId>tuscany-base-runtime-pom</artifactId>
<version>2.0-SNAPSHOT</version>
+ <type>pom</type>
<scope>test</scope>
</dependency>
-
+
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
<version>2.0-SNAPSHOT</version>
<scope>test</scope>
- </dependency>
+ </dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>