Tag 2.0 Beta2 RC1
git-svn-id: https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/tags/2.0-Beta2-RC1@1062506 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/distribution/aggregations/base-runtime-aggregation/pom.xml b/distribution/aggregations/base-runtime-aggregation/pom.xml
index 8b68f8a..6296eec 100644
--- a/distribution/aggregations/base-runtime-aggregation/pom.xml
+++ b/distribution/aggregations/base-runtime-aggregation/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
diff --git a/distribution/aggregations/base-runtime-nodep/pom.xml b/distribution/aggregations/base-runtime-nodep/pom.xml
index 9c61198..aad3b47 100644
--- a/distribution/aggregations/base-runtime-nodep/pom.xml
+++ b/distribution/aggregations/base-runtime-nodep/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/distribution/aggregations/binding-rmi-runtime-aggregation/pom.xml b/distribution/aggregations/binding-rmi-runtime-aggregation/pom.xml
index 468bee8..e50cab7 100644
--- a/distribution/aggregations/binding-rmi-runtime-aggregation/pom.xml
+++ b/distribution/aggregations/binding-rmi-runtime-aggregation/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
diff --git a/distribution/aggregations/binding-ws-runtime-axis2-aggregation/pom.xml b/distribution/aggregations/binding-ws-runtime-axis2-aggregation/pom.xml
index 33c7466..fffac1a 100644
--- a/distribution/aggregations/binding-ws-runtime-axis2-aggregation/pom.xml
+++ b/distribution/aggregations/binding-ws-runtime-axis2-aggregation/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
diff --git a/distribution/all/pom.xml b/distribution/all/pom.xml
index 97a0e8f..d502d0c 100644
--- a/distribution/all/pom.xml
+++ b/distribution/all/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -38,7 +38,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-all</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- aggregation jars for lib directory -->
@@ -46,19 +46,19 @@
<dependency>
<groupId>org.apache.tuscany.sca.aggregation</groupId>
<artifactId>tuscany-base-runtime-aggregation</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca.aggregation</groupId>
<artifactId>tuscany-binding-rmi-runtime-aggregation</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca.aggregation</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2-aggregation</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
@@ -258,116 +258,116 @@
<feature>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</feature>
</features>
<extensions>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-atom-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-commet-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-corba-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ejb-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-hazelcase-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jms-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonp-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rest-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rmi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rss-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-bpel-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-jaxes-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-osgi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-python-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-script-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-spring-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-web-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-widget-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
<extension>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</extension>
</extensions>
<artifactManifests>
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 151292b..bdba311 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -23,7 +23,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution</artifactId>
diff --git a/distribution/tomcat/pom.xml b/distribution/tomcat/pom.xml
index 7164f45..a4aaf4b 100644
--- a/distribution/tomcat/pom.xml
+++ b/distribution/tomcat/pom.xml
@@ -23,7 +23,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution-tomcat</artifactId>
diff --git a/distribution/tomcat/testing/download-tomcat/pom.xml b/distribution/tomcat/testing/download-tomcat/pom.xml
index 68bb686..f9d27cb 100644
--- a/distribution/tomcat/testing/download-tomcat/pom.xml
+++ b/distribution/tomcat/testing/download-tomcat/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution-tomcat-testing</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/distribution/tomcat/testing/helloworld-client-webapp/pom.xml b/distribution/tomcat/testing/helloworld-client-webapp/pom.xml
index 27816dd..9a29440 100644
--- a/distribution/tomcat/testing/helloworld-client-webapp/pom.xml
+++ b/distribution/tomcat/testing/helloworld-client-webapp/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution-tomcat-testing</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,7 +34,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/distribution/tomcat/testing/helloworld-reference-contribution/pom.xml b/distribution/tomcat/testing/helloworld-reference-contribution/pom.xml
index d1ea28f..1041a90 100644
--- a/distribution/tomcat/testing/helloworld-reference-contribution/pom.xml
+++ b/distribution/tomcat/testing/helloworld-reference-contribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution-tomcat-testing</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
diff --git a/distribution/tomcat/testing/helloworld-scaclient-jsp/pom.xml b/distribution/tomcat/testing/helloworld-scaclient-jsp/pom.xml
index b11a6bb..6e2e7de 100644
--- a/distribution/tomcat/testing/helloworld-scaclient-jsp/pom.xml
+++ b/distribution/tomcat/testing/helloworld-scaclient-jsp/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution-tomcat-testing</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,7 +34,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/distribution/tomcat/testing/helloworld-scaclient-servlet/pom.xml b/distribution/tomcat/testing/helloworld-scaclient-servlet/pom.xml
index d8a4831..96c07bf 100644
--- a/distribution/tomcat/testing/helloworld-scaclient-servlet/pom.xml
+++ b/distribution/tomcat/testing/helloworld-scaclient-servlet/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution-tomcat-testing</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,7 +34,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/distribution/tomcat/testing/helloworld-service-contribution/pom.xml b/distribution/tomcat/testing/helloworld-service-contribution/pom.xml
index 3b43a4f..57da861 100644
--- a/distribution/tomcat/testing/helloworld-service-contribution/pom.xml
+++ b/distribution/tomcat/testing/helloworld-service-contribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution-tomcat-testing</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
diff --git a/distribution/tomcat/testing/legal-checks/pom.xml b/distribution/tomcat/testing/legal-checks/pom.xml
index 96209a1..9bc7c36 100644
--- a/distribution/tomcat/testing/legal-checks/pom.xml
+++ b/distribution/tomcat/testing/legal-checks/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution-tomcat-testing</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>war-legal-checks</artifactId>
diff --git a/distribution/tomcat/testing/pom.xml b/distribution/tomcat/testing/pom.xml
index d77f0e8..c116370 100644
--- a/distribution/tomcat/testing/pom.xml
+++ b/distribution/tomcat/testing/pom.xml
@@ -23,7 +23,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution-tomcat</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution-tomcat-testing</artifactId>
diff --git a/distribution/tomcat/tomcat-hook/pom.xml b/distribution/tomcat/tomcat-hook/pom.xml
index 8b79296..3ba142c 100644
--- a/distribution/tomcat/tomcat-hook/pom.xml
+++ b/distribution/tomcat/tomcat-hook/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/distribution/tomcat/tomcat-servlet/pom.xml b/distribution/tomcat/tomcat-servlet/pom.xml
index 83b68da..fd82653 100644
--- a/distribution/tomcat/tomcat-servlet/pom.xml
+++ b/distribution/tomcat/tomcat-servlet/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,14 +34,14 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-tomcat-hook</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
diff --git a/distribution/tomcat/tomcat-war/pom.xml b/distribution/tomcat/tomcat-war/pom.xml
index 9491507..d5d4544 100644
--- a/distribution/tomcat/tomcat-war/pom.xml
+++ b/distribution/tomcat/tomcat-war/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -39,17 +39,17 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-tomcat-servlet</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-tomcat-hook</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/features/all/pom.xml b/features/all/pom.xml
index 9113d6a..21002e7 100644
--- a/features/all/pom.xml
+++ b/features/all/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -42,75 +42,75 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-api</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-core</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-webservice</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-web20</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-ejava</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-osgi</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-sdo</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-webapp</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-process</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-launcher</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-tracing-aspectj</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
-->
@@ -119,21 +119,21 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-osgi-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- binding extensions -->
@@ -141,83 +141,83 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-atom-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-atom-js-dojo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-comet-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-corba-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ejb-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-http-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<!-- for now til the base contents is sorted -->
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jms-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonp-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonrpc-js-dojo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rest-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rmi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- implementation extensions -->
@@ -225,60 +225,60 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-bpel-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-jaxrs-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-osgi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-python-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-script-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-spring-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-web-client</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-web-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-widget-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-widget-runtime-dojo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- policy extensions -->
@@ -286,13 +286,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-logging</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-transaction-runtime-geronimo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency -->
<!-- databinding extensions -->
@@ -300,13 +300,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-sdo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-sdo-axiom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- host extensions -->
@@ -314,25 +314,25 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-corba-jee</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-corba-jse</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-corba-jse-tns</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- registry extensions -->
@@ -340,13 +340,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-hazelcast</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-endpoint-tribes</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- utilities -->
@@ -354,37 +354,37 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-launcher</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-node</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-myfaces</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-shell</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-stripes</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-tracing-aspectj</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- test dependency of tuscany-tracing-aspectj but previously included in the distro? -->
<dependency>
diff --git a/features/api/pom.xml b/features/api/pom.xml
index 465829c..2e870f2 100644
--- a/features/api/pom.xml
+++ b/features/api/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -36,21 +36,21 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Data Collection API -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-data-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Node API -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/features/core/pom.xml b/features/core/pom.xml
index 79285e4..ff7a87a 100644
--- a/features/core/pom.xml
+++ b/features/core/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,7 +35,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-api</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- SCA API -->
@@ -43,13 +43,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
-->
@@ -57,150 +57,150 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xsd</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Bindings -->
<!--dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-corba-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency-->
<!-- Contribution model -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Core runtime -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Databindings -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-jaxb</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Data API -->
<!--dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-data-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency-->
<!-- Core Extensibility -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-extensibility</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-extensibility-equinox</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Hosts -->
<!--dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-corba-jse</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency-->
<!-- host-http is required by tuscany-implementation-node-runtime -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Implementation types -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Interface models -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java-jaxws</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-wsdl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Node runtime -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-client-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-node</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-launcher</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-launcher-equinox</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!--
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-launcher-webapp</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>war</type>
</dependency>
-->
@@ -209,32 +209,32 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-monitor</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Policy models -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-security</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!--dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-security-jsr250</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency-->
<!-- XMLSchema support -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-xsd</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-shell</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/features/eclipse-pde/pom.xml b/features/eclipse-pde/pom.xml
index 6c10621..050232e 100644
--- a/features/eclipse-pde/pom.xml
+++ b/features/eclipse-pde/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -36,7 +36,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-all</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/features/ejava/pom.xml b/features/ejava/pom.xml
index 7fd3a44..8339c7a 100644
--- a/features/ejava/pom.xml
+++ b/features/ejava/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -37,55 +37,55 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-core</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Bindings -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rmi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!--
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ejb-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jms-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
-->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-corba-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Hosts -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-rmi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-corba-jee</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-corba-jse</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-corba-jse-tns</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
@@ -94,38 +94,38 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-ejb</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
-->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-spring</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-spring-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- OSGi Remote Services SCA Configuration Type -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-osgi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution-osgi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl-osgi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -137,33 +137,33 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-script-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-jaxrs-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Policies -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-transaction</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-transaction-runtime-geronimo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Hazelcast registry -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-hazelcast</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/features/osgi/pom.xml b/features/osgi/pom.xml
index 429b8c6..a090073 100644
--- a/features/osgi/pom.xml
+++ b/features/osgi/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -37,14 +37,14 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-core</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Bindings -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rmi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- WebService -->
@@ -52,14 +52,14 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-webservice</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Hosts -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-rmi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Implementations -->
@@ -68,19 +68,19 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-osgi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution-osgi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl-osgi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -92,7 +92,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-endpoint-tribes</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Policies -->
@@ -100,7 +100,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-transaction</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
-->
</dependencies>
diff --git a/features/pom.xml b/features/pom.xml
index 52dd7ab..db83955 100644
--- a/features/pom.xml
+++ b/features/pom.xml
@@ -23,7 +23,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
<relativePath>../pom.xml</relativePath>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature</artifactId>
diff --git a/features/process/pom.xml b/features/process/pom.xml
index 644f55d..5142a3e 100644
--- a/features/process/pom.xml
+++ b/features/process/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -37,19 +37,19 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-core</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- ODE BPEL -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-bpel</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-bpel-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/features/sdo/pom.xml b/features/sdo/pom.xml
index 843608e..5c9b2a2 100644
--- a/features/sdo/pom.xml
+++ b/features/sdo/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -37,7 +37,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-core</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
@@ -45,12 +45,12 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-sdo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-sdo-axiom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/features/web20/pom.xml b/features/web20/pom.xml
index 84fc503..620101d 100644
--- a/features/web20/pom.xml
+++ b/features/web20/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,105 +35,105 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-api</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Core distribution -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-core</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Common -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-common-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Interface models -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java-jaxrs</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Implementation Types -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-widget-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-widget-runtime-dojo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Bindings -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-atom-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-atom-js-dojo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-http-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rest-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rest-js-dojo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonrpc-js-dojo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Dojo and Dojo Extensions -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-web-javascript-dojo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!--Databindings -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-json</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Hosts -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/features/webapp/pom.xml b/features/webapp/pom.xml
index bc87efd..5f98a07 100644
--- a/features/webapp/pom.xml
+++ b/features/webapp/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,14 +35,14 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-web-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Explicitly list the servlet/jsp apis as "provided" dependencies are not transitive -->
@@ -67,26 +67,26 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-stripes</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-myfaces</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- JSONP Binding material -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonp</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonp-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- end of JSONP Binding -->
diff --git a/features/webservice/pom.xml b/features/webservice/pom.xml
index 0a169ac..e25d036 100644
--- a/features/webservice/pom.xml
+++ b/features/webservice/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -37,19 +37,19 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-core</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Bindings -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<exclusions>
<exclusion>
<groupId>org.apache.ant</groupId>
@@ -80,26 +80,26 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-wsdlgen</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Databindings -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-axiom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-jaxb-axiom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Hosts -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/maven/archetypes/binding/pom.xml b/maven/archetypes/binding/pom.xml
index 7f38f83..2b4b5e7 100644
--- a/maven/archetypes/binding/pom.xml
+++ b/maven/archetypes/binding/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
diff --git a/maven/archetypes/binding/src/main/resources/archetype-resources/pom.xml b/maven/archetypes/binding/src/main/resources/archetype-resources/pom.xml
index 2ed9493..62c8791 100644
--- a/maven/archetypes/binding/src/main/resources/archetype-resources/pom.xml
+++ b/maven/archetypes/binding/src/main/resources/archetype-resources/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -36,14 +36,14 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
@@ -57,28 +57,28 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/maven/archetypes/contribution-jar/pom.xml b/maven/archetypes/contribution-jar/pom.xml
index 0b568cb..df59155 100644
--- a/maven/archetypes/contribution-jar/pom.xml
+++ b/maven/archetypes/contribution-jar/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
diff --git a/maven/archetypes/contribution-zip-discriptor/pom.xml b/maven/archetypes/contribution-zip-discriptor/pom.xml
index c3a1f9b..705bfb0 100644
--- a/maven/archetypes/contribution-zip-discriptor/pom.xml
+++ b/maven/archetypes/contribution-zip-discriptor/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
diff --git a/maven/archetypes/contribution-zip/pom.xml b/maven/archetypes/contribution-zip/pom.xml
index 012bac3..cb8bbb8 100644
--- a/maven/archetypes/contribution-zip/pom.xml
+++ b/maven/archetypes/contribution-zip/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
diff --git a/maven/archetypes/contribution-zip/src/main/resources/archetype-resources/pom.xml b/maven/archetypes/contribution-zip/src/main/resources/archetype-resources/pom.xml
index 873b45e..4094bdc 100644
--- a/maven/archetypes/contribution-zip/src/main/resources/archetype-resources/pom.xml
+++ b/maven/archetypes/contribution-zip/src/main/resources/archetype-resources/pom.xml
@@ -147,7 +147,7 @@
</plugins>
</build>
<properties>
- <tuscany.version>2.0-SNAPSHOT</tuscany.version>
+ <tuscany.version>2.0-Beta2</tuscany.version>
</properties>
#end
</project>
diff --git a/maven/archetypes/pom.xml b/maven/archetypes/pom.xml
index 0fcd66a..ccb9707 100644
--- a/maven/archetypes/pom.xml
+++ b/maven/archetypes/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-archetype</artifactId>
diff --git a/maven/archetypes/quickstart-bpel/pom.xml b/maven/archetypes/quickstart-bpel/pom.xml
index f2821d9..4bb21ab 100644
--- a/maven/archetypes/quickstart-bpel/pom.xml
+++ b/maven/archetypes/quickstart-bpel/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
diff --git a/maven/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml b/maven/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml
index 30be6b6..d823a24 100644
--- a/maven/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml
+++ b/maven/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml
@@ -175,7 +175,7 @@
</plugins>
</build>
<properties>
- <tuscany.version>2.0-SNAPSHOT</tuscany.version>
+ <tuscany.version>2.0-Beta2</tuscany.version>
<jetty.version>6.1.18</jetty.version>
</properties>
#end
diff --git a/maven/archetypes/quickstart-jsf/pom.xml b/maven/archetypes/quickstart-jsf/pom.xml
index 09436e8..873e1f8 100644
--- a/maven/archetypes/quickstart-jsf/pom.xml
+++ b/maven/archetypes/quickstart-jsf/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
diff --git a/maven/archetypes/quickstart-jsf/src/main/resources/archetype-resources/pom.xml b/maven/archetypes/quickstart-jsf/src/main/resources/archetype-resources/pom.xml
index f252e60..600f259 100644
--- a/maven/archetypes/quickstart-jsf/src/main/resources/archetype-resources/pom.xml
+++ b/maven/archetypes/quickstart-jsf/src/main/resources/archetype-resources/pom.xml
@@ -145,7 +145,7 @@
</plugins>
</build>
<properties>
- <tuscany.version>2.0-SNAPSHOT</tuscany.version>
+ <tuscany.version>2.0-Beta2</tuscany.version>
<myfaces.version>1.5</myfaces.version>
<jetty.version>6.1.4</jetty.version>
</properties>
diff --git a/maven/archetypes/quickstart-jsonp/pom.xml b/maven/archetypes/quickstart-jsonp/pom.xml
index e2e101a..a8d8b7c 100644
--- a/maven/archetypes/quickstart-jsonp/pom.xml
+++ b/maven/archetypes/quickstart-jsonp/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
diff --git a/maven/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/pom.xml b/maven/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/pom.xml
index 8fc4bde..6c98769 100644
--- a/maven/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/pom.xml
+++ b/maven/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/pom.xml
@@ -148,7 +148,7 @@
</plugins>
</build>
<properties>
- <tuscany.version>2.0-SNAPSHOT</tuscany.version>
+ <tuscany.version>2.0-Beta2</tuscany.version>
<jetty.version>6.1.18</jetty.version>
</properties>
</project>
diff --git a/maven/archetypes/quickstart-stripes/pom.xml b/maven/archetypes/quickstart-stripes/pom.xml
index 635333e..b3f4e7a 100644
--- a/maven/archetypes/quickstart-stripes/pom.xml
+++ b/maven/archetypes/quickstart-stripes/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
diff --git a/maven/archetypes/quickstart-stripes/src/main/resources/archetype-resources/pom.xml b/maven/archetypes/quickstart-stripes/src/main/resources/archetype-resources/pom.xml
index 312affab..1e6c32e 100644
--- a/maven/archetypes/quickstart-stripes/src/main/resources/archetype-resources/pom.xml
+++ b/maven/archetypes/quickstart-stripes/src/main/resources/archetype-resources/pom.xml
@@ -115,7 +115,7 @@
</plugins>
</build>
<properties>
- <tuscany.version>2.0-SNAPSHOT</tuscany.version>
+ <tuscany.version>2.0-Beta2</tuscany.version>
<stripes.version>1.5.2</stripes.version>
<jetty.version>6.1.4</jetty.version>
</properties>
diff --git a/maven/archetypes/quickstart/pom.xml b/maven/archetypes/quickstart/pom.xml
index 0ad98af..4d83286 100644
--- a/maven/archetypes/quickstart/pom.xml
+++ b/maven/archetypes/quickstart/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
diff --git a/maven/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml b/maven/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml
index bad07a9..22524aa 100644
--- a/maven/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml
+++ b/maven/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml
@@ -137,7 +137,7 @@
</plugins>
</build>
<properties>
- <tuscany.version>2.0-SNAPSHOT</tuscany.version>
+ <tuscany.version>2.0-Beta2</tuscany.version>
<jetty.version>6.1.18</jetty.version>
</properties>
</project>
diff --git a/maven/maven-tuscany-plugin/pom.xml b/maven/maven-tuscany-plugin/pom.xml
index 5a4d890..002ac4b 100644
--- a/maven/maven-tuscany-plugin/pom.xml
+++ b/maven/maven-tuscany-plugin/pom.xml
@@ -23,14 +23,14 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
<relativePath>../../pom.xml</relativePath>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</parent>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
<packaging>maven-plugin</packaging>
<name>Apache Tuscany Maven Tuscany Plugin</name>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<dependencies>
<dependency>
@@ -52,12 +52,12 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-hazelcast</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/assembly-xml/pom.xml b/modules/assembly-xml/pom.xml
index ab5ae2b..ed687c0 100644
--- a/modules/assembly-xml/pom.xml
+++ b/modules/assembly-xml/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-assembly-xml</artifactId>
@@ -32,31 +32,31 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-xsd</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-common-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xsd</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
diff --git a/modules/assembly-xsd/pom.xml b/modules/assembly-xsd/pom.xml
index 8193461..05d34bc 100644
--- a/modules/assembly-xsd/pom.xml
+++ b/modules/assembly-xsd/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-assembly-xsd</artifactId>
diff --git a/modules/assembly/pom.xml b/modules/assembly/pom.xml
index 11fa07c..514d587 100644
--- a/modules/assembly/pom.xml
+++ b/modules/assembly/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-assembly</artifactId>
@@ -33,12 +33,12 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-monitor</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-extensibility</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/base-runtime-pom/pom.xml b/modules/base-runtime-pom/pom.xml
index 9d8839a..3a75541 100644
--- a/modules/base-runtime-pom/pom.xml
+++ b/modules/base-runtime-pom/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/modules/base-runtime/pom.xml b/modules/base-runtime/pom.xml
index f333522..747d66d 100644
--- a/modules/base-runtime/pom.xml
+++ b/modules/base-runtime/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/modules/binding-atom-js-dojo/pom.xml b/modules/binding-atom-js-dojo/pom.xml
index 8c40ca4..dc04f6b 100644
--- a/modules/binding-atom-js-dojo/pom.xml
+++ b/modules/binding-atom-js-dojo/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,13 +33,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-atom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-web-javascript</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/binding-atom-runtime/pom.xml b/modules/binding-atom-runtime/pom.xml
index f582807..f97b9b5 100644
--- a/modules/binding-atom-runtime/pom.xml
+++ b/modules/binding-atom-runtime/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,55 +33,55 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-atom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-wsdl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-data-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-common-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -214,21 +214,21 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/modules/binding-atom/pom.xml b/modules/binding-atom/pom.xml
index 84da39e..19835b2 100644
--- a/modules/binding-atom/pom.xml
+++ b/modules/binding-atom/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,13 +33,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/modules/binding-comet-runtime/pom.xml b/modules/binding-comet-runtime/pom.xml
index 094fd06..8a80ce1 100644
--- a/modules/binding-comet-runtime/pom.xml
+++ b/modules/binding-comet-runtime/pom.xml
@@ -1,86 +1,86 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-comet-runtime</artifactId>
- <name>Apache Tuscany SCA Comet Binding Runtime</name>
- <packaging>jar</packaging>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-base-runtime-pom</artifactId>
- <type>pom</type>
- <version>2.0-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.atmosphere</groupId>
- <artifactId>atmosphere-commons</artifactId>
- <version>0.6.1</version>
- </dependency>
- <dependency>
- <groupId>org.atmosphere</groupId>
- <artifactId>atmosphere-runtime</artifactId>
- <version>0.6.1</version>
- </dependency>
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>1.4</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-servlet_3.0_spec</artifactId>
- <version>1.0</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty</artifactId>
- <version>6.1.19</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
- <repositories>
- <repository>
- <id>gson-googlecode-repository</id>
- <url>http://google-gson.googlecode.com/svn/mavenrepo</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- </releases>
- </repository>
- </repositories>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-modules</artifactId>
+ <version>2.0-Beta2</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-binding-comet-runtime</artifactId>
+ <name>Apache Tuscany SCA Comet Binding Runtime</name>
+ <packaging>jar</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-base-runtime-pom</artifactId>
+ <type>pom</type>
+ <version>2.0-Beta2</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.atmosphere</groupId>
+ <artifactId>atmosphere-commons</artifactId>
+ <version>0.6.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.atmosphere</groupId>
+ <artifactId>atmosphere-runtime</artifactId>
+ <version>0.6.1</version>
+ </dependency>
+ <dependency>
+ <groupId>com.google.code.gson</groupId>
+ <artifactId>gson</artifactId>
+ <version>1.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-servlet_3.0_spec</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty</artifactId>
+ <version>6.1.19</version>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+
+ <repositories>
+ <repository>
+ <id>gson-googlecode-repository</id>
+ <url>http://google-gson.googlecode.com/svn/mavenrepo</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ </repositories>
+
+</project>
diff --git a/modules/binding-comet/pom.xml b/modules/binding-comet/pom.xml
index 3dc84a2..bfe6264 100644
--- a/modules/binding-comet/pom.xml
+++ b/modules/binding-comet/pom.xml
@@ -1,44 +1,44 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-comet</artifactId>
- <packaging>jar</packaging>
- <name>Apache Tuscany SCA Comet Binding Model</name>
-
- <dependencies>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- </dependencies>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-modules</artifactId>
+ <version>2.0-Beta2</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-binding-comet</artifactId>
+ <packaging>jar</packaging>
+ <name>Apache Tuscany SCA Comet Binding Model</name>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-assembly</artifactId>
+ <version>2.0-Beta2</version>
+ </dependency>
+
+ </dependencies>
+
+</project>
diff --git a/modules/binding-corba-runtime/pom.xml b/modules/binding-corba-runtime/pom.xml
index 516eea5..91b44a5 100644
--- a/modules/binding-corba-runtime/pom.xml
+++ b/modules/binding-corba-runtime/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-binding-corba-runtime</artifactId>
@@ -32,25 +32,25 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-corba</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-corba</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-corba-jse</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/modules/binding-corba/pom.xml b/modules/binding-corba/pom.xml
index fd6a3d1..1a50eea 100644
--- a/modules/binding-corba/pom.xml
+++ b/modules/binding-corba/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-binding-corba</artifactId>
@@ -33,19 +33,19 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-corba</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/binding-ejb-runtime/pom.xml b/modules/binding-ejb-runtime/pom.xml
index 1fdfefc..7564efb 100644
--- a/modules/binding-ejb-runtime/pom.xml
+++ b/modules/binding-ejb-runtime/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,13 +34,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ejb</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -72,14 +72,14 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/modules/binding-ejb/pom.xml b/modules/binding-ejb/pom.xml
index 79ce7af..927541c 100644
--- a/modules/binding-ejb/pom.xml
+++ b/modules/binding-ejb/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,19 +34,19 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/binding-http-runtime/pom.xml b/modules/binding-http-runtime/pom.xml
index 9aeb6ce..7353835 100644
--- a/modules/binding-http-runtime/pom.xml
+++ b/modules/binding-http-runtime/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,31 +33,31 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-common-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -70,28 +70,28 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-json</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/modules/binding-http/pom.xml b/modules/binding-http/pom.xml
index 204dd1c..dfdd57b 100644
--- a/modules/binding-http/pom.xml
+++ b/modules/binding-http/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/binding-jms-runtime-activemq/pom.xml b/modules/binding-jms-runtime-activemq/pom.xml
index 556fd74..c8ed5e9 100644
--- a/modules/binding-jms-runtime-activemq/pom.xml
+++ b/modules/binding-jms-runtime-activemq/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-binding-jms-runtime-activemq</artifactId>
@@ -33,14 +33,14 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jms-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/binding-jms-runtime/pom.xml b/modules/binding-jms-runtime/pom.xml
index 5cdfb78..0c4fdc1 100644
--- a/modules/binding-jms-runtime/pom.xml
+++ b/modules/binding-jms-runtime/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-binding-jms-runtime</artifactId>
@@ -34,14 +34,14 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
diff --git a/modules/binding-jms/pom.xml b/modules/binding-jms/pom.xml
index 4d05f77..99c146e 100644
--- a/modules/binding-jms/pom.xml
+++ b/modules/binding-jms/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-binding-jms</artifactId>
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/binding-jsonp-runtime/pom.xml b/modules/binding-jsonp-runtime/pom.xml
index 6eb93ad..8ef569c 100644
--- a/modules/binding-jsonp-runtime/pom.xml
+++ b/modules/binding-jsonp-runtime/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-binding-jsonp-runtime</artifactId>
@@ -33,19 +33,19 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonp</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-http-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency-->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -57,7 +57,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-json</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -70,28 +70,28 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/modules/binding-jsonp/pom.xml b/modules/binding-jsonp/pom.xml
index 3f5ff6a..2cf4658 100644
--- a/modules/binding-jsonp/pom.xml
+++ b/modules/binding-jsonp/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-binding-jsonp</artifactId>
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/binding-jsonrpc-js-dojo/pom.xml b/modules/binding-jsonrpc-js-dojo/pom.xml
index 01a55bc..a86e3b9 100644
--- a/modules/binding-jsonrpc-js-dojo/pom.xml
+++ b/modules/binding-jsonrpc-js-dojo/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,13 +33,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonrpc</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-web-javascript</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/binding-jsonrpc-runtime/pom.xml b/modules/binding-jsonrpc-runtime/pom.xml
index ba7b49e..9efe607 100644
--- a/modules/binding-jsonrpc-runtime/pom.xml
+++ b/modules/binding-jsonrpc-runtime/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,43 +33,43 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonrpc</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-json</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-common-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -87,7 +87,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
@@ -140,14 +140,14 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/modules/binding-jsonrpc/pom.xml b/modules/binding-jsonrpc/pom.xml
index 8df899f..4eb55b6 100644
--- a/modules/binding-jsonrpc/pom.xml
+++ b/modules/binding-jsonrpc/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/binding-local-runtime/pom.xml b/modules/binding-local-runtime/pom.xml
index b9c0b85..156d35f 100644
--- a/modules/binding-local-runtime/pom.xml
+++ b/modules/binding-local-runtime/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,14 +35,14 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
diff --git a/modules/binding-rest-js-dojo/pom.xml b/modules/binding-rest-js-dojo/pom.xml
index e8dcac6..66a3d54 100644
--- a/modules/binding-rest-js-dojo/pom.xml
+++ b/modules/binding-rest-js-dojo/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,13 +33,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-web-javascript</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/binding-rest-runtime/pom.xml b/modules/binding-rest-runtime/pom.xml
index 9601c4e..35e032b 100644
--- a/modules/binding-rest-runtime/pom.xml
+++ b/modules/binding-rest-runtime/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,68 +33,68 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-data-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-common-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-jaxb</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-json</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java-jaxrs</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -175,21 +175,21 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/modules/binding-rest/pom.xml b/modules/binding-rest/pom.xml
index 791dce4..c283532 100644
--- a/modules/binding-rest/pom.xml
+++ b/modules/binding-rest/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,13 +33,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-common-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/binding-rmi-runtime/pom.xml b/modules/binding-rmi-runtime/pom.xml
index c0f589a..fcc6543 100644
--- a/modules/binding-rmi-runtime/pom.xml
+++ b/modules/binding-rmi-runtime/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-binding-rmi-runtime</artifactId>
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
@@ -41,19 +41,19 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rmi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-rmi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
<scope>test</scope>
</dependency>
diff --git a/modules/binding-rmi/pom.xml b/modules/binding-rmi/pom.xml
index b51968a..9265a4a 100644
--- a/modules/binding-rmi/pom.xml
+++ b/modules/binding-rmi/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-binding-rmi</artifactId>
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
diff --git a/modules/binding-sca-runtime/pom.xml b/modules/binding-sca-runtime/pom.xml
index 0b2a431..3a04451 100644
--- a/modules/binding-sca-runtime/pom.xml
+++ b/modules/binding-sca-runtime/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,37 +35,37 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/binding-sca-runtime2/pom.xml b/modules/binding-sca-runtime2/pom.xml
index ca272b2..1fd6219 100644
--- a/modules/binding-sca-runtime2/pom.xml
+++ b/modules/binding-sca-runtime2/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,37 +35,37 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/binding-ws-runtime-axis2/pom.xml b/modules/binding-ws-runtime-axis2/pom.xml
index 7de2b6f..1e516de 100644
--- a/modules/binding-ws-runtime-axis2/pom.xml
+++ b/modules/binding-ws-runtime-axis2/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -36,7 +36,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-security</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope> <!-- it's in base -->
</dependency>
@@ -155,14 +155,14 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-axiom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-jaxb-axiom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
@@ -170,7 +170,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
<scope>test</scope>
</dependency>
@@ -178,7 +178,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/modules/binding-ws-runtime-jaxws-ri/pom.xml b/modules/binding-ws-runtime-jaxws-ri/pom.xml
index c6b397b..c8f5e68 100644
--- a/modules/binding-ws-runtime-jaxws-ri/pom.xml
+++ b/modules/binding-ws-runtime-jaxws-ri/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,60 +33,60 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-wsdl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-jaxws</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-wsdlgen</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-jaxb</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>compile</scope>
</dependency>
@@ -94,21 +94,21 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java-jaxws</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-xsd</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
@@ -117,21 +117,21 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/modules/binding-ws-runtime-jaxws/pom.xml b/modules/binding-ws-runtime-jaxws/pom.xml
index 129d1e4..2e356ab 100644
--- a/modules/binding-ws-runtime-jaxws/pom.xml
+++ b/modules/binding-ws-runtime-jaxws/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,73 +33,73 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-wsdl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-wsdlgen</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-jaxb</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java-jaxws</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-xsd</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Test dependencies -->
@@ -107,14 +107,14 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/modules/binding-ws-wsdlgen/pom.xml b/modules/binding-ws-wsdlgen/pom.xml
index 5d56109..bdbb949 100644
--- a/modules/binding-ws-wsdlgen/pom.xml
+++ b/modules/binding-ws-wsdlgen/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-binding-ws-wsdlgen</artifactId>
@@ -33,32 +33,32 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-wsdl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java-jaxws</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-xsd</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -70,7 +70,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/modules/binding-ws/pom.xml b/modules/binding-ws/pom.xml
index 4c841fe..a51e144 100644
--- a/modules/binding-ws/pom.xml
+++ b/modules/binding-ws/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-binding-ws</artifactId>
@@ -33,19 +33,19 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-wsdl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/builder/pom.xml b/modules/builder/pom.xml
index 13e7ecc..a4c3a1f 100644
--- a/modules/builder/pom.xml
+++ b/modules/builder/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-builder</artifactId>
@@ -33,37 +33,37 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-xsd</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-jaxb</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xsd</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/common-http/pom.xml b/modules/common-http/pom.xml
index 72d5493..0ee7cec 100644
--- a/modules/common-http/pom.xml
+++ b/modules/common-http/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-common-http</artifactId>
diff --git a/modules/common-java/pom.xml b/modules/common-java/pom.xml
index 655b3cf..397e88d 100644
--- a/modules/common-java/pom.xml
+++ b/modules/common-java/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-common-java</artifactId>
@@ -32,13 +32,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-extensibility</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/common-xml/pom.xml b/modules/common-xml/pom.xml
index eb967a6..b58bea3 100644
--- a/modules/common-xml/pom.xml
+++ b/modules/common-xml/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-common-xml</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-extensibility</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/contribution-osgi/pom.xml b/modules/contribution-osgi/pom.xml
index b4e26dc..6782c0f 100644
--- a/modules/contribution-osgi/pom.xml
+++ b/modules/contribution-osgi/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-contribution-osgi</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
diff --git a/modules/contribution-resource/pom.xml b/modules/contribution-resource/pom.xml
index 2df4999..7644dbc 100644
--- a/modules/contribution-resource/pom.xml
+++ b/modules/contribution-resource/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-contribution-resource</artifactId>
@@ -32,13 +32,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/contribution/pom.xml b/modules/contribution/pom.xml
index 56d8f1a..410423b 100644
--- a/modules/contribution/pom.xml
+++ b/modules/contribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-contribution</artifactId>
@@ -32,31 +32,31 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xsd</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-extensibility</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-common-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-common-java</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/core-databinding/pom.xml b/modules/core-databinding/pom.xml
index a1f2235..310da4f 100644
--- a/modules/core-databinding/pom.xml
+++ b/modules/core-databinding/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/modules/core-runtime-pom/pom.xml b/modules/core-runtime-pom/pom.xml
index 317b98b..f9b6df4 100644
--- a/modules/core-runtime-pom/pom.xml
+++ b/modules/core-runtime-pom/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/modules/core-spi/pom.xml b/modules/core-spi/pom.xml
index ec8f1a6..680e9ac 100644
--- a/modules/core-spi/pom.xml
+++ b/modules/core-spi/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-core-spi</artifactId>
@@ -32,25 +32,25 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-extensibility</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/core/pom.xml b/modules/core/pom.xml
index 8eee896..874fb0a 100644
--- a/modules/core/pom.xml
+++ b/modules/core/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-core</artifactId>
@@ -32,31 +32,31 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-extensibility</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/data-api/pom.xml b/modules/data-api/pom.xml
index 5da4d2e..070ef72 100644
--- a/modules/data-api/pom.xml
+++ b/modules/data-api/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-data-api</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/modules/databinding-axiom/pom.xml b/modules/databinding-axiom/pom.xml
index 8a1e41f..46108f2 100644
--- a/modules/databinding-axiom/pom.xml
+++ b/modules/databinding-axiom/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-databinding-axiom</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
diff --git a/modules/databinding-jaxb-axiom/pom.xml b/modules/databinding-jaxb-axiom/pom.xml
index 7bfaa76..ac78816 100644
--- a/modules/databinding-jaxb-axiom/pom.xml
+++ b/modules/databinding-jaxb-axiom/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-databinding-jaxb-axiom</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
diff --git a/modules/databinding-jaxb/pom.xml b/modules/databinding-jaxb/pom.xml
index 7121666..80669df 100644
--- a/modules/databinding-jaxb/pom.xml
+++ b/modules/databinding-jaxb/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-databinding-jaxb</artifactId>
@@ -32,17 +32,17 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/databinding-json/pom.xml b/modules/databinding-json/pom.xml
index 793307b..042d713 100644
--- a/modules/databinding-json/pom.xml
+++ b/modules/databinding-json/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-databinding-json</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
diff --git a/modules/databinding-sdo-axiom/pom.xml b/modules/databinding-sdo-axiom/pom.xml
index c142b24..b33d2ef 100644
--- a/modules/databinding-sdo-axiom/pom.xml
+++ b/modules/databinding-sdo-axiom/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-databinding-sdo-axiom</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-sdo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/databinding-sdo/pom.xml b/modules/databinding-sdo/pom.xml
index 7b2bfab..6b985a5 100644
--- a/modules/databinding-sdo/pom.xml
+++ b/modules/databinding-sdo/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-databinding-sdo</artifactId>
@@ -32,19 +32,19 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-common-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- FIXME: We might want to create a separate module to host the processor -->
diff --git a/modules/databinding/pom.xml b/modules/databinding/pom.xml
index dcbd4c1..0b64782 100644
--- a/modules/databinding/pom.xml
+++ b/modules/databinding/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-databinding</artifactId>
@@ -32,37 +32,37 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-extensibility</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-xsd</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-common-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!--
diff --git a/modules/deployment/pom.xml b/modules/deployment/pom.xml
index ad30c69..31c1a1a 100644
--- a/modules/deployment/pom.xml
+++ b/modules/deployment/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,43 +35,43 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xsd</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-xsd</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-builder</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
diff --git a/modules/domain-hazelcast/pom.xml b/modules/domain-hazelcast/pom.xml
index 20e9845..d626eec 100644
--- a/modules/domain-hazelcast/pom.xml
+++ b/modules/domain-hazelcast/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-domain-hazelcast</artifactId>
@@ -61,31 +61,31 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-wsdlgen</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/modules/domain-node/pom.xml b/modules/domain-node/pom.xml
index 76fae99..8612901 100644
--- a/modules/domain-node/pom.xml
+++ b/modules/domain-node/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,44 +35,44 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-data-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-hazelcast</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-wsdlgen</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/modules/endpoint-tribes/pom.xml b/modules/endpoint-tribes/pom.xml
index 973363a..09f02cc 100644
--- a/modules/endpoint-tribes/pom.xml
+++ b/modules/endpoint-tribes/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-endpoint-tribes</artifactId>
@@ -39,25 +39,25 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-deployment</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/modules/extensibility-equinox/pom.xml b/modules/extensibility-equinox/pom.xml
index 20c3d72..9e83914 100644
--- a/modules/extensibility-equinox/pom.xml
+++ b/modules/extensibility-equinox/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-extensibility-equinox</artifactId>
@@ -32,7 +32,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
diff --git a/modules/extensibility/pom.xml b/modules/extensibility/pom.xml
index 23a4b6a..abdf583 100644
--- a/modules/extensibility/pom.xml
+++ b/modules/extensibility/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-extensibility</artifactId>
diff --git a/modules/host-corba-jee/pom.xml b/modules/host-corba-jee/pom.xml
index 29cd620..48b9262 100644
--- a/modules/host-corba-jee/pom.xml
+++ b/modules/host-corba-jee/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</parent>
<artifactId>tuscany-host-corba-jee</artifactId>
<name>Apache Tuscany SCA JEE environment CORBA Host</name>
@@ -31,12 +31,12 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-corba</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-corba-jse</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/modules/host-corba-jse-tns/pom.xml b/modules/host-corba-jse-tns/pom.xml
index 5014507..7d05cb6 100644
--- a/modules/host-corba-jse-tns/pom.xml
+++ b/modules/host-corba-jse-tns/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</parent>
<artifactId>tuscany-host-corba-jse-tns</artifactId>
<name>Apache Tuscany SCA Transient Name Server CORBA Host</name>
@@ -32,19 +32,19 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-corba</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-corba-jse</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-corba-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/modules/host-corba-jse/pom.xml b/modules/host-corba-jse/pom.xml
index 72cb65f..f801449 100644
--- a/modules/host-corba-jse/pom.xml
+++ b/modules/host-corba-jse/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</parent>
<artifactId>tuscany-host-corba-jse</artifactId>
<name>Apache Tuscany SCA JSE built-in CORBA Host</name>
@@ -31,7 +31,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-corba</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/host-corba/pom.xml b/modules/host-corba/pom.xml
index b1e1281..ef451b9 100644
--- a/modules/host-corba/pom.xml
+++ b/modules/host-corba/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</parent>
<artifactId>tuscany-host-corba</artifactId>
<name>Apache Tuscany SCA CORBA Host Extension Point</name>
@@ -31,7 +31,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/host-http/pom.xml b/modules/host-http/pom.xml
index 6fb8bc4..8492933 100644
--- a/modules/host-http/pom.xml
+++ b/modules/host-http/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-host-http</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/host-jetty/pom.xml b/modules/host-jetty/pom.xml
index b4a3a4a..9f86246 100644
--- a/modules/host-jetty/pom.xml
+++ b/modules/host-jetty/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-host-jetty</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/host-rmi/pom.xml b/modules/host-rmi/pom.xml
index 018ee3c..3c7a8fd 100644
--- a/modules/host-rmi/pom.xml
+++ b/modules/host-rmi/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-host-rmi</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
diff --git a/modules/host-webapp/pom.xml b/modules/host-webapp/pom.xml
index 95a052e..46432de 100644
--- a/modules/host-webapp/pom.xml
+++ b/modules/host-webapp/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,31 +33,31 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
diff --git a/modules/implementation-bpel-runtime/pom.xml b/modules/implementation-bpel-runtime/pom.xml
index b5a67a2..9b0941c 100644
--- a/modules/implementation-bpel-runtime/pom.xml
+++ b/modules/implementation-bpel-runtime/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-implementation-bpel-runtime</artifactId>
@@ -32,7 +32,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<!-- ODE Jars -->
diff --git a/modules/implementation-bpel/pom.xml b/modules/implementation-bpel/pom.xml
index d6d2afe..ea4e842 100644
--- a/modules/implementation-bpel/pom.xml
+++ b/modules/implementation-bpel/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-implementation-bpel</artifactId>
@@ -32,25 +32,25 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-wsdl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/implementation-java-runtime/pom.xml b/modules/implementation-java-runtime/pom.xml
index e6c5af4..c5c5dda 100644
--- a/modules/implementation-java-runtime/pom.xml
+++ b/modules/implementation-java-runtime/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-implementation-java-runtime</artifactId>
@@ -32,25 +32,25 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/implementation-java/pom.xml b/modules/implementation-java/pom.xml
index 573214c..b58eebe 100644
--- a/modules/implementation-java/pom.xml
+++ b/modules/implementation-java/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-implementation-java</artifactId>
@@ -32,75 +32,75 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java-jaxws</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-wsdl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-extensibility</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!--dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-builder</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-sca-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency-->
diff --git a/modules/implementation-jaxrs-runtime/pom.xml b/modules/implementation-jaxrs-runtime/pom.xml
index 937a519..7b1750e 100644
--- a/modules/implementation-jaxrs-runtime/pom.xml
+++ b/modules/implementation-jaxrs-runtime/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,33 +34,33 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-jaxrs</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rest-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -121,21 +121,21 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/modules/implementation-jaxrs/pom.xml b/modules/implementation-jaxrs/pom.xml
index 44fb9f8..73fb224 100644
--- a/modules/implementation-jaxrs/pom.xml
+++ b/modules/implementation-jaxrs/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,43 +34,43 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-monitor</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/implementation-osgi-runtime/pom.xml b/modules/implementation-osgi-runtime/pom.xml
index c80a972..909e423 100644
--- a/modules/implementation-osgi-runtime/pom.xml
+++ b/modules/implementation-osgi-runtime/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -37,13 +37,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-osgi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution-osgi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
@@ -57,13 +57,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/implementation-osgi/pom.xml b/modules/implementation-osgi/pom.xml
index 75f5e94..5eba211 100644
--- a/modules/implementation-osgi/pom.xml
+++ b/modules/implementation-osgi/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -45,7 +45,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
diff --git a/modules/implementation-python-runtime/pom.xml b/modules/implementation-python-runtime/pom.xml
index 4481663..ea07412 100644
--- a/modules/implementation-python-runtime/pom.xml
+++ b/modules/implementation-python-runtime/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-python</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -60,28 +60,28 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/modules/implementation-python/pom.xml b/modules/implementation-python/pom.xml
index f74ae9d..fc7452b 100644
--- a/modules/implementation-python/pom.xml
+++ b/modules/implementation-python/pom.xml
@@ -1,78 +1,78 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <artifactId>tuscany-implementation-python</artifactId>
- <name>Apache Tuscany SCA Python Implementation Model</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-interface-java</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-monitor</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-modules</artifactId>
+ <version>2.0-Beta2</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <artifactId>tuscany-implementation-python</artifactId>
+ <name>Apache Tuscany SCA Python Implementation Model</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-assembly</artifactId>
+ <version>2.0-Beta2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-assembly-xml</artifactId>
+ <version>2.0-Beta2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-core-spi</artifactId>
+ <version>2.0-Beta2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-contribution</artifactId>
+ <version>2.0-Beta2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-interface-java</artifactId>
+ <version>2.0-Beta2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-monitor</artifactId>
+ <version>2.0-Beta2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.8.1</version>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+
+</project>
diff --git a/modules/implementation-script-runtime/pom.xml b/modules/implementation-script-runtime/pom.xml
index 7e039ff..fd9634c 100644
--- a/modules/implementation-script-runtime/pom.xml
+++ b/modules/implementation-script-runtime/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,25 +34,25 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-script</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -98,7 +98,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-wsdl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -142,14 +142,14 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/modules/implementation-script/pom.xml b/modules/implementation-script/pom.xml
index f6b2958..7afb767 100644
--- a/modules/implementation-script/pom.xml
+++ b/modules/implementation-script/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,7 +34,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/implementation-spring-runtime/pom.xml b/modules/implementation-spring-runtime/pom.xml
index 45e236a..fc46dee 100644
--- a/modules/implementation-spring-runtime/pom.xml
+++ b/modules/implementation-spring-runtime/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-implementation-spring-runtime</artifactId>
@@ -34,7 +34,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
diff --git a/modules/implementation-spring-stub/pom.xml b/modules/implementation-spring-stub/pom.xml
index 5745399..d2dc7c3 100644
--- a/modules/implementation-spring-stub/pom.xml
+++ b/modules/implementation-spring-stub/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-implementation-spring-stub</artifactId>
@@ -43,13 +43,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-spring</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/implementation-spring-tie/pom.xml b/modules/implementation-spring-tie/pom.xml
index a30109d..1ee77ab 100644
--- a/modules/implementation-spring-tie/pom.xml
+++ b/modules/implementation-spring-tie/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-implementation-spring-tie</artifactId>
@@ -43,7 +43,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
diff --git a/modules/implementation-spring-webapp/pom.xml b/modules/implementation-spring-webapp/pom.xml
index 081af3c..cf07cfa 100644
--- a/modules/implementation-spring-webapp/pom.xml
+++ b/modules/implementation-spring-webapp/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-implementation-spring-webapp</artifactId>
@@ -33,13 +33,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-spring-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Spring dependencies... -->
diff --git a/modules/implementation-spring/pom.xml b/modules/implementation-spring/pom.xml
index 371bde7..d4c9ff5 100644
--- a/modules/implementation-spring/pom.xml
+++ b/modules/implementation-spring/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-implementation-spring</artifactId>
@@ -32,27 +32,27 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/implementation-web-client/pom.xml b/modules/implementation-web-client/pom.xml
index 15b1a1b..0080812 100644
--- a/modules/implementation-web-client/pom.xml
+++ b/modules/implementation-web-client/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,7 +34,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-web-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/implementation-web-runtime/pom.xml b/modules/implementation-web-runtime/pom.xml
index ed5bc3c..1d8733c 100644
--- a/modules/implementation-web-runtime/pom.xml
+++ b/modules/implementation-web-runtime/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,25 +34,25 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-web</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-webapp</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/implementation-web/pom.xml b/modules/implementation-web/pom.xml
index cb8a460..cef236a 100644
--- a/modules/implementation-web/pom.xml
+++ b/modules/implementation-web/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,31 +34,31 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-monitor</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/implementation-widget-runtime-dojo/pom.xml b/modules/implementation-widget-runtime-dojo/pom.xml
index 19b8803..b233900 100644
--- a/modules/implementation-widget-runtime-dojo/pom.xml
+++ b/modules/implementation-widget-runtime-dojo/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,13 +33,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-widget-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-web-javascript-dojo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/implementation-widget-runtime/pom.xml b/modules/implementation-widget-runtime/pom.xml
index 4e22897..8fa5451 100644
--- a/modules/implementation-widget-runtime/pom.xml
+++ b/modules/implementation-widget-runtime/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,25 +33,25 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-widget</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-web-javascript</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/implementation-widget/pom.xml b/modules/implementation-widget/pom.xml
index aafefaf..f0cc0e5 100644
--- a/modules/implementation-widget/pom.xml
+++ b/modules/implementation-widget/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,25 +33,25 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-data-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/interface-java-jaxrs/pom.xml b/modules/interface-java-jaxrs/pom.xml
index a04547f..49f18a5 100644
--- a/modules/interface-java-jaxrs/pom.xml
+++ b/modules/interface-java-jaxrs/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-interface-java-jaxrs</artifactId>
@@ -40,7 +40,7 @@
<artifactId>tuscany-core-runtime-pom</artifactId>
<type>pom</type>
<scope>provided</scope>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/interface-java-jaxws/pom.xml b/modules/interface-java-jaxws/pom.xml
index 87c099c..0b4df1b 100644
--- a/modules/interface-java-jaxws/pom.xml
+++ b/modules/interface-java-jaxws/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-interface-java-jaxws</artifactId>
@@ -32,17 +32,17 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-jaxb</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-java</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/interface-java/pom.xml b/modules/interface-java/pom.xml
index 22f9234..50640a2 100644
--- a/modules/interface-java/pom.xml
+++ b/modules/interface-java/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-interface-java</artifactId>
@@ -32,31 +32,31 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-extensibility</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-interface-wsdl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/interface-wsdl/pom.xml b/modules/interface-wsdl/pom.xml
index d6f17f0..6851296 100644
--- a/modules/interface-wsdl/pom.xml
+++ b/modules/interface-wsdl/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-interface-wsdl</artifactId>
@@ -32,13 +32,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-xsd</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -56,7 +56,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
diff --git a/modules/launcher/pom.xml b/modules/launcher/pom.xml
index 9dec076..920b512 100644
--- a/modules/launcher/pom.xml
+++ b/modules/launcher/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/modules/monitor/pom.xml b/modules/monitor/pom.xml
index e7e9ca9..825c289 100644
--- a/modules/monitor/pom.xml
+++ b/modules/monitor/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/modules/myfaces/pom.xml b/modules/myfaces/pom.xml
index 9e6f742..dc48444 100644
--- a/modules/myfaces/pom.xml
+++ b/modules/myfaces/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,13 +34,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-webapp</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-web-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/node-api/pom.xml b/modules/node-api/pom.xml
index 2de9c08..059a68a 100644
--- a/modules/node-api/pom.xml
+++ b/modules/node-api/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,7 +34,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/node-impl-osgi/pom.xml b/modules/node-impl-osgi/pom.xml
index 78002f7..df1b7c1 100644
--- a/modules/node-impl-osgi/pom.xml
+++ b/modules/node-impl-osgi/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -73,13 +73,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-extensibility-equinox</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution-osgi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
@@ -88,33 +88,33 @@
<artifactId>tuscany-core-runtime-pom</artifactId>
<type>pom</type>
<scope>provided</scope>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
<scope>provided</scope>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-launcher-equinox</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-osgi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-osgi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
@@ -122,7 +122,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rmi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
-->
diff --git a/modules/node-impl/pom.xml b/modules/node-impl/pom.xml
index 5d55b13..d1cd688 100644
--- a/modules/node-impl/pom.xml
+++ b/modules/node-impl/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,78 +35,78 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-deployment</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-builder</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-sca-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xsd</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-wsdlgen</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/modules/node-launcher-equinox/pom.xml b/modules/node-launcher-equinox/pom.xml
index b31d1e6..5a2d620 100644
--- a/modules/node-launcher-equinox/pom.xml
+++ b/modules/node-launcher-equinox/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -70,7 +70,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
@@ -83,14 +83,14 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-extensibility-equinox</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<!-- dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-http-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency-->
diff --git a/modules/node-launcher/pom.xml b/modules/node-launcher/pom.xml
index 4ae3dac..2e41d5a 100644
--- a/modules/node-launcher/pom.xml
+++ b/modules/node-launcher/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/modules/osgi-runtime-pom/pom.xml b/modules/osgi-runtime-pom/pom.xml
index 36c3d40..157bd8b 100644
--- a/modules/osgi-runtime-pom/pom.xml
+++ b/modules/osgi-runtime-pom/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/modules/policy-logging/pom.xml b/modules/policy-logging/pom.xml
index 9f6b343..8fdec7c 100644
--- a/modules/policy-logging/pom.xml
+++ b/modules/policy-logging/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-policy-logging</artifactId>
@@ -35,7 +35,7 @@
<artifactId>tuscany-core-runtime-pom</artifactId>
<type>pom</type>
<scope>provided</scope>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/policy-security/pom.xml b/modules/policy-security/pom.xml
index a5322bc..fb31af9 100644
--- a/modules/policy-security/pom.xml
+++ b/modules/policy-security/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-policy-security</artifactId>
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
diff --git a/modules/policy-transaction-runtime-geronimo/pom.xml b/modules/policy-transaction-runtime-geronimo/pom.xml
index 1c771eb..2fef31e 100644
--- a/modules/policy-transaction-runtime-geronimo/pom.xml
+++ b/modules/policy-transaction-runtime-geronimo/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-policy-transaction-runtime-geronimo</artifactId>
@@ -32,25 +32,25 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-transaction-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/policy-transaction-runtime/pom.xml b/modules/policy-transaction-runtime/pom.xml
index 0356216..09132c8 100644
--- a/modules/policy-transaction-runtime/pom.xml
+++ b/modules/policy-transaction-runtime/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-policy-transaction-runtime</artifactId>
@@ -32,25 +32,25 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-transaction</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/policy-transaction/pom.xml b/modules/policy-transaction/pom.xml
index bba0742..80feb74 100644
--- a/modules/policy-transaction/pom.xml
+++ b/modules/policy-transaction/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-policy-transaction</artifactId>
@@ -32,19 +32,19 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/policy-wspolicy/pom.xml b/modules/policy-wspolicy/pom.xml
index 388fa4a..ed26cdf 100644
--- a/modules/policy-wspolicy/pom.xml
+++ b/modules/policy-wspolicy/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-policy-wspolicy</artifactId>
@@ -33,26 +33,26 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/pom.xml b/modules/pom.xml
index a6a2c55..4502e0b 100644
--- a/modules/pom.xml
+++ b/modules/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-modules</artifactId>
diff --git a/modules/sca-api/pom.xml b/modules/sca-api/pom.xml
index edc55b1..9f6d45e 100644
--- a/modules/sca-api/pom.xml
+++ b/modules/sca-api/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>org.apache.tuscany.sca</groupId>
diff --git a/modules/sca-client-impl/pom.xml b/modules/sca-client-impl/pom.xml
index 2657e1b..8446b9d 100644
--- a/modules/sca-client-impl/pom.xml
+++ b/modules/sca-client-impl/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,12 +34,12 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/modules/shell/pom.xml b/modules/shell/pom.xml
index a72a797..5ad7600 100644
--- a/modules/shell/pom.xml
+++ b/modules/shell/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-node</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/stripes/pom.xml b/modules/stripes/pom.xml
index 7aad356..3f9fe45 100644
--- a/modules/stripes/pom.xml
+++ b/modules/stripes/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,13 +34,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-webapp</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-web-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
diff --git a/modules/tracing-aspectj/pom.xml b/modules/tracing-aspectj/pom.xml
index 0a64e86..4625eb4 100644
--- a/modules/tracing-aspectj/pom.xml
+++ b/modules/tracing-aspectj/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-tracing-aspectj</artifactId>
diff --git a/modules/web-javascript-dojo/pom.xml b/modules/web-javascript-dojo/pom.xml
index f41739a..4d928fd 100644
--- a/modules/web-javascript-dojo/pom.xml
+++ b/modules/web-javascript-dojo/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,25 +33,25 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-widget</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-common-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/web-javascript/pom.xml b/modules/web-javascript/pom.xml
index 2247174..5a374bf 100644
--- a/modules/web-javascript/pom.xml
+++ b/modules/web-javascript/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/modules/wink/pom.xml b/modules/wink/pom.xml
index 1d18748..cbd7885 100644
--- a/modules/wink/pom.xml
+++ b/modules/wink/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,13 +34,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-webapp</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-web-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
diff --git a/modules/xsd/pom.xml b/modules/xsd/pom.xml
index e9f6b78..19edf7f 100644
--- a/modules/xsd/pom.xml
+++ b/modules/xsd/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-xsd</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -43,7 +43,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/pom.xml b/pom.xml
index 3721d96..c26a8f3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,7 +33,7 @@
<packaging>pom</packaging>
<name>Apache Tuscany SCA Implementation Project (2.x)</name>
<url>http://tuscany.apache.org</url>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk</connection>
@@ -501,7 +501,7 @@
<plugin>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-maven-dependency-lister</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<executions>
<execution>
<phase>process-resources</phase>
diff --git a/samples/applications/eightball-demo/eightball-process/pom.xml b/samples/applications/eightball-demo/eightball-process/pom.xml
index 38b52e1..f7595e5 100644
--- a/samples/applications/eightball-demo/eightball-process/pom.xml
+++ b/samples/applications/eightball-demo/eightball-process/pom.xml
@@ -104,6 +104,6 @@
</plugins>
</build>
<properties>
- <tuscany.version>2.0-SNAPSHOT</tuscany.version>
+ <tuscany.version>2.0-Beta2</tuscany.version>
</properties>
- </project>
\ No newline at end of file
+ </project>
diff --git a/samples/applications/eightball-demo/eightball-webapp/pom.xml b/samples/applications/eightball-demo/eightball-webapp/pom.xml
index eeabfc5..26df7b2 100644
--- a/samples/applications/eightball-demo/eightball-webapp/pom.xml
+++ b/samples/applications/eightball-demo/eightball-webapp/pom.xml
@@ -156,7 +156,7 @@
</plugins>
</build>
<properties>
- <tuscany.version>2.0-SNAPSHOT</tuscany.version>
+ <tuscany.version>2.0-Beta2</tuscany.version>
<jetty.version>6.1.18</jetty.version>
</properties>
-</project>
\ No newline at end of file
+</project>
diff --git a/samples/applications/eightball-demo/eightball/pom.xml b/samples/applications/eightball-demo/eightball/pom.xml
index 5bd58d3..d5d0767 100644
--- a/samples/applications/eightball-demo/eightball/pom.xml
+++ b/samples/applications/eightball-demo/eightball/pom.xml
@@ -104,6 +104,6 @@
</plugins>
</build>
<properties>
- <tuscany.version>2.0-SNAPSHOT</tuscany.version>
+ <tuscany.version>2.0-Beta2</tuscany.version>
</properties>
- </project>
\ No newline at end of file
+ </project>
diff --git a/samples/applications/eightball-demo/pom.xml b/samples/applications/eightball-demo/pom.xml
index b58b73c..8a42650 100644
--- a/samples/applications/eightball-demo/pom.xml
+++ b/samples/applications/eightball-demo/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-applications</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-eightball-demo</artifactId>
diff --git a/samples/applications/eightball-demo/translator/pom.xml b/samples/applications/eightball-demo/translator/pom.xml
index 858fa1b..086e501 100644
--- a/samples/applications/eightball-demo/translator/pom.xml
+++ b/samples/applications/eightball-demo/translator/pom.xml
@@ -104,6 +104,6 @@
</plugins>
</build>
<properties>
- <tuscany.version>2.0-SNAPSHOT</tuscany.version>
+ <tuscany.version>2.0-Beta2</tuscany.version>
</properties>
- </project>
\ No newline at end of file
+ </project>
diff --git a/samples/applications/logging-scribe/helloworld-scribe/pom.xml b/samples/applications/logging-scribe/helloworld-scribe/pom.xml
index 7cef24e..0d9bbec 100644
--- a/samples/applications/logging-scribe/helloworld-scribe/pom.xml
+++ b/samples/applications/logging-scribe/helloworld-scribe/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sample-logging-scribe</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,20 +34,20 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
@@ -89,7 +89,7 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</plugin>
</plugins>
</build>
diff --git a/samples/applications/logging-scribe/pom.xml b/samples/applications/logging-scribe/pom.xml
index dd759ff..d9b5054 100644
--- a/samples/applications/logging-scribe/pom.xml
+++ b/samples/applications/logging-scribe/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-applications</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-sample-logging-scribe</artifactId>
@@ -36,7 +36,7 @@
<activeByDefault>true</activeByDefault>
</activation>
<modules>
- <!--module>helloworld-scribe</module-->
+ <!--module>helloworld-scribe</module-->
</modules>
</profile>
</profiles>
diff --git a/samples/applications/pom.xml b/samples/applications/pom.xml
index 1342006..79a4ed8 100644
--- a/samples/applications/pom.xml
+++ b/samples/applications/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-samples-applications</artifactId>
diff --git a/samples/applications/store-webapp/pom.xml b/samples/applications/store-webapp/pom.xml
index a68bce2..1097116 100644
--- a/samples/applications/store-webapp/pom.xml
+++ b/samples/applications/store-webapp/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-applications</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-store-webapp</artifactId>
@@ -33,55 +33,55 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-data-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-atom-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-atom-js-dojo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-http-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonrpc-js-dojo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-widget-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-widget-runtime-dojo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-web-javascript-dojo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
diff --git a/samples/applications/store/pom.xml b/samples/applications/store/pom.xml
index 057df05..abcfd99 100644
--- a/samples/applications/store/pom.xml
+++ b/samples/applications/store/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-applications</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-store</artifactId>
@@ -32,56 +32,56 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-data-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-atom-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-atom-js-dojo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-http-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonrpc-js-dojo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-widget-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-widget-runtime-dojo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-web-javascript-dojo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/samples/extending-tuscany/binding-sample/pom.xml b/samples/extending-tuscany/binding-sample/pom.xml
index fa2b574..f5077b6 100644
--- a/samples/extending-tuscany/binding-sample/pom.xml
+++ b/samples/extending-tuscany/binding-sample/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-extending-tuscany</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,14 +34,14 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
@@ -55,28 +55,28 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/samples/extending-tuscany/implementation-sample/pom.xml b/samples/extending-tuscany/implementation-sample/pom.xml
index 8d54e83..98e7a16 100644
--- a/samples/extending-tuscany/implementation-sample/pom.xml
+++ b/samples/extending-tuscany/implementation-sample/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-extending-tuscany</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-implementation-extension</artifactId>
@@ -34,19 +34,19 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jms-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/samples/extending-tuscany/pom.xml b/samples/extending-tuscany/pom.xml
index b035519..f3505fd 100644
--- a/samples/extending-tuscany/pom.xml
+++ b/samples/extending-tuscany/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -43,4 +43,4 @@
</profile>
</profiles>
-</project>
\ No newline at end of file
+</project>
diff --git a/samples/getting-started/callback-api/pom.xml b/samples/getting-started/callback-api/pom.xml
index 2fb5eb9..7c7de22 100644
--- a/samples/getting-started/callback-api/pom.xml
+++ b/samples/getting-started/callback-api/pom.xml
@@ -1,51 +1,51 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-samples-getting-started-contributions</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <artifactId>sample-callback-api-contribution</artifactId>
- <name>Apache Tuscany SCA Sample Callback API Contribution</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
- </dependencies>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-samples-getting-started-contributions</artifactId>
+ <version>2.0-Beta2</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <artifactId>sample-callback-api-contribution</artifactId>
+ <name>Apache Tuscany SCA Sample Callback API Contribution</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-node-api</artifactId>
+ <version>2.0-Beta2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-node-impl</artifactId>
+ <version>2.0-Beta2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-implementation-java-runtime</artifactId>
+ <version>2.0-Beta2</version>
+ </dependency>
+ </dependencies>
+
+</project>
diff --git a/samples/getting-started/helloworld-contribution/pom.xml b/samples/getting-started/helloworld-contribution/pom.xml
index 4c9e17d..4f1eaeb 100644
--- a/samples/getting-started/helloworld-contribution/pom.xml
+++ b/samples/getting-started/helloworld-contribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-getting-started-contributions</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,7 +34,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
@@ -50,7 +50,7 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</plugin>
</plugins>
</build>
diff --git a/samples/getting-started/helloworld-webapp/pom.xml b/samples/getting-started/helloworld-webapp/pom.xml
index 058ba84..43a07eb 100644
--- a/samples/getting-started/helloworld-webapp/pom.xml
+++ b/samples/getting-started/helloworld-webapp/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-getting-started-contributions</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,7 +35,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/samples/getting-started/pom.xml b/samples/getting-started/pom.xml
index 5e64979..8fe3933 100644
--- a/samples/getting-started/pom.xml
+++ b/samples/getting-started/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-samples-getting-started-contributions</artifactId>
diff --git a/samples/getting-started/sca-scopes/pom.xml b/samples/getting-started/sca-scopes/pom.xml
index 404c8cc..c76d468 100644
--- a/samples/getting-started/sca-scopes/pom.xml
+++ b/samples/getting-started/sca-scopes/pom.xml
@@ -1,51 +1,51 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-samples-getting-started-contributions</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <name>Apache Tuscany SCA Sample SCA Scopes Contribution</name>
- <artifactId>sample-sca-scopes-contribution</artifactId>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
- </dependencies>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-samples-getting-started-contributions</artifactId>
+ <version>2.0-Beta2</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <name>Apache Tuscany SCA Sample SCA Scopes Contribution</name>
+ <artifactId>sample-sca-scopes-contribution</artifactId>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-node-api</artifactId>
+ <version>2.0-Beta2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-node-impl</artifactId>
+ <version>2.0-Beta2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-implementation-java-runtime</artifactId>
+ <version>2.0-Beta2</version>
+ </dependency>
+ </dependencies>
+
+</project>
diff --git a/samples/getting-started/scdl-include-contribution/pom.xml b/samples/getting-started/scdl-include-contribution/pom.xml
index a4afa47..db2257b 100644
--- a/samples/getting-started/scdl-include-contribution/pom.xml
+++ b/samples/getting-started/scdl-include-contribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-getting-started-contributions</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,7 +34,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -62,7 +62,7 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<configuration>
<contributions>
<!-- add the dependee contribution that this contribution uses -->
diff --git a/samples/learning-more/async/calculator-contribution/pom.xml b/samples/learning-more/async/calculator-contribution/pom.xml
index 01555e0..ef08ed4 100644
--- a/samples/learning-more/async/calculator-contribution/pom.xml
+++ b/samples/learning-more/async/calculator-contribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>sample-tuscany-async</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-implementation-java-calculator-async-contribution</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -49,7 +49,7 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</plugin>
</plugins>
</build>
diff --git a/samples/learning-more/async/pom.xml b/samples/learning-more/async/pom.xml
index 265b9fe..6a37d13 100644
--- a/samples/learning-more/async/pom.xml
+++ b/samples/learning-more/async/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-learning-more</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-tuscany-async</artifactId>
diff --git a/samples/learning-more/binding-comet/pom.xml b/samples/learning-more/binding-comet/pom.xml
index fefce3b..3b43fe2 100644
--- a/samples/learning-more/binding-comet/pom.xml
+++ b/samples/learning-more/binding-comet/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-learning-more</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-samples-binding-comet</artifactId>
@@ -36,7 +36,7 @@
<activeByDefault>true</activeByDefault>
</activation>
<modules>
- <module>weather-webapp</module>
+ <module>weather-webapp</module>
</modules>
</profile>
</profiles>
diff --git a/samples/learning-more/binding-comet/weather-webapp/pom.xml b/samples/learning-more/binding-comet/weather-webapp/pom.xml
index 95c1ede..392a1c9 100644
--- a/samples/learning-more/binding-comet/weather-webapp/pom.xml
+++ b/samples/learning-more/binding-comet/weather-webapp/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-binding-comet</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -36,12 +36,12 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-comet-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>javax</groupId>
diff --git a/samples/learning-more/binding-jms/helloworld-webapp/pom.xml b/samples/learning-more/binding-jms/helloworld-webapp/pom.xml
index e4e495d..d0f8bea 100644
--- a/samples/learning-more/binding-jms/helloworld-webapp/pom.xml
+++ b/samples/learning-more/binding-jms/helloworld-webapp/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sample-binding-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,12 +35,12 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jms-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/samples/learning-more/binding-jms/pom.xml b/samples/learning-more/binding-jms/pom.xml
index 760f74b..78f5586 100644
--- a/samples/learning-more/binding-jms/pom.xml
+++ b/samples/learning-more/binding-jms/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-learning-more</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-sample-binding-jms</artifactId>
diff --git a/samples/learning-more/binding-jsonrpc/calculator-contribution/pom.xml b/samples/learning-more/binding-jsonrpc/calculator-contribution/pom.xml
index c511880..c0afdf0 100644
--- a/samples/learning-more/binding-jsonrpc/calculator-contribution/pom.xml
+++ b/samples/learning-more/binding-jsonrpc/calculator-contribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-binding-jsonrpc</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-binding-jsonrpc-calculator-contribution</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -50,7 +50,7 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</plugin>
</plugins>
</build>
diff --git a/samples/learning-more/binding-jsonrpc/calculator-webapp/pom.xml b/samples/learning-more/binding-jsonrpc/calculator-webapp/pom.xml
index bb56cd4..2ac0cec 100644
--- a/samples/learning-more/binding-jsonrpc/calculator-webapp/pom.xml
+++ b/samples/learning-more/binding-jsonrpc/calculator-webapp/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-binding-jsonrpc</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-binding-jsonrpc-calculator-webapp</artifactId>
@@ -33,13 +33,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -64,7 +64,7 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/samples/learning-more/binding-jsonrpc/pom.xml b/samples/learning-more/binding-jsonrpc/pom.xml
index 7426d1e..f244899 100644
--- a/samples/learning-more/binding-jsonrpc/pom.xml
+++ b/samples/learning-more/binding-jsonrpc/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-learning-more</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-samples-binding-jsonrpc</artifactId>
@@ -36,7 +36,7 @@
<activeByDefault>true</activeByDefault>
</activation>
<modules>
- <module>calculator-contribution</module>
+ <module>calculator-contribution</module>
<module>calculator-webapp</module>
</modules>
</profile>
diff --git a/samples/learning-more/binding-rmi/calculator-reference-contribution/pom.xml b/samples/learning-more/binding-rmi/calculator-reference-contribution/pom.xml
index 4fda338..1603e08 100644
--- a/samples/learning-more/binding-rmi/calculator-reference-contribution/pom.xml
+++ b/samples/learning-more/binding-rmi/calculator-reference-contribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sample-binding-rmi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-binding-rmi-calculator-reference-contribution</artifactId>
@@ -32,24 +32,24 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rmi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
@@ -66,7 +66,7 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</plugin>
</plugins>
</build>
diff --git a/samples/learning-more/binding-rmi/calculator-service-contribution/pom.xml b/samples/learning-more/binding-rmi/calculator-service-contribution/pom.xml
index 7c862be..f1ccb9f 100644
--- a/samples/learning-more/binding-rmi/calculator-service-contribution/pom.xml
+++ b/samples/learning-more/binding-rmi/calculator-service-contribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sample-binding-rmi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-binding-rmi-calculator-service-contribution</artifactId>
@@ -32,24 +32,24 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rmi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
@@ -66,7 +66,7 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</plugin>
</plugins>
</build>
diff --git a/samples/learning-more/binding-rmi/pom.xml b/samples/learning-more/binding-rmi/pom.xml
index 81a309e..14e1df1 100644
--- a/samples/learning-more/binding-rmi/pom.xml
+++ b/samples/learning-more/binding-rmi/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-learning-more</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-sample-binding-rmi</artifactId>
diff --git a/samples/learning-more/binding-sca/calculator-contribution/pom.xml b/samples/learning-more/binding-sca/calculator-contribution/pom.xml
index 6f08be4..af8fc33 100644
--- a/samples/learning-more/binding-sca/calculator-contribution/pom.xml
+++ b/samples/learning-more/binding-sca/calculator-contribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sample-binding-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-binding-sca-calculator-contribution</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -50,7 +50,7 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</plugin>
</plugins>
</build>
diff --git a/samples/learning-more/binding-sca/pom.xml b/samples/learning-more/binding-sca/pom.xml
index 6b90dd71..72ee071 100644
--- a/samples/learning-more/binding-sca/pom.xml
+++ b/samples/learning-more/binding-sca/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-learning-more</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-sample-binding-sca</artifactId>
diff --git a/samples/learning-more/binding-ws/calculator-contribution/pom.xml b/samples/learning-more/binding-ws/calculator-contribution/pom.xml
index 76cd542..8f32a3c 100644
--- a/samples/learning-more/binding-ws/calculator-contribution/pom.xml
+++ b/samples/learning-more/binding-ws/calculator-contribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sample-binding-ws</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-binding-ws-calculator-contribution</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/samples/learning-more/binding-ws/helloworld-ws-sdo-contribution/pom.xml b/samples/learning-more/binding-ws/helloworld-ws-sdo-contribution/pom.xml
index d247229..8a73291 100644
--- a/samples/learning-more/binding-ws/helloworld-ws-sdo-contribution/pom.xml
+++ b/samples/learning-more/binding-ws/helloworld-ws-sdo-contribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sample-binding-ws</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-binding-ws-helloworld-ws-sdo-contribution</artifactId>
@@ -32,26 +32,26 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
@@ -79,14 +79,14 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-sdo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
@@ -108,12 +108,12 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<dependencies>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-sdo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</plugin>
diff --git a/samples/learning-more/binding-ws/holder-ws-service/pom.xml b/samples/learning-more/binding-ws/holder-ws-service/pom.xml
index 37e9fef..781d7d2 100644
--- a/samples/learning-more/binding-ws/holder-ws-service/pom.xml
+++ b/samples/learning-more/binding-ws/holder-ws-service/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sample-binding-ws</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,71 +35,71 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-wsdlgen</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-security</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
@@ -117,7 +117,7 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</plugin>
</plugins>
</build>
diff --git a/samples/learning-more/binding-ws/pom.xml b/samples/learning-more/binding-ws/pom.xml
index 5cf7263..68d275a 100644
--- a/samples/learning-more/binding-ws/pom.xml
+++ b/samples/learning-more/binding-ws/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-learning-more</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-sample-binding-ws</artifactId>
@@ -36,7 +36,7 @@
<activeByDefault>true</activeByDefault>
</activation>
<modules>
- <module>calculator-contribution</module>
+ <module>calculator-contribution</module>
<!--module>helloworld-ws-sdo-contribution</module-->
</modules>
</profile>
diff --git a/samples/learning-more/distributed-osgi/dosgi-dynamic-calculator-operations/pom.xml b/samples/learning-more/distributed-osgi/dosgi-dynamic-calculator-operations/pom.xml
index 3f06c26..09cc59f 100644
--- a/samples/learning-more/distributed-osgi/dosgi-dynamic-calculator-operations/pom.xml
+++ b/samples/learning-more/distributed-osgi/dosgi-dynamic-calculator-operations/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-distributed-osgi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,21 +33,21 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-all</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-launcher-equinox</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl-osgi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
diff --git a/samples/learning-more/distributed-osgi/dosgi-dynamic-calculator/pom.xml b/samples/learning-more/distributed-osgi/dosgi-dynamic-calculator/pom.xml
index 9739662..55ec2f8 100644
--- a/samples/learning-more/distributed-osgi/dosgi-dynamic-calculator/pom.xml
+++ b/samples/learning-more/distributed-osgi/dosgi-dynamic-calculator/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-distributed-osgi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,27 +33,27 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-ejava</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-webservice</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-launcher-equinox</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl-osgi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
diff --git a/samples/learning-more/distributed-osgi/pom.xml b/samples/learning-more/distributed-osgi/pom.xml
index a68ee3f..378826a 100644
--- a/samples/learning-more/distributed-osgi/pom.xml
+++ b/samples/learning-more/distributed-osgi/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-learning-more</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-samples-distributed-osgi</artifactId>
diff --git a/samples/learning-more/implementation-bpel/helloworld-bpel-contribution/pom.xml b/samples/learning-more/implementation-bpel/helloworld-bpel-contribution/pom.xml
index f847ff9..e580f84 100644
--- a/samples/learning-more/implementation-bpel/helloworld-bpel-contribution/pom.xml
+++ b/samples/learning-more/implementation-bpel/helloworld-bpel-contribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sample-implementation-bpel</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,7 +34,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -61,12 +61,12 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<dependencies>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-bpel-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</plugin>
diff --git a/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/pom.xml b/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/pom.xml
index 0c7c4c2..4d04d88 100644
--- a/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/pom.xml
+++ b/samples/learning-more/implementation-bpel/helloworld-bpel-webapp/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sample-implementation-bpel</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,7 +33,7 @@
<name>Apache Tuscany SCA Sample implementation.bpel Helloworld WebApp</name>
<properties>
- <tuscany.version>2.0-SNAPSHOT</tuscany.version>
+ <tuscany.version>2.0-Beta2</tuscany.version>
<jetty.version>6.1.18</jetty.version>
</properties>
diff --git a/samples/learning-more/implementation-bpel/pom.xml b/samples/learning-more/implementation-bpel/pom.xml
index e5945d2..433d72e 100644
--- a/samples/learning-more/implementation-bpel/pom.xml
+++ b/samples/learning-more/implementation-bpel/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-learning-more</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-sample-implementation-bpel</artifactId>
diff --git a/samples/learning-more/implementation-composite/helloworld-recursive-ws/pom.xml b/samples/learning-more/implementation-composite/helloworld-recursive-ws/pom.xml
index 9aea222..04a0327 100644
--- a/samples/learning-more/implementation-composite/helloworld-recursive-ws/pom.xml
+++ b/samples/learning-more/implementation-composite/helloworld-recursive-ws/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-implementation-composite</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,13 +34,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>sample-helloworld-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -67,7 +67,7 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<configuration>
<contributions>
<!-- add the dependee contribution that this contribution uses -->
diff --git a/samples/learning-more/implementation-composite/helloworld-recursive/pom.xml b/samples/learning-more/implementation-composite/helloworld-recursive/pom.xml
index ab959a5..8121322 100644
--- a/samples/learning-more/implementation-composite/helloworld-recursive/pom.xml
+++ b/samples/learning-more/implementation-composite/helloworld-recursive/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-implementation-composite</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,7 +34,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -62,7 +62,7 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<configuration>
<contributions>
<!-- add the dependee contribution that this contribution uses -->
diff --git a/samples/learning-more/implementation-composite/pom.xml b/samples/learning-more/implementation-composite/pom.xml
index baad819..cdaa31f 100644
--- a/samples/learning-more/implementation-composite/pom.xml
+++ b/samples/learning-more/implementation-composite/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-learning-more</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-samples-implementation-composite</artifactId>
diff --git a/samples/learning-more/implementation-java/calculator-contribution/pom.xml b/samples/learning-more/implementation-java/calculator-contribution/pom.xml
index 5b5375f..ef4645c 100644
--- a/samples/learning-more/implementation-java/calculator-contribution/pom.xml
+++ b/samples/learning-more/implementation-java/calculator-contribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sample-implementation-java</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-implementation-java-calculator-contribution</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -49,7 +49,7 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</plugin>
</plugins>
</build>
diff --git a/samples/learning-more/implementation-java/pom.xml b/samples/learning-more/implementation-java/pom.xml
index 65fe334..6ad9944 100644
--- a/samples/learning-more/implementation-java/pom.xml
+++ b/samples/learning-more/implementation-java/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-learning-more</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-sample-implementation-java</artifactId>
diff --git a/samples/learning-more/implementation-osgi/dosgi-calculator-operations/pom.xml b/samples/learning-more/implementation-osgi/dosgi-calculator-operations/pom.xml
index 770a20b..5d78e94 100644
--- a/samples/learning-more/implementation-osgi/dosgi-calculator-operations/pom.xml
+++ b/samples/learning-more/implementation-osgi/dosgi-calculator-operations/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-distributed-osgi-static</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,21 +33,21 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-all</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-launcher-equinox</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl-osgi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
diff --git a/samples/learning-more/implementation-osgi/dosgi-calculator/pom.xml b/samples/learning-more/implementation-osgi/dosgi-calculator/pom.xml
index f15cab6..0be3fb3 100644
--- a/samples/learning-more/implementation-osgi/dosgi-calculator/pom.xml
+++ b/samples/learning-more/implementation-osgi/dosgi-calculator/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-distributed-osgi-static</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,27 +33,27 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-ejava</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-webservice</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-launcher-equinox</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl-osgi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
diff --git a/samples/learning-more/implementation-osgi/pom.xml b/samples/learning-more/implementation-osgi/pom.xml
index ad5421c..c71e163 100644
--- a/samples/learning-more/implementation-osgi/pom.xml
+++ b/samples/learning-more/implementation-osgi/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-learning-more</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-samples-distributed-osgi-static</artifactId>
diff --git a/samples/learning-more/implementation-script/calculator-contribution/pom.xml b/samples/learning-more/implementation-script/calculator-contribution/pom.xml
index 11836ec..4b09f21 100644
--- a/samples/learning-more/implementation-script/calculator-contribution/pom.xml
+++ b/samples/learning-more/implementation-script/calculator-contribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sample-implementation-script</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-implementation-script-calculator-contribution</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -50,7 +50,7 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</plugin>
</plugins>
</build>
diff --git a/samples/learning-more/implementation-script/pom.xml b/samples/learning-more/implementation-script/pom.xml
index 6dcf2bb..279ee9e 100644
--- a/samples/learning-more/implementation-script/pom.xml
+++ b/samples/learning-more/implementation-script/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-learning-more</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-sample-implementation-script</artifactId>
diff --git a/samples/learning-more/implementation-spring/helloworld-spring-contribution/pom.xml b/samples/learning-more/implementation-spring/helloworld-spring-contribution/pom.xml
index a1e1c86..a9debe5 100644
--- a/samples/learning-more/implementation-spring/helloworld-spring-contribution/pom.xml
+++ b/samples/learning-more/implementation-spring/helloworld-spring-contribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-implementation-spring</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -52,12 +52,12 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<dependencies>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-spring-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</plugin>
diff --git a/samples/learning-more/implementation-spring/helloworld-spring-webapp/pom.xml b/samples/learning-more/implementation-spring/helloworld-spring-webapp/pom.xml
index 5b96d7d..5470025 100644
--- a/samples/learning-more/implementation-spring/helloworld-spring-webapp/pom.xml
+++ b/samples/learning-more/implementation-spring/helloworld-spring-webapp/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-implementation-spring</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,31 +34,31 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-spring-webapp</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-spring-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>sample-implementation-spring-helloworld-contribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
diff --git a/samples/learning-more/implementation-spring/pom.xml b/samples/learning-more/implementation-spring/pom.xml
index 89acc85..9e7d23e 100644
--- a/samples/learning-more/implementation-spring/pom.xml
+++ b/samples/learning-more/implementation-spring/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-learning-more</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-samples-implementation-spring</artifactId>
diff --git a/samples/learning-more/implementation-web/helloworld-jaxrs/pom.xml b/samples/learning-more/implementation-web/helloworld-jaxrs/pom.xml
index 43b0e64..1d16a09 100644
--- a/samples/learning-more/implementation-web/helloworld-jaxrs/pom.xml
+++ b/samples/learning-more/implementation-web/helloworld-jaxrs/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-implementation-webapp</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -36,7 +36,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Wink dependency for JAX-RS support -->
diff --git a/samples/learning-more/implementation-web/helloworld-js-client/pom.xml b/samples/learning-more/implementation-web/helloworld-js-client/pom.xml
index bbde1b0..54dae04 100644
--- a/samples/learning-more/implementation-web/helloworld-js-client/pom.xml
+++ b/samples/learning-more/implementation-web/helloworld-js-client/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-implementation-webapp</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-json</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/samples/learning-more/implementation-web/helloworld-jsf/pom.xml b/samples/learning-more/implementation-web/helloworld-jsf/pom.xml
index d93f147..9c28939 100644
--- a/samples/learning-more/implementation-web/helloworld-jsf/pom.xml
+++ b/samples/learning-more/implementation-web/helloworld-jsf/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-implementation-webapp</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,21 +35,21 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-myfaces</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
diff --git a/samples/learning-more/implementation-web/helloworld-jsp/pom.xml b/samples/learning-more/implementation-web/helloworld-jsp/pom.xml
index 0aeed87..0365bcf 100644
--- a/samples/learning-more/implementation-web/helloworld-jsp/pom.xml
+++ b/samples/learning-more/implementation-web/helloworld-jsp/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-implementation-webapp</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,7 +35,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/samples/learning-more/implementation-web/helloworld-servlet/pom.xml b/samples/learning-more/implementation-web/helloworld-servlet/pom.xml
index 8892949..bb5c70a 100644
--- a/samples/learning-more/implementation-web/helloworld-servlet/pom.xml
+++ b/samples/learning-more/implementation-web/helloworld-servlet/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-implementation-webapp</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,7 +35,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/samples/learning-more/implementation-web/helloworld-stripes/pom.xml b/samples/learning-more/implementation-web/helloworld-stripes/pom.xml
index fd96fc3..350c6d9 100644
--- a/samples/learning-more/implementation-web/helloworld-stripes/pom.xml
+++ b/samples/learning-more/implementation-web/helloworld-stripes/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-implementation-webapp</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -36,13 +36,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-stripes</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Stripes Framework dependencies -->
diff --git a/samples/learning-more/implementation-web/pom.xml b/samples/learning-more/implementation-web/pom.xml
index 94b39e5..aa14f95 100644
--- a/samples/learning-more/implementation-web/pom.xml
+++ b/samples/learning-more/implementation-web/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-learning-more</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-samples-implementation-webapp</artifactId>
diff --git a/samples/learning-more/pom.xml b/samples/learning-more/pom.xml
index 1b11cf0..90602aa 100644
--- a/samples/learning-more/pom.xml
+++ b/samples/learning-more/pom.xml
@@ -22,12 +22,12 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-learning-more</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<packaging>pom</packaging>
<name>Apache Tuscany SCA Learning More Sample Contributions</name>
diff --git a/samples/learning-more/sca-client/calculator-scaclient/pom.xml b/samples/learning-more/sca-client/calculator-scaclient/pom.xml
index 2122876..79c2b51 100644
--- a/samples/learning-more/sca-client/calculator-scaclient/pom.xml
+++ b/samples/learning-more/sca-client/calculator-scaclient/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-sca-client</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,7 +34,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/samples/learning-more/sca-client/helloworld-scaclient/pom.xml b/samples/learning-more/sca-client/helloworld-scaclient/pom.xml
index a123478..ba75f53 100644
--- a/samples/learning-more/sca-client/helloworld-scaclient/pom.xml
+++ b/samples/learning-more/sca-client/helloworld-scaclient/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-sca-client</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,7 +34,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/samples/learning-more/sca-client/pom.xml b/samples/learning-more/sca-client/pom.xml
index 5c125be..9d23067 100644
--- a/samples/learning-more/sca-client/pom.xml
+++ b/samples/learning-more/sca-client/pom.xml
@@ -22,11 +22,11 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-learning-more</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>org.apache.tuscany.sca</groupId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<artifactId>tuscany-samples-sca-client</artifactId>
<packaging>pom</packaging>
<name>Apache Tuscany SCA SCAClient Samples</name>
diff --git a/samples/pom.xml b/samples/pom.xml
index 5866e18..d0fe9c1 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -22,12 +22,12 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-samples</artifactId>
<groupId>org.apache.tuscany.sca</groupId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<packaging>pom</packaging>
<name>Apache Tuscany SCA Samples</name>
diff --git a/samples/running-tuscany/embedded-jse/build.xml b/samples/running-tuscany/embedded-jse/build.xml
index a8f13a0..d4b2b7b 100644
--- a/samples/running-tuscany/embedded-jse/build.xml
+++ b/samples/running-tuscany/embedded-jse/build.xml
@@ -113,7 +113,7 @@
<classpath>
<pathelement location="target/${jar.name}"/>
<fileset dir="${tuscany.home}/lib">
- <include name="tuscany-base-runtime-aggregation-2.0-SNAPSHOT.jar" />
+ <include name="tuscany-base-runtime-aggregation-2.0-Beta2.jar" />
</fileset>
</classpath>
</java>
diff --git a/samples/running-tuscany/embedded-jse/pom.xml b/samples/running-tuscany/embedded-jse/pom.xml
index c175940..7dddcfe 100644
--- a/samples/running-tuscany/embedded-jse/pom.xml
+++ b/samples/running-tuscany/embedded-jse/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-running-tuscany</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-launcher-embedded-jse</artifactId>
@@ -32,37 +32,37 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rmi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-script-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/samples/running-tuscany/embedded-osgi-base/pom.xml b/samples/running-tuscany/embedded-osgi-base/pom.xml
index d20dd90..a7cf0a1 100644
--- a/samples/running-tuscany/embedded-osgi-base/pom.xml
+++ b/samples/running-tuscany/embedded-osgi-base/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-running-tuscany</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-launcher-embedded-osgi-base</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-nodep</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
diff --git a/samples/running-tuscany/embedded-osgi/pom.xml b/samples/running-tuscany/embedded-osgi/pom.xml
index 06b2945..73143c0 100644
--- a/samples/running-tuscany/embedded-osgi/pom.xml
+++ b/samples/running-tuscany/embedded-osgi/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-running-tuscany</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-launcher-embedded-osgi</artifactId>
@@ -32,27 +32,27 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-osgi-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/samples/running-tuscany/maven-junit/calculator-contribution/pom.xml b/samples/running-tuscany/maven-junit/calculator-contribution/pom.xml
index 82e0845..d2c16a0 100644
--- a/samples/running-tuscany/maven-junit/calculator-contribution/pom.xml
+++ b/samples/running-tuscany/maven-junit/calculator-contribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sample-maven-junit</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-maven-junit-calculator-contribution</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -50,7 +50,7 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</plugin>
</plugins>
</build>
diff --git a/samples/running-tuscany/maven-junit/pom.xml b/samples/running-tuscany/maven-junit/pom.xml
index 5dbce2c..29d1321 100644
--- a/samples/running-tuscany/maven-junit/pom.xml
+++ b/samples/running-tuscany/maven-junit/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-running-tuscany</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-sample-maven-junit</artifactId>
diff --git a/samples/running-tuscany/maven-osgi-junit/calculator-osgi/pom.xml b/samples/running-tuscany/maven-osgi-junit/calculator-osgi/pom.xml
index 924d9f7..73ff83f 100644
--- a/samples/running-tuscany/maven-osgi-junit/calculator-osgi/pom.xml
+++ b/samples/running-tuscany/maven-osgi-junit/calculator-osgi/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-maven-osgi-junit-calculator-osgi</artifactId>
@@ -32,14 +32,14 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-all</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
</dependency>
diff --git a/samples/running-tuscany/maven-osgi-junit/calculator-rest-osgi/pom.xml b/samples/running-tuscany/maven-osgi-junit/calculator-rest-osgi/pom.xml
index b13e4fc..9ad2842 100644
--- a/samples/running-tuscany/maven-osgi-junit/calculator-rest-osgi/pom.xml
+++ b/samples/running-tuscany/maven-osgi-junit/calculator-rest-osgi/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-maven-osgi-junit-calculator-rest-osgi</artifactId>
@@ -32,27 +32,27 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-osgi-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rest-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
<type>pom</type>
</dependency>
@@ -75,7 +75,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/samples/running-tuscany/maven-osgi-junit/pom.xml b/samples/running-tuscany/maven-osgi-junit/pom.xml
index b2e096c..5f72b8c 100644
--- a/samples/running-tuscany/maven-osgi-junit/pom.xml
+++ b/samples/running-tuscany/maven-osgi-junit/pom.xml
@@ -22,12 +22,12 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-maven-osgi-junit</artifactId>
<groupId>org.apache.tuscany.sca</groupId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<packaging>pom</packaging>
<name>Apache Tuscany SCA Maven OSGI Junit plugin Samples</name>
diff --git a/samples/running-tuscany/pom.xml b/samples/running-tuscany/pom.xml
index 1cc0cab..9dcd349 100644
--- a/samples/running-tuscany/pom.xml
+++ b/samples/running-tuscany/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-samples-running-tuscany</artifactId>
diff --git a/samples/running-tuscany/shell/pom.xml b/samples/running-tuscany/shell/pom.xml
index bfaabcd..c326ad8 100644
--- a/samples/running-tuscany/shell/pom.xml
+++ b/samples/running-tuscany/shell/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-samples-running-tuscany</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sample-launcher-shell</artifactId>
@@ -34,34 +34,34 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-api</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-core</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-webservice</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-web20</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-webapp</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -74,19 +74,19 @@
</dependencies>
<build>
- <finalName>scashell</finalName>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>tomcat-maven-plugin</artifactId>
- <version>1.0</version>
- <configuration>
- <!-- Key used for configuring access to server in settings.xml-->
- <server>tomcat</server>
- <!-- context for the webapp, as finalName is not being honored -->
- <path>/scashell</path>
- </configuration>
- </plugin>
+ <finalName>scashell</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>tomcat-maven-plugin</artifactId>
+ <version>1.0</version>
+ <configuration>
+ <!-- Key used for configuring access to server in settings.xml-->
+ <server>tomcat</server>
+ <!-- context for the webapp, as finalName is not being honored -->
+ <path>/scashell</path>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/testing/compliance-tests/assembly/pom.xml b/testing/compliance-tests/assembly/pom.xml
index 650db48..0d2efbd 100644
--- a/testing/compliance-tests/assembly/pom.xml
+++ b/testing/compliance-tests/assembly/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-compliance-tests</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-compliance-test-assembly</artifactId>
@@ -35,19 +35,19 @@
<!-- dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-otests-asm-tests</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -100,14 +100,14 @@
<artifactItem>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>oasis-assembly-contributions</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>zip</type>
<outputDirectory>${project.build.directory}/oasis-contributions</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-otests-asm-tests</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>jar</type>
<excludes>commons-logging.properties,oasis-sca-tests.properties</excludes>
<outputDirectory>${project.build.directory}/test-classes</outputDirectory>
diff --git a/testing/compliance-tests/binding-jms/pom.xml b/testing/compliance-tests/binding-jms/pom.xml
index 6964ecf..1793266 100644
--- a/testing/compliance-tests/binding-jms/pom.xml
+++ b/testing/compliance-tests/binding-jms/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-compliance-tests</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-compliance-test-binding-jms</artifactId>
@@ -35,27 +35,27 @@
<!-- The dependency plugin unpack is needed as presently the surefire plugin wont run tests in a dependency jar -->
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-otests-sca-jms-tests</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jms-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -118,14 +118,14 @@
<artifactItem>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>oasis-jms-contributions</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>zip</type>
<outputDirectory>${project.build.directory}/oasis-contributions</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-otests-sca-jms-tests</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>jar</type>
<excludes>commons-logging.properties,oasis-sca-tests.properties,tuscany-oasis-sca-tests-errors.properties</excludes>
<outputDirectory>${project.build.directory}/test-classes</outputDirectory>
diff --git a/testing/compliance-tests/binding-ws/pom.xml b/testing/compliance-tests/binding-ws/pom.xml
index f659186..c4dca5c 100644
--- a/testing/compliance-tests/binding-ws/pom.xml
+++ b/testing/compliance-tests/binding-ws/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-compliance-tests</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-compliance-test-binding-ws</artifactId>
@@ -35,19 +35,19 @@
<!-- dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-otests-sca-ws-tests</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -102,14 +102,14 @@
<artifactItem>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>oasis-ws-contributions</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>zip</type>
<outputDirectory>${project.build.directory}/oasis-contributions</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-otests-sca-ws-tests</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>jar</type>
<excludes>commons-logging.properties,oasis-sca-tests.properties</excludes>
<outputDirectory>${project.build.directory}/test-classes</outputDirectory>
diff --git a/testing/compliance-tests/java-caa/pom.xml b/testing/compliance-tests/java-caa/pom.xml
index b5d4acb..fd15ff4 100644
--- a/testing/compliance-tests/java-caa/pom.xml
+++ b/testing/compliance-tests/java-caa/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-compliance-tests</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-compliance-test-java-caa</artifactId>
@@ -35,19 +35,19 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-otests-sca-j-caa-tests</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -104,14 +104,14 @@
<artifactItem>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>oasis-javacaa-contributions</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>zip</type>
<outputDirectory>${project.build.directory}/oasis-contributions</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-otests-sca-j-caa-tests</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>jar</type>
<excludes>commons-logging.properties,oasis-sca-tests.properties,tuscany-oasis-sca-tests-errors.properties</excludes>
<outputDirectory>${project.build.directory}/test-classes</outputDirectory>
diff --git a/testing/compliance-tests/java-ci/pom.xml b/testing/compliance-tests/java-ci/pom.xml
index 5b8b938..64b9995 100644
--- a/testing/compliance-tests/java-ci/pom.xml
+++ b/testing/compliance-tests/java-ci/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-compliance-tests</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-compliance-test-java-ci</artifactId>
@@ -33,13 +33,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -92,14 +92,14 @@
<artifactItem>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>oasis-jci-contributions</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>zip</type>
<outputDirectory>${project.build.directory}/oasis-contributions</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-otests-sca-j-ci-tests</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>jar</type>
<excludes>commons-logging.properties,oasis-sca-tests.properties,tuscany-oasis-sca-tests-errors.properties</excludes>
<outputDirectory>${project.build.directory}/test-classes</outputDirectory>
diff --git a/testing/compliance-tests/policy/pom.xml b/testing/compliance-tests/policy/pom.xml
index afdc97a..1ccfe43 100644
--- a/testing/compliance-tests/policy/pom.xml
+++ b/testing/compliance-tests/policy/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-compliance-tests</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-compliance-test-policy</artifactId>
@@ -35,19 +35,19 @@
<!-- dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-otests-policy-tests</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -105,14 +105,14 @@
<artifactItem>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>oasis-policy-contributions</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>zip</type>
<outputDirectory>${project.build.directory}/oasis-contributions</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-otests-policy-tests</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>jar</type>
<excludes>commons-logging.properties,oasis-sca-tests.properties,tuscany-oasis-sca-tests-errors.properties</excludes>
<outputDirectory>${project.build.directory}/test-classes</outputDirectory>
diff --git a/testing/compliance-tests/pom.xml b/testing/compliance-tests/pom.xml
index 3682892..6cde73b 100644
--- a/testing/compliance-tests/pom.xml
+++ b/testing/compliance-tests/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/T3558/pom.xml b/testing/itest/T3558/pom.xml
index 49f4619..aa34ad6 100644
--- a/testing/itest/T3558/pom.xml
+++ b/testing/itest/T3558/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,12 +33,12 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-data-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/async-interactions/pom.xml b/testing/itest/async-interactions/pom.xml
index c61bf5d..715214e 100644
--- a/testing/itest/async-interactions/pom.xml
+++ b/testing/itest/async-interactions/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,13 +34,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jms-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
diff --git a/testing/itest/async-services/pom.xml b/testing/itest/async-services/pom.xml
index 0e5ac16..58af07b 100644
--- a/testing/itest/async-services/pom.xml
+++ b/testing/itest/async-services/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-async-services</artifactId>
@@ -44,19 +44,19 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jms-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/base/dependencies/pom.xml b/testing/itest/base/dependencies/pom.xml
index fd2e5ce..af4d1c8 100644
--- a/testing/itest/base/dependencies/pom.xml
+++ b/testing/itest/base/dependencies/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/base/pom.xml b/testing/itest/base/pom.xml
index 930f119..0c1759d 100644
--- a/testing/itest/base/pom.xml
+++ b/testing/itest/base/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<packaging>pom</packaging>
diff --git a/testing/itest/bpel/helloworld-reference/pom.xml b/testing/itest/bpel/helloworld-reference/pom.xml
index 75856a4..0765bff 100644
--- a/testing/itest/bpel/helloworld-reference/pom.xml
+++ b/testing/itest/bpel/helloworld-reference/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-bpel</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>itest-bpel-helloworld-reference</artifactId>
@@ -39,34 +39,34 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-bpel-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
diff --git a/testing/itest/bpel/helloworld-ws/pom.xml b/testing/itest/bpel/helloworld-ws/pom.xml
index dffbb4f..c4b9f34 100644
--- a/testing/itest/bpel/helloworld-ws/pom.xml
+++ b/testing/itest/bpel/helloworld-ws/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-bpel</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>itest-bpel-helloworld-ws
@@ -37,27 +37,27 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-bpel-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
diff --git a/testing/itest/bpel/helloworld/pom.xml b/testing/itest/bpel/helloworld/pom.xml
index 56f27c3..b981328 100644
--- a/testing/itest/bpel/helloworld/pom.xml
+++ b/testing/itest/bpel/helloworld/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-bpel</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>itest-bpel-helloworld</artifactId>
@@ -41,13 +41,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-bpel-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
diff --git a/testing/itest/bpel/pom.xml b/testing/itest/bpel/pom.xml
index 10cc5e2..6cd2944 100644
--- a/testing/itest/bpel/pom.xml
+++ b/testing/itest/bpel/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-bpel</artifactId>
diff --git a/testing/itest/builder/pom.xml b/testing/itest/builder/pom.xml
index 66ac4cd..3617013 100644
--- a/testing/itest/builder/pom.xml
+++ b/testing/itest/builder/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-builder</artifactId>
@@ -33,13 +33,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/callback-api/pom.xml b/testing/itest/callback-api/pom.xml
index 5b3340f..9a0667e 100644
--- a/testing/itest/callback-api/pom.xml
+++ b/testing/itest/callback-api/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-callback-api</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/callback-basic/pom.xml b/testing/itest/callback-basic/pom.xml
index 5f44414..f671d40 100644
--- a/testing/itest/callback-basic/pom.xml
+++ b/testing/itest/callback-basic/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-callback-basic</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/callback-complex-type/pom.xml b/testing/itest/callback-complex-type/pom.xml
index a49fcfd..3413c3a 100644
--- a/testing/itest/callback-complex-type/pom.xml
+++ b/testing/itest/callback-complex-type/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-callback-complex-type</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/callback-multiple-wires/pom.xml b/testing/itest/callback-multiple-wires/pom.xml
index d84bf37..a64c042 100644
--- a/testing/itest/callback-multiple-wires/pom.xml
+++ b/testing/itest/callback-multiple-wires/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-callback-multiple-wires</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/callback-separatethread/pom.xml b/testing/itest/callback-separatethread/pom.xml
index b1c64a2..d4f7a89 100644
--- a/testing/itest/callback-separatethread/pom.xml
+++ b/testing/itest/callback-separatethread/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-callback-separatethread</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/callback-two-composites/pom.xml b/testing/itest/callback-two-composites/pom.xml
index a813fe1..19f29d4 100644
--- a/testing/itest/callback-two-composites/pom.xml
+++ b/testing/itest/callback-two-composites/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-callback-two-composites</artifactId>
@@ -33,13 +33,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/callback-two-nodes/pom.xml b/testing/itest/callback-two-nodes/pom.xml
index 805fcd0..336893e 100644
--- a/testing/itest/callback-two-nodes/pom.xml
+++ b/testing/itest/callback-two-nodes/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-callback-two-nodes</artifactId>
@@ -33,13 +33,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -50,7 +50,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-hazelcast</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/testing/itest/component-type/pom.xml b/testing/itest/component-type/pom.xml
index a8a525c..cd19f9c 100644
--- a/testing/itest/component-type/pom.xml
+++ b/testing/itest/component-type/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-component-type</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/contribution-folder/pom.xml b/testing/itest/contribution-folder/pom.xml
index cd2dfb2..0462fa0 100644
--- a/testing/itest/contribution-folder/pom.xml
+++ b/testing/itest/contribution-folder/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-contribution-folder</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/contribution-import-export/pom.xml b/testing/itest/contribution-import-export/pom.xml
index f9bced0..55d891f 100644
--- a/testing/itest/contribution-import-export/pom.xml
+++ b/testing/itest/contribution-import-export/pom.xml
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/contribution-zip/pom.xml b/testing/itest/contribution-zip/pom.xml
index 58daf0d..87d2bc8 100644
--- a/testing/itest/contribution-zip/pom.xml
+++ b/testing/itest/contribution-zip/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-contribution-zip</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/corba/pom.xml b/testing/itest/corba/pom.xml
index b6f8655..6b8568c 100644
--- a/testing/itest/corba/pom.xml
+++ b/testing/itest/corba/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-corba-binding</artifactId>
@@ -32,55 +32,55 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-corba-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-corba-jse</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-corba-jse-tns</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-sca-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-axiom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-sdo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>compile</scope>
</dependency>
diff --git a/testing/itest/databindings/jaxb-bottom-up/pom.xml b/testing/itest/databindings/jaxb-bottom-up/pom.xml
index df9036f..b4d838f 100644
--- a/testing/itest/databindings/jaxb-bottom-up/pom.xml
+++ b/testing/itest/databindings/jaxb-bottom-up/pom.xml
@@ -21,14 +21,14 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-databindings</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>itest-databindings-jaxb-bottom-up</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<name>Apache Tuscany SCA iTest Databinding - JAXB Bottom Up</name>
<repositories>
@@ -61,13 +61,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/databindings/jaxb-top-down/pom.xml b/testing/itest/databindings/jaxb-top-down/pom.xml
index 1138b5c..cf864cd 100644
--- a/testing/itest/databindings/jaxb-top-down/pom.xml
+++ b/testing/itest/databindings/jaxb-top-down/pom.xml
@@ -24,12 +24,12 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-databindings</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>itest-databindings-jaxb-top-down</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<name>Apache Tuscany SCA iTest Databinding - JAXB Top Down</name>
<repositories>
@@ -62,13 +62,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/databindings/pom.xml b/testing/itest/databindings/pom.xml
index 8615b6c..0a69ba4 100644
--- a/testing/itest/databindings/pom.xml
+++ b/testing/itest/databindings/pom.xml
@@ -22,13 +22,13 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-databindings</artifactId>
<name>Apache Tuscany SCA Databindings Integration Tests</name>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<packaging>pom</packaging>
<build>
diff --git a/testing/itest/distribution/bin-distro-unzip/pom.xml b/testing/itest/distribution/bin-distro-unzip/pom.xml
index d9793d8..57103f5 100644
--- a/testing/itest/distribution/bin-distro-unzip/pom.xml
+++ b/testing/itest/distribution/bin-distro-unzip/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-distribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-bin-distro-unzip</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution-all</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/distribution/contribution-binding-jsonrpc-calculator/pom.xml b/testing/itest/distribution/contribution-binding-jsonrpc-calculator/pom.xml
index 90151dc..6890e6a 100644
--- a/testing/itest/distribution/contribution-binding-jsonrpc-calculator/pom.xml
+++ b/testing/itest/distribution/contribution-binding-jsonrpc-calculator/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-distribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-distribution-contribution-binding-jsonrpc-calculator</artifactId>
@@ -36,7 +36,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-bin-distro-unzip</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</profile>
diff --git a/testing/itest/distribution/contribution-binding-rmi-calculator/pom.xml b/testing/itest/distribution/contribution-binding-rmi-calculator/pom.xml
index 35058e8..2de12ef 100644
--- a/testing/itest/distribution/contribution-binding-rmi-calculator/pom.xml
+++ b/testing/itest/distribution/contribution-binding-rmi-calculator/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-distribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-distribution-contribution-binding-rmi-calculator</artifactId>
@@ -36,7 +36,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-bin-distro-unzip</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</profile>
diff --git a/testing/itest/distribution/contribution-binding-sca-calculator/pom.xml b/testing/itest/distribution/contribution-binding-sca-calculator/pom.xml
index 5ea30a2..f8627d6 100644
--- a/testing/itest/distribution/contribution-binding-sca-calculator/pom.xml
+++ b/testing/itest/distribution/contribution-binding-sca-calculator/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-distribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-distribution-contribution-binding-sca-calculator</artifactId>
@@ -36,7 +36,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-bin-distro-unzip</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</profile>
diff --git a/testing/itest/distribution/contribution-binding-ws-calculator/pom.xml b/testing/itest/distribution/contribution-binding-ws-calculator/pom.xml
index c598f12..3993c16 100644
--- a/testing/itest/distribution/contribution-binding-ws-calculator/pom.xml
+++ b/testing/itest/distribution/contribution-binding-ws-calculator/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-distribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-distribution-contribution-binding-ws-calculator</artifactId>
@@ -36,7 +36,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-bin-distro-unzip</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</profile>
diff --git a/testing/itest/distribution/contribution-implementation-java-calculator/pom.xml b/testing/itest/distribution/contribution-implementation-java-calculator/pom.xml
index a0a1790..a867f52 100644
--- a/testing/itest/distribution/contribution-implementation-java-calculator/pom.xml
+++ b/testing/itest/distribution/contribution-implementation-java-calculator/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-distribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-distribution-contribution-implementation-java-calculator</artifactId>
@@ -36,7 +36,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-bin-distro-unzip</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</profile>
diff --git a/testing/itest/distribution/launcher-embedded-jse/pom.xml b/testing/itest/distribution/launcher-embedded-jse/pom.xml
index 93bd2e3..b9e0d91 100644
--- a/testing/itest/distribution/launcher-embedded-jse/pom.xml
+++ b/testing/itest/distribution/launcher-embedded-jse/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-distribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-distribution-launcher-embedded-jse</artifactId>
@@ -36,7 +36,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-bin-distro-unzip</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</profile>
diff --git a/testing/itest/distribution/launcher-embedded-osgi/pom.xml b/testing/itest/distribution/launcher-embedded-osgi/pom.xml
index 0e4a97a..c435066 100644
--- a/testing/itest/distribution/launcher-embedded-osgi/pom.xml
+++ b/testing/itest/distribution/launcher-embedded-osgi/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-distribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-distribution-launcher-embedded-osgi</artifactId>
@@ -36,7 +36,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-bin-distro-unzip</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</profile>
diff --git a/testing/itest/distribution/legal-checks/pom.xml b/testing/itest/distribution/legal-checks/pom.xml
index 47ff46d..ae1dd07 100644
--- a/testing/itest/distribution/legal-checks/pom.xml
+++ b/testing/itest/distribution/legal-checks/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-distribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-distribution-legal-checks</artifactId>
@@ -36,7 +36,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-bin-distro-unzip</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</profile>
@@ -56,16 +56,16 @@
</execution>
</executions>
<configuration>
- <basedir>../../../../distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT.dir</basedir>
+ <basedir>../../../../distribution/all/target/apache-tuscany-sca-all-2.0-Beta2.dir</basedir>
<excludeSubProjects>false</excludeSubProjects>
<excludes>
- <exclude>tuscany-sca-2.0-SNAPSHOT/CHANGES</exclude>
+ <exclude>tuscany-sca-2.0-Beta2/CHANGES</exclude>
<exclude>**/MANIFEST.MF</exclude>
<exclude>**/DEPENDENCIES</exclude>
<exclude>**/target/**/*.log</exclude>
<exclude>**/config.ini</exclude>
<exclude>**/*.odg</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT/features/configuration/config.ini</exclude>
+ <exclude>tuscany-sca-2.0-Beta2/features/configuration/config.ini</exclude>
</excludes>
</configuration>
</plugin>
diff --git a/testing/itest/distribution/pom.xml b/testing/itest/distribution/pom.xml
index 5379d29..01479b7 100644
--- a/testing/itest/distribution/pom.xml
+++ b/testing/itest/distribution/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<packaging>pom</packaging>
@@ -34,7 +34,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution-all</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/distribution/src-distro-rat/pom.xml b/testing/itest/distribution/src-distro-rat/pom.xml
index b57c11f..43343c1 100644
--- a/testing/itest/distribution/src-distro-rat/pom.xml
+++ b/testing/itest/distribution/src-distro-rat/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-distribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-distribution-src-dsitro-rat</artifactId>
@@ -36,7 +36,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-src-distro-unzip</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</profile>
@@ -56,32 +56,32 @@
</execution>
</executions>
<configuration>
- <basedir>../../../../distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-src.dir</basedir>
+ <basedir>../../../../distribution/all/target/apache-tuscany-sca-all-2.0-Beta2-src.dir</basedir>
<excludeSubProjects>false</excludeSubProjects>
<excludes>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/CHANGES</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/CHANGES</exclude>
<exclude>**/*.MF</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/testing/compliance-tests/binding-ws/sca_variables.dtd</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/testing/itest/implementation-spring/src/main/resources/implementation/policies/CalculatorJass.config</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/modules/binding-ws-runtime-axis2/src/main/resources/org/apache/tuscany/sca/binding/ws/axis2/engine/repository/modules/modules.list</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/modules/binding-ws-runtime-axis2/src/main/resources/org/apache/tuscany/sca/binding/ws/axis2/engine/repository/services/services.list</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/modules/implementation-spring-tie/src/main/resources/META-INF/spring.handlers</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/modules/implementation-spring-tie/src/main/resources/META-INF/spring.schemas</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/modules/implementation-spring-runtime/src/main/resources/META-INF/spring.handlers</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/modules/implementation-spring-runtime/src/main/resources/META-INF/spring.schemas</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/maven/archetypes/binding/src/test/resources/projects/basic/goal.txt</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/modules/implementation-python-runtime/src/main/resources/django/__init__.py</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/modules/implementation-python-runtime/src/main/resources/django/utils/__init__.py</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/testing/compliance-tests/binding-ws/sca_variables.dtd</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/testing/itest/implementation-spring/src/main/resources/implementation/policies/CalculatorJass.config</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/modules/binding-ws-runtime-axis2/src/main/resources/org/apache/tuscany/sca/binding/ws/axis2/engine/repository/modules/modules.list</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/modules/binding-ws-runtime-axis2/src/main/resources/org/apache/tuscany/sca/binding/ws/axis2/engine/repository/services/services.list</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/modules/implementation-spring-tie/src/main/resources/META-INF/spring.handlers</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/modules/implementation-spring-tie/src/main/resources/META-INF/spring.schemas</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/modules/implementation-spring-runtime/src/main/resources/META-INF/spring.handlers</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/modules/implementation-spring-runtime/src/main/resources/META-INF/spring.schemas</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/maven/archetypes/binding/src/test/resources/projects/basic/goal.txt</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/modules/implementation-python-runtime/src/main/resources/django/__init__.py</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/modules/implementation-python-runtime/src/main/resources/django/utils/__init__.py</exclude>
<!-- these ones we need to implement RAT license processors to handle the non-AL headers, just exclude for now -->
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/modules/assembly-xsd/**/*.*</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/modules/sca-api/**/*.*</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/modules/implementation-web-runtime/src/main/resources/META-INF/sca.tld</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/modules/assembly-xml/src/main/resources/META-INF/sca-policy-1.1-intents-definitions-cd03.xml</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/SCAClientFactoryFinderImpl.java</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/modules/binding-comet-runtime/src/main/resources/jquery.json-2.2.min.js</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/modules/implementation-python-runtime/src/main/resources/django/utils/simplejson/*</exclude>
- <exclude>tuscany-sca-2.0-SNAPSHOT-src/testing/compliance-tests/binding-jms/src/test/resources/tuscany-oasis-sca-tests-errors.properties</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/modules/assembly-xsd/**/*.*</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/modules/sca-api/**/*.*</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/modules/implementation-web-runtime/src/main/resources/META-INF/sca.tld</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/modules/assembly-xml/src/main/resources/META-INF/sca-policy-1.1-intents-definitions-cd03.xml</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/SCAClientFactoryFinderImpl.java</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/modules/binding-comet-runtime/src/main/resources/jquery.json-2.2.min.js</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/modules/implementation-python-runtime/src/main/resources/django/utils/simplejson/*</exclude>
+ <exclude>tuscany-sca-2.0-Beta2-src/testing/compliance-tests/binding-jms/src/test/resources/tuscany-oasis-sca-tests-errors.properties</exclude>
</excludes>
</configuration>
</plugin>
diff --git a/testing/itest/distribution/src-distro-unzip/pom.xml b/testing/itest/distribution/src-distro-unzip/pom.xml
index c4b6e5e..730e697 100644
--- a/testing/itest/distribution/src-distro-unzip/pom.xml
+++ b/testing/itest/distribution/src-distro-unzip/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-distribution</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-src-distro-unzip</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-distribution-all</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/domains/distributed/pom.xml b/testing/itest/domains/distributed/pom.xml
index 61073b8..2118991 100644
--- a/testing/itest/domains/distributed/pom.xml
+++ b/testing/itest/domains/distributed/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>itest-domains-distributed</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-nodep</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/domains/helloworld/pom.xml b/testing/itest/domains/helloworld/pom.xml
index ab3e8ec..be76f33 100644
--- a/testing/itest/domains/helloworld/pom.xml
+++ b/testing/itest/domains/helloworld/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-domains-helloworld</artifactId>
@@ -32,13 +32,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-domains-interfaces</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
@@ -58,7 +58,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-zip-contribution-descriptor</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
<executions>
diff --git a/testing/itest/domains/interfaces/pom.xml b/testing/itest/domains/interfaces/pom.xml
index 73ee94f..ecc6fd9 100644
--- a/testing/itest/domains/interfaces/pom.xml
+++ b/testing/itest/domains/interfaces/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-domains-interfaces</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
diff --git a/testing/itest/domains/pom.xml b/testing/itest/domains/pom.xml
index 76286b7..642e2a2 100644
--- a/testing/itest/domains/pom.xml
+++ b/testing/itest/domains/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-domains</artifactId>
diff --git a/testing/itest/domains/standalone/pom.xml b/testing/itest/domains/standalone/pom.xml
index d434ce9..11baf53 100644
--- a/testing/itest/domains/standalone/pom.xml
+++ b/testing/itest/domains/standalone/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>itest-domains-standalone</artifactId>
@@ -32,14 +32,14 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-node</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- TODO: shouldnt need to have this dependency, should be in DomainNode -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-client-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
diff --git a/testing/itest/endpoints/pom.xml b/testing/itest/endpoints/pom.xml
index 4a962cf..1af2d13 100644
--- a/testing/itest/endpoints/pom.xml
+++ b/testing/itest/endpoints/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-endpoints</artifactId>
@@ -33,34 +33,34 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonp-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rmi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/exceptions/pom.xml b/testing/itest/exceptions/pom.xml
index 570f3ae..2d4f32c 100644
--- a/testing/itest/exceptions/pom.xml
+++ b/testing/itest/exceptions/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-exceptions</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/implementation-spring/pom.xml b/testing/itest/implementation-spring/pom.xml
index c4f1743..02ad6dc 100644
--- a/testing/itest/implementation-spring/pom.xml
+++ b/testing/itest/implementation-spring/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-implementation-spring</artifactId>
@@ -33,19 +33,19 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-spring-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/import-export/exports/pom.xml b/testing/itest/import-export/exports/pom.xml
index e83be71..240b854 100644
--- a/testing/itest/import-export/exports/pom.xml
+++ b/testing/itest/import-export/exports/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/import-export/imports/pom.xml b/testing/itest/import-export/imports/pom.xml
index 73da805..d14ac03 100644
--- a/testing/itest/import-export/imports/pom.xml
+++ b/testing/itest/import-export/imports/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,12 +33,12 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-import-export-export</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/testing/itest/import-export/pom.xml b/testing/itest/import-export/pom.xml
index 1822032..5fab6e9 100644
--- a/testing/itest/import-export/pom.xml
+++ b/testing/itest/import-export/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<packaging>pom</packaging>
diff --git a/testing/itest/import-export/tests/pom.xml b/testing/itest/import-export/tests/pom.xml
index e6f96c6..4e17b48 100644
--- a/testing/itest/import-export/tests/pom.xml
+++ b/testing/itest/import-export/tests/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,7 +34,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/interfaces/pom.xml b/testing/itest/interfaces/pom.xml
index a157492..e554c65 100644
--- a/testing/itest/interfaces/pom.xml
+++ b/testing/itest/interfaces/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-interfaces</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/jaxws-asyncclient/pom.xml b/testing/itest/jaxws-asyncclient/pom.xml
index 1f9b339..6823059 100644
--- a/testing/itest/jaxws-asyncclient/pom.xml
+++ b/testing/itest/jaxws-asyncclient/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,13 +33,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
diff --git a/testing/itest/jaxws/pom.xml b/testing/itest/jaxws/pom.xml
index 3566980..1394046 100644
--- a/testing/itest/jaxws/pom.xml
+++ b/testing/itest/jaxws/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,13 +33,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
diff --git a/testing/itest/jms/DynamicReplyQ/pom.xml b/testing/itest/jms/DynamicReplyQ/pom.xml
index fac000b..e797fdb 100644
--- a/testing/itest/jms/DynamicReplyQ/pom.xml
+++ b/testing/itest/jms/DynamicReplyQ/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/args/pom.xml b/testing/itest/jms/args/pom.xml
index bf823d4..5e96760 100644
--- a/testing/itest/jms/args/pom.xml
+++ b/testing/itest/jms/args/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/callbacks/pom.xml b/testing/itest/jms/callbacks/pom.xml
index e7ee6b3..a0a45a8 100644
--- a/testing/itest/jms/callbacks/pom.xml
+++ b/testing/itest/jms/callbacks/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-jms-callbacks</artifactId>
diff --git a/testing/itest/jms/defaults/pom.xml b/testing/itest/jms/defaults/pom.xml
index a1ebdf2..64481d0 100644
--- a/testing/itest/jms/defaults/pom.xml
+++ b/testing/itest/jms/defaults/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/definitions/pom.xml b/testing/itest/jms/definitions/pom.xml
index 041b0a1..7f9face 100644
--- a/testing/itest/jms/definitions/pom.xml
+++ b/testing/itest/jms/definitions/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/exceptions/pom.xml b/testing/itest/jms/exceptions/pom.xml
index 8bb3f33..5a4b2cc 100644
--- a/testing/itest/jms/exceptions/pom.xml
+++ b/testing/itest/jms/exceptions/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/exceptions1/pom.xml b/testing/itest/jms/exceptions1/pom.xml
index 7cfc4cd..53db4c5 100644
--- a/testing/itest/jms/exceptions1/pom.xml
+++ b/testing/itest/jms/exceptions1/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/externalBroker/pom.xml b/testing/itest/jms/externalBroker/pom.xml
index ca14525..894431e 100644
--- a/testing/itest/jms/externalBroker/pom.xml
+++ b/testing/itest/jms/externalBroker/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/format-jmsbytes/pom.xml b/testing/itest/jms/format-jmsbytes/pom.xml
index e1d3acf..739354a 100644
--- a/testing/itest/jms/format-jmsbytes/pom.xml
+++ b/testing/itest/jms/format-jmsbytes/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/format-jmsbytesxml/pom.xml b/testing/itest/jms/format-jmsbytesxml/pom.xml
index ad7f5ab..e4a6047 100644
--- a/testing/itest/jms/format-jmsbytesxml/pom.xml
+++ b/testing/itest/jms/format-jmsbytesxml/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/format-jmsdefault/pom.xml b/testing/itest/jms/format-jmsdefault/pom.xml
index 2b19a2a..704db23 100644
--- a/testing/itest/jms/format-jmsdefault/pom.xml
+++ b/testing/itest/jms/format-jmsdefault/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/format-jmsmessage/pom.xml b/testing/itest/jms/format-jmsmessage/pom.xml
index 8c03593..44c9425 100644
--- a/testing/itest/jms/format-jmsmessage/pom.xml
+++ b/testing/itest/jms/format-jmsmessage/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/format-jmsobject/pom.xml b/testing/itest/jms/format-jmsobject/pom.xml
index 78fd4a2..8f73f99 100644
--- a/testing/itest/jms/format-jmsobject/pom.xml
+++ b/testing/itest/jms/format-jmsobject/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/format-jmstext/pom.xml b/testing/itest/jms/format-jmstext/pom.xml
index 6d7b151..0f667a0 100644
--- a/testing/itest/jms/format-jmstext/pom.xml
+++ b/testing/itest/jms/format-jmstext/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/format-jmstextxml/pom.xml b/testing/itest/jms/format-jmstextxml/pom.xml
index 1d9730d..97e6167 100644
--- a/testing/itest/jms/format-jmstextxml/pom.xml
+++ b/testing/itest/jms/format-jmstextxml/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/format-jmstextxmlinjmsobjectout/pom.xml b/testing/itest/jms/format-jmstextxmlinjmsobjectout/pom.xml
index 51b5ed7..f2b3bd4 100644
--- a/testing/itest/jms/format-jmstextxmlinjmsobjectout/pom.xml
+++ b/testing/itest/jms/format-jmstextxmlinjmsobjectout/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/non-sca-client/pom.xml b/testing/itest/jms/non-sca-client/pom.xml
index b27ad7f..49c9ed7 100644
--- a/testing/itest/jms/non-sca-client/pom.xml
+++ b/testing/itest/jms/non-sca-client/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/noreplyto/pom.xml b/testing/itest/jms/noreplyto/pom.xml
index 84a48c4..8cf1e07 100644
--- a/testing/itest/jms/noreplyto/pom.xml
+++ b/testing/itest/jms/noreplyto/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/nulls/pom.xml b/testing/itest/jms/nulls/pom.xml
index 65757ba..a326729 100644
--- a/testing/itest/jms/nulls/pom.xml
+++ b/testing/itest/jms/nulls/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/oneway-nocf/pom.xml b/testing/itest/jms/oneway-nocf/pom.xml
index ed9140a..ea872d4 100644
--- a/testing/itest/jms/oneway-nocf/pom.xml
+++ b/testing/itest/jms/oneway-nocf/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-jms-oneway-nocf</artifactId>
diff --git a/testing/itest/jms/oneway/pom.xml b/testing/itest/jms/oneway/pom.xml
index c5ebc91..599d082 100644
--- a/testing/itest/jms/oneway/pom.xml
+++ b/testing/itest/jms/oneway/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/policy-headers/pom.xml b/testing/itest/jms/policy-headers/pom.xml
index 4a51e46..62d7189 100644
--- a/testing/itest/jms/policy-headers/pom.xml
+++ b/testing/itest/jms/policy-headers/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/pom.xml b/testing/itest/jms/pom.xml
index 3bcac51..90ff6f6 100644
--- a/testing/itest/jms/pom.xml
+++ b/testing/itest/jms/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<packaging>pom</packaging>
@@ -35,13 +35,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jms-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/jms/properties/pom.xml b/testing/itest/jms/properties/pom.xml
index 0876ca5..63c4612 100644
--- a/testing/itest/jms/properties/pom.xml
+++ b/testing/itest/jms/properties/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/responsecf/pom.xml b/testing/itest/jms/responsecf/pom.xml
index 2f3af33..0bfa73e 100644
--- a/testing/itest/jms/responsecf/pom.xml
+++ b/testing/itest/jms/responsecf/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/rpc/pom.xml b/testing/itest/jms/rpc/pom.xml
index 3de7491..401544f 100644
--- a/testing/itest/jms/rpc/pom.xml
+++ b/testing/itest/jms/rpc/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/selectors/pom.xml b/testing/itest/jms/selectors/pom.xml
index 4b3eee5..3a12fdc 100644
--- a/testing/itest/jms/selectors/pom.xml
+++ b/testing/itest/jms/selectors/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/topics/pom.xml b/testing/itest/jms/topics/pom.xml
index 3b9fa30..f39a643 100644
--- a/testing/itest/jms/topics/pom.xml
+++ b/testing/itest/jms/topics/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/ttl/pom.xml b/testing/itest/jms/ttl/pom.xml
index 4f9f9d8..f004ba6 100644
--- a/testing/itest/jms/ttl/pom.xml
+++ b/testing/itest/jms/ttl/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/jms/uri-rpc/pom.xml b/testing/itest/jms/uri-rpc/pom.xml
index 87f0063..ee7bc05 100644
--- a/testing/itest/jms/uri-rpc/pom.xml
+++ b/testing/itest/jms/uri-rpc/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-jms</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/node-launcher-equinox/pom.xml b/testing/itest/node-launcher-equinox/pom.xml
index 8e80bd6..368e92f 100644
--- a/testing/itest/node-launcher-equinox/pom.xml
+++ b/testing/itest/node-launcher-equinox/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-node-launcher-equinox</artifactId>
@@ -32,40 +32,40 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-launcher-equinox</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-extensibility-equinox</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<!-- dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-http-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency-->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/testing/itest/nodes/binding-sca-hazelcast/pom.xml b/testing/itest/nodes/binding-sca-hazelcast/pom.xml
index 31bff9a..fd4007a 100644
--- a/testing/itest/nodes/binding-sca-hazelcast/pom.xml
+++ b/testing/itest/nodes/binding-sca-hazelcast/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-binding-sca-hazelcast</artifactId>
@@ -33,22 +33,22 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-hazelcast</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
</dependencies>
diff --git a/testing/itest/nodes/binding-sca-tribes/pom.xml b/testing/itest/nodes/binding-sca-tribes/pom.xml
index 0cfb13d..1853c69 100644
--- a/testing/itest/nodes/binding-sca-tribes/pom.xml
+++ b/testing/itest/nodes/binding-sca-tribes/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-binding-sca-tribes</artifactId>
@@ -32,39 +32,39 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-client-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-endpoint-tribes</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rmi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/nodes/helloworld-client/pom.xml b/testing/itest/nodes/helloworld-client/pom.xml
index 8367550..da2a760 100644
--- a/testing/itest/nodes/helloworld-client/pom.xml
+++ b/testing/itest/nodes/helloworld-client/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-helloworld-client</artifactId>
@@ -32,12 +32,12 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-nodes-helloworld-iface</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/testing/itest/nodes/helloworld-iface/pom.xml b/testing/itest/nodes/helloworld-iface/pom.xml
index 87b6a4f..9676d91 100644
--- a/testing/itest/nodes/helloworld-iface/pom.xml
+++ b/testing/itest/nodes/helloworld-iface/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-helloworld-iface</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/testing/itest/nodes/helloworld-service-a/pom.xml b/testing/itest/nodes/helloworld-service-a/pom.xml
index e981d2d..2fbec09 100644
--- a/testing/itest/nodes/helloworld-service-a/pom.xml
+++ b/testing/itest/nodes/helloworld-service-a/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-helloworld-service-a</artifactId>
@@ -32,12 +32,12 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-nodes-helloworld-iface</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/testing/itest/nodes/helloworld-service-and-client/pom.xml b/testing/itest/nodes/helloworld-service-and-client/pom.xml
index 862475b..ac7a4cb 100644
--- a/testing/itest/nodes/helloworld-service-and-client/pom.xml
+++ b/testing/itest/nodes/helloworld-service-and-client/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-helloworld-service-and-client</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/testing/itest/nodes/helloworld-service-b/pom.xml b/testing/itest/nodes/helloworld-service-b/pom.xml
index 49fdb9b..27aaec4 100644
--- a/testing/itest/nodes/helloworld-service-b/pom.xml
+++ b/testing/itest/nodes/helloworld-service-b/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-helloworld-service-b</artifactId>
@@ -32,18 +32,18 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-nodes-helloworld-iface</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/nodes/helloworld-service-c/pom.xml b/testing/itest/nodes/helloworld-service-c/pom.xml
index ef7068e..2faac19 100644
--- a/testing/itest/nodes/helloworld-service-c/pom.xml
+++ b/testing/itest/nodes/helloworld-service-c/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-helloworld-Serivce-c</artifactId>
@@ -32,18 +32,18 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-nodes-helloworld-iface</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/nodes/helloworld-service/pom.xml b/testing/itest/nodes/helloworld-service/pom.xml
index e5e8457..49661fe 100644
--- a/testing/itest/nodes/helloworld-service/pom.xml
+++ b/testing/itest/nodes/helloworld-service/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-helloworld-service</artifactId>
@@ -32,12 +32,12 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-nodes-helloworld-iface</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/nodes/one-jvm-hazelcast-client/pom.xml b/testing/itest/nodes/one-jvm-hazelcast-client/pom.xml
index 2eb8acf..261c1d0 100644
--- a/testing/itest/nodes/one-jvm-hazelcast-client/pom.xml
+++ b/testing/itest/nodes/one-jvm-hazelcast-client/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-one-jvm-hazelcast-client</artifactId>
@@ -32,18 +32,18 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-nodes-helloworld-iface</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-hazelcast</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
<build>
diff --git a/testing/itest/nodes/one-jvm-hazelcast/pom.xml b/testing/itest/nodes/one-jvm-hazelcast/pom.xml
index 49d18bf..955ea02 100644
--- a/testing/itest/nodes/one-jvm-hazelcast/pom.xml
+++ b/testing/itest/nodes/one-jvm-hazelcast/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-one-jvm-hazelcast</artifactId>
@@ -32,23 +32,23 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-nodes-helloworld-service-and-client</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-nodes-helloworld-iface</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-hazelcast</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/nodes/one-jvm-tribes/pom.xml b/testing/itest/nodes/one-jvm-tribes/pom.xml
index ff52b60..bb15a3d 100644
--- a/testing/itest/nodes/one-jvm-tribes/pom.xml
+++ b/testing/itest/nodes/one-jvm-tribes/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-one-jvm-tribes</artifactId>
@@ -32,32 +32,32 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-nodes-helloworld-iface</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-client-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-endpoint-tribes</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rmi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
<build>
diff --git a/testing/itest/nodes/one-jvm/pom.xml b/testing/itest/nodes/one-jvm/pom.xml
index 1edbfc3..05458a0 100644
--- a/testing/itest/nodes/one-jvm/pom.xml
+++ b/testing/itest/nodes/one-jvm/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-one-jvm</artifactId>
@@ -32,22 +32,22 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-nodes-helloworld-iface</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-client-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/nodes/one-node-test/pom.xml b/testing/itest/nodes/one-node-test/pom.xml
index d35761b..3e14616 100644
--- a/testing/itest/nodes/one-node-test/pom.xml
+++ b/testing/itest/nodes/one-node-test/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-one-node-test</artifactId>
@@ -32,17 +32,17 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-nodes-helloworld-iface</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/nodes/pom.xml b/testing/itest/nodes/pom.xml
index 6a60de0..d4cde0f 100644
--- a/testing/itest/nodes/pom.xml
+++ b/testing/itest/nodes/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<packaging>pom</packaging>
diff --git a/testing/itest/nodes/three-nodes-three-vms-test/pom.xml b/testing/itest/nodes/three-nodes-three-vms-test/pom.xml
index 337a4ba..9ca9f50 100644
--- a/testing/itest/nodes/three-nodes-three-vms-test/pom.xml
+++ b/testing/itest/nodes/three-nodes-three-vms-test/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-three-nodes-three-vms-test</artifactId>
@@ -32,47 +32,47 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-node</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-endpoint-tribes</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-nodes-helloworld-iface</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-launcher</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-client-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-sca-runtime-rmi</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/nodes/three-nodes-three-vms-test/service-a-config.xml b/testing/itest/nodes/three-nodes-three-vms-test/service-a-config.xml
index 1f87322..8597bff 100644
--- a/testing/itest/nodes/three-nodes-three-vms-test/service-a-config.xml
+++ b/testing/itest/nodes/three-nodes-three-vms-test/service-a-config.xml
@@ -30,10 +30,10 @@
<binding name="sca:binding.ws" baseURIs="http://localhost:8082/ws https://localhost:8082/ws"/>
<!-- Configure a list of contributions -->
- <contribution uri="iface" location="../helloworld-iface/target/itest-nodes-helloworld-iface-2.0-SNAPSHOT.jar"/>
- <contribution uri="client" location="../helloworld-service-a/target/itest-nodes-helloworld-service-a-2.0-SNAPSHOT.jar">
+ <contribution uri="iface" location="../helloworld-iface/target/itest-nodes-helloworld-iface-2.0-Beta2.jar"/>
+ <contribution uri="client" location="../helloworld-service-a/target/itest-nodes-helloworld-service-a-2.0-Beta2.jar">
<!-- doesn't pick up the deployable composite properly without this?-->
<deploymentComposite location="service-a.composite"/>
</contribution>
-</node>
\ No newline at end of file
+</node>
diff --git a/testing/itest/nodes/two-nodes-test/pom.xml b/testing/itest/nodes/two-nodes-test/pom.xml
index 091f5cb..783d310 100644
--- a/testing/itest/nodes/two-nodes-test/pom.xml
+++ b/testing/itest/nodes/two-nodes-test/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-two-nodes-test</artifactId>
@@ -32,27 +32,27 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-nodes-helloworld-iface</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-client-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/nodes/two-nodes-two-vms-hazelcast/client-config.xml b/testing/itest/nodes/two-nodes-two-vms-hazelcast/client-config.xml
index a5e4a0b..2faf4ca 100644
--- a/testing/itest/nodes/two-nodes-two-vms-hazelcast/client-config.xml
+++ b/testing/itest/nodes/two-nodes-two-vms-hazelcast/client-config.xml
@@ -30,10 +30,10 @@
<binding name="sca:binding.ws" baseURIs="http://localhost:8082/ws https://localhost:8082/ws"/>
<!-- Configure a list of contributions -->
- <contribution uri="iface" location="../helloworld-iface/target/itest-nodes-helloworld-iface-2.0-SNAPSHOT.jar"/>
- <contribution uri="client" location="../helloworld-client/target/itest-nodes-helloworld-client-2.0-SNAPSHOT.jar">
+ <contribution uri="iface" location="../helloworld-iface/target/itest-nodes-helloworld-iface-2.0-Beta2.jar"/>
+ <contribution uri="client" location="../helloworld-client/target/itest-nodes-helloworld-client-2.0-Beta2.jar">
<!-- doesn't pick up the deployable composite properly without this?-->
<deploymentComposite location="helloworld-client.composite"/>
</contribution>
-</node>
\ No newline at end of file
+</node>
diff --git a/testing/itest/nodes/two-nodes-two-vms-hazelcast/client.xml b/testing/itest/nodes/two-nodes-two-vms-hazelcast/client.xml
index b7a0e63..e31af75 100644
--- a/testing/itest/nodes/two-nodes-two-vms-hazelcast/client.xml
+++ b/testing/itest/nodes/two-nodes-two-vms-hazelcast/client.xml
@@ -30,7 +30,7 @@
<target name="run-cmdline">
- <java classpath="../../../distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT.dir/tuscany-sca-2.0-SNAPSHOT/features/tuscany-sca-manifest.jar:./target/test-classes:../helloworld-iface/target/classes"
+ <java classpath="../../../distribution/all/target/apache-tuscany-sca-all-2.0-Beta2.dir/tuscany-sca-2.0-Beta2/features/tuscany-sca-manifest.jar:./target/test-classes:../helloworld-iface/target/classes"
classname="itest.Client"
fork="true"
failonerror="true">
@@ -52,4 +52,4 @@
<antcall target="run-cmdline"/>
</parallel>
</target>
-</project>
\ No newline at end of file
+</project>
diff --git a/testing/itest/nodes/two-nodes-two-vms-hazelcast/pom.xml b/testing/itest/nodes/two-nodes-two-vms-hazelcast/pom.xml
index 8f5a4d3..b0016d0 100644
--- a/testing/itest/nodes/two-nodes-two-vms-hazelcast/pom.xml
+++ b/testing/itest/nodes/two-nodes-two-vms-hazelcast/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-two-nodes-two-vms-hazelcast</artifactId>
@@ -32,52 +32,52 @@
<!--dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-node</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency-->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-hazelcast</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-nodes-helloworld-iface</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-launcher</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-client-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-sca-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rmi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/nodes/two-nodes-two-vms-hazelcast/scaclient.xml b/testing/itest/nodes/two-nodes-two-vms-hazelcast/scaclient.xml
index b85d1a7..fc96851 100644
--- a/testing/itest/nodes/two-nodes-two-vms-hazelcast/scaclient.xml
+++ b/testing/itest/nodes/two-nodes-two-vms-hazelcast/scaclient.xml
@@ -29,7 +29,7 @@
</target>
<target name="run-cmdline">
- <java classpath="../../../distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT.dir/tuscany-sca-2.0-SNAPSHOT/features/tuscany-sca-manifest.jar:./target/test-classes:../helloworld-iface/target/classes"
+ <java classpath="../../../distribution/all/target/apache-tuscany-sca-all-2.0-Beta2.dir/tuscany-sca-2.0-Beta2/features/tuscany-sca-manifest.jar:./target/test-classes:../helloworld-iface/target/classes"
classname="itest.SCAClient"
fork="true"
failonerror="true">
@@ -51,4 +51,4 @@
<antcall target="run-cmdline"/>
</parallel>
</target>
-</project>
\ No newline at end of file
+</project>
diff --git a/testing/itest/nodes/two-nodes-two-vms-hazelcast/server.xml b/testing/itest/nodes/two-nodes-two-vms-hazelcast/server.xml
index 98474d2..f9cbac4 100644
--- a/testing/itest/nodes/two-nodes-two-vms-hazelcast/server.xml
+++ b/testing/itest/nodes/two-nodes-two-vms-hazelcast/server.xml
@@ -32,11 +32,11 @@
</target>
<target name="run-cmdline">
- <java classpath="../../../distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT.dir/tuscany-sca-2.0-SNAPSHOT/features/tuscany-sca-manifest.jar:./target/test-classes:../helloworld-iface/target/classes"
+ <java classpath="../../../distribution/all/target/apache-tuscany-sca-all-2.0-Beta2.dir/tuscany-sca-2.0-Beta2/features/tuscany-sca-manifest.jar:./target/test-classes:../helloworld-iface/target/classes"
classname="itest.Service"
fork="true"
failonerror="true">
</java>
</target>
-</project>
\ No newline at end of file
+</project>
diff --git a/testing/itest/nodes/two-nodes-two-vms-test/client-config.xml b/testing/itest/nodes/two-nodes-two-vms-test/client-config.xml
index 5afc1ed..c11c231 100644
--- a/testing/itest/nodes/two-nodes-two-vms-test/client-config.xml
+++ b/testing/itest/nodes/two-nodes-two-vms-test/client-config.xml
@@ -30,10 +30,10 @@
<binding name="sca:binding.ws" baseURIs="http://localhost:8082/ws https://localhost:8082/ws"/>
<!-- Configure a list of contributions -->
- <contribution uri="iface" location="../helloworld-iface/target/itest-nodes-helloworld-iface-2.0-SNAPSHOT.jar"/>
- <contribution uri="client" location="../helloworld-client/target/itest-nodes-helloworld-client-2.0-SNAPSHOT.jar">
+ <contribution uri="iface" location="../helloworld-iface/target/itest-nodes-helloworld-iface-2.0-Beta2.jar"/>
+ <contribution uri="client" location="../helloworld-client/target/itest-nodes-helloworld-client-2.0-Beta2.jar">
<!-- doesn't pick up the deployable composite properly without this?-->
<deploymentComposite location="helloworld-client.composite"/>
</contribution>
-</node>
\ No newline at end of file
+</node>
diff --git a/testing/itest/nodes/two-nodes-two-vms-test/pom.xml b/testing/itest/nodes/two-nodes-two-vms-test/pom.xml
index 2f80274..9a078df 100644
--- a/testing/itest/nodes/two-nodes-two-vms-test/pom.xml
+++ b/testing/itest/nodes/two-nodes-two-vms-test/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-nodes-two-nodes-two-vms-test</artifactId>
@@ -32,47 +32,47 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-node</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-endpoint-tribes</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-nodes-helloworld-iface</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-launcher</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-client-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-rmi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/oneway/build.xml b/testing/itest/oneway/build.xml
index 7922271..bbbc5c4 100644
--- a/testing/itest/oneway/build.xml
+++ b/testing/itest/oneway/build.xml
@@ -22,96 +22,96 @@
<path id="repo.classpath">
<pathelement location="target/classes"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-core-spi\2.0-SNAPSHOT\tuscany-core-spi-2.0-SNAPSHOT.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-host-http\2.0-SNAPSHOT\tuscany-host-http-2.0-SNAPSHOT.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-binding-ws-axis2\2.0-SNAPSHOT\tuscany-binding-ws-axis2-2.0-SNAPSHOT.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-policy\2.0-SNAPSHOT\tuscany-policy-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-core-spi\2.0-Beta2\tuscany-core-spi-2.0-Beta2.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-host-http\2.0-Beta2\tuscany-host-http-2.0-Beta2.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-binding-ws-axis2\2.0-Beta2\tuscany-binding-ws-axis2-2.0-Beta2.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-policy\2.0-Beta2\tuscany-policy-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\xerces\xercesImpl\2.8.1\xercesImpl-2.8.1.jar"/>
<pathelement location="${m2.repo}\org\mortbay\jetty\jetty-util\6.1.3\jetty-util-6.1.3.jar"/>
<pathelement location="${m2.repo}\org\apache\geronimo\specs\geronimo-jms_1.1_spec\1.1\geronimo-jms_1.1_spec-1.1.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-implementation-java-runtime\2.0-SNAPSHOT\tuscany-implementation-java-runtime-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-implementation-java-runtime\2.0-Beta2\tuscany-implementation-java-runtime-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\wsdl4j\wsdl4j\1.6.2\wsdl4j-1.6.2.jar"/>
<pathelement location="${m2.repo}\commons-codec\commons-codec\1.3\commons-codec-1.3.jar"/>
<pathelement location="${m2.repo}\xml-apis\xml-apis\1.3.03\xml-apis-1.3.03.jar"/>
<pathelement location="${m2.repo}\org\apache\ws\security\wss4j\1.5.3\wss4j-1.5.3.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-contribution-namespace\2.0-SNAPSHOT\tuscany-contribution-namespace-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-contribution-namespace\2.0-Beta2\tuscany-contribution-namespace-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\jdom\jdom\1.0\jdom-1.0.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-assembly-xsd\2.0-SNAPSHOT\tuscany-assembly-xsd-2.0-SNAPSHOT.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-assembly\2.0-SNAPSHOT\tuscany-assembly-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-assembly-xsd\2.0-Beta2\tuscany-assembly-xsd-2.0-Beta2.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-assembly\2.0-Beta2\tuscany-assembly-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\org\apache\rampart\rampart-trust\1.3\rampart-trust-1.3.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-core-databinding\2.0-SNAPSHOT\tuscany-core-databinding-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-core-databinding\2.0-Beta2\tuscany-core-databinding-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar"/>
<pathelement location="${m2.repo}\org\apache\ws\commons\axiom\axiom-api\1.2.5\axiom-api-1.2.5.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-policy-xml\2.0-SNAPSHOT\tuscany-policy-xml-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-policy-xml\2.0-Beta2\tuscany-policy-xml-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\org\apache\axis2\axis2-kernel\1.3\axis2-kernel-1.3.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-sca-api\2.0-SNAPSHOT\tuscany-sca-api-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-sca-api\2.0-Beta2\tuscany-sca-api-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\cglib\cglib-nodep\2.1_3\cglib-nodep-2.1_3.jar"/>
<pathelement location="${m2.repo}\org\apache\httpcomponents\httpcore\4.0-alpha5\httpcore-4.0-alpha5.jar"/>
<pathelement location="${m2.repo}\backport-util-concurrent\backport-util-concurrent\2.2\backport-util-concurrent-2.2.jar"/>
<pathelement location="${m2.repo}\commons-logging\commons-logging\1.1\commons-logging-1.1.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-contribution-java\2.0-SNAPSHOT\tuscany-contribution-java-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-contribution-java\2.0-Beta2\tuscany-contribution-java-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\org\apache\geronimo\specs\geronimo-activation_1.1_spec\1.0-M1\geronimo-activation_1.1_spec-1.0-M1.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-databinding\2.0-SNAPSHOT\tuscany-databinding-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-databinding\2.0-Beta2\tuscany-databinding-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\logkit\logkit\1.0.1\logkit-1.0.1.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-binding-ws-xml\2.0-SNAPSHOT\tuscany-binding-ws-xml-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-binding-ws-xml\2.0-Beta2\tuscany-binding-ws-xml-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\commons-fileupload\commons-fileupload\1.1.1\commons-fileupload-1.1.1.jar"/>
<pathelement location="${m2.repo}\annogen\annogen\0.1.0\annogen-0.1.0.jar"/>
<pathelement location="${m2.repo}\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar"/>
<pathelement location="${m2.repo}\org\apache\axis2\axis2-adb\1.3\axis2-adb-1.3.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-policy-security\2.0-SNAPSHOT\tuscany-policy-security-2.0-SNAPSHOT.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-assembly-xml\2.0-SNAPSHOT\tuscany-assembly-xml-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-policy-security\2.0-Beta2\tuscany-policy-security-2.0-Beta2.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-assembly-xml\2.0-Beta2\tuscany-assembly-xml-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\org\apache\axis2\axis2-mtompolicy\1.3\axis2-mtompolicy-1.3.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-domain\2.0-SNAPSHOT\tuscany-domain-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-domain\2.0-Beta2\tuscany-domain-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\commons-httpclient\commons-httpclient\3.0.1\commons-httpclient-3.0.1.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-interface-java\2.0-SNAPSHOT\tuscany-interface-java-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-interface-java\2.0-Beta2\tuscany-interface-java-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\org\apache\axis2\axis2-java2wsdl\1.3\axis2-java2wsdl-1.3.jar"/>
<pathelement location="${m2.repo}\org\apache\httpcomponents\httpcore-nio\4.0-alpha5\httpcore-nio-4.0-alpha5.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-contribution\2.0-SNAPSHOT\tuscany-contribution-2.0-SNAPSHOT.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-implementation-java\2.0-SNAPSHOT\tuscany-implementation-java-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-contribution\2.0-Beta2\tuscany-contribution-2.0-Beta2.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-implementation-java\2.0-Beta2\tuscany-implementation-java-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\xalan\xalan\2.7.0\xalan-2.7.0.jar"/>
<pathelement location="${m2.repo}\com\ibm\icu\icu4j\2.6.1\icu4j-2.6.1.jar"/>
<pathelement location="${m2.repo}\org\apache\rampart\rampart-core\1.3\rampart-core-1.3.jar"/>
<pathelement location="${m2.repo}\org\apache\geronimo\specs\geronimo-commonj_1.1_spec\1.0\geronimo-commonj_1.1_spec-1.0.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-domain-api\2.0-SNAPSHOT\tuscany-domain-api-2.0-SNAPSHOT.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-binding-sca\2.0-SNAPSHOT\tuscany-binding-sca-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-domain-api\2.0-Beta2\tuscany-domain-api-2.0-Beta2.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-binding-sca\2.0-Beta2\tuscany-binding-sca-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\xom\xom\1.0\xom-1.0.jar"/>
<pathelement location="${m2.repo}\org\apache\ant\ant-launcher\1.7.0\ant-launcher-1.7.0.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-host-jetty\2.0-SNAPSHOT\tuscany-host-jetty-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-host-jetty\2.0-Beta2\tuscany-host-jetty-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\org\apache\rampart\rampart-policy\1.3\rampart-policy-1.3.jar"/>
<pathelement location="${m2.repo}\org\apache\httpcomponents\httpcore-niossl\4.0-alpha5\httpcore-niossl-4.0-alpha5.jar"/>
<pathelement location="${m2.repo}\junit\junit\4.2\junit-4.2.jar"/>
<pathelement location="${m2.repo}\org\apache\ws\commons\axiom\axiom-impl\1.2.5\axiom-impl-1.2.5.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-implementation-java-xml\2.0-SNAPSHOT\tuscany-implementation-java-xml-2.0-SNAPSHOT.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-binding-sca-xml\2.0-SNAPSHOT\tuscany-binding-sca-xml-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-implementation-java-xml\2.0-Beta2\tuscany-implementation-java-xml-2.0-Beta2.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-binding-sca-xml\2.0-Beta2\tuscany-binding-sca-xml-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\org\apache\neethi\neethi\2.0.2\neethi-2.0.2.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-interface-wsdl\2.0-SNAPSHOT\tuscany-interface-wsdl-2.0-SNAPSHOT.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-binding-ws\2.0-SNAPSHOT\tuscany-binding-ws-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-interface-wsdl\2.0-Beta2\tuscany-interface-wsdl-2.0-Beta2.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-binding-ws\2.0-Beta2\tuscany-binding-ws-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\javax\activation\activation\1.1\activation-1.1.jar"/>
<pathelement location="${m2.repo}\org\apache\ant\ant\1.7.0\ant-1.7.0.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-databinding-axiom\2.0-SNAPSHOT\tuscany-databinding-axiom-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-databinding-axiom\2.0-Beta2\tuscany-databinding-axiom-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\org\mortbay\jetty\jetty\6.1.3\jetty-6.1.3.jar"/>
<pathelement location="${m2.repo}\org\apache\geronimo\specs\geronimo-javamail_1.4_spec\1.0-M1\geronimo-javamail_1.4_spec-1.0-M1.jar"/>
<pathelement location="${m2.repo}\avalon-framework\avalon-framework\4.1.3\avalon-framework-4.1.3.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-core\2.0-SNAPSHOT\tuscany-core-2.0-SNAPSHOT.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-interface-wsdl-xml\2.0-SNAPSHOT\tuscany-interface-wsdl-xml-2.0-SNAPSHOT.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-contribution-impl\2.0-SNAPSHOT\tuscany-contribution-impl-2.0-SNAPSHOT.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-node\2.0-SNAPSHOT\tuscany-node-2.0-SNAPSHOT.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-definitions\2.0-SNAPSHOT\tuscany-definitions-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-core\2.0-Beta2\tuscany-core-2.0-Beta2.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-interface-wsdl-xml\2.0-Beta2\tuscany-interface-wsdl-xml-2.0-Beta2.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-contribution-impl\2.0-Beta2\tuscany-contribution-impl-2.0-Beta2.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-node\2.0-Beta2\tuscany-node-2.0-Beta2.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-definitions\2.0-Beta2\tuscany-definitions-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\org\apache\santuario\xmlsec\1.4.0\xmlsec-1.4.0.jar"/>
<pathelement location="${m2.repo}\jaxen\jaxen\1.1.1\jaxen-1.1.1.jar"/>
<pathelement location="${m2.repo}\commons-io\commons-io\1.2\commons-io-1.2.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-host-embedded\2.0-SNAPSHOT\tuscany-host-embedded-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-host-embedded\2.0-Beta2\tuscany-host-embedded-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\org\apache\ws\commons\axiom\axiom-dom\1.2.5\axiom-dom-1.2.5.jar"/>
<pathelement location="${m2.repo}\log4j\log4j\1.2.12\log4j-1.2.12.jar"/>
<pathelement location="${m2.repo}\javax\mail\mail\1.4\mail-1.4.jar"/>
<pathelement location="${m2.repo}\org\apache\axis2\axis2-codegen\1.3\axis2-codegen-1.3.jar"/>
<pathelement location="${m2.repo}\org\codehaus\woodstox\wstx-asl\3.2.1\wstx-asl-3.2.1.jar"/>
<pathelement location="${m2.repo}\stax\stax-api\1.0.1\stax-api-1.0.1.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-interface-java-xml\2.0-SNAPSHOT\tuscany-interface-java-xml-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-interface-java-xml\2.0-Beta2\tuscany-interface-java-xml-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\org\apache\ws\commons\schema\XmlSchema\1.3.2\XmlSchema-1.3.2.jar"/>
<pathelement location="${m2.repo}\xerces\xmlParserAPIs\2.6.2\xmlParserAPIs-2.6.2.jar"/>
<pathelement location="${m2.repo}\org\apache\woden\woden\1.0-incubating-M7b\woden-1.0-incubating-M7b.jar"/>
- <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-interface\2.0-SNAPSHOT\tuscany-interface-2.0-SNAPSHOT.jar"/>
+ <pathelement location="${m2.repo}\org\apache\tuscany\sca\tuscany-interface\2.0-Beta2\tuscany-interface-2.0-Beta2.jar"/>
<pathelement location="${m2.repo}\org\easymock\easymock\2.2\easymock-2.2.jar"/>
</path>
diff --git a/testing/itest/oneway/pom.xml b/testing/itest/oneway/pom.xml
index 909220d..d7cf31b 100644
--- a/testing/itest/oneway/pom.xml
+++ b/testing/itest/oneway/pom.xml
@@ -22,25 +22,25 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-oneway</artifactId>
<name>Apache Tuscany SCA iTest OneWay</name>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<dependencies>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/operation-overloading/pom.xml b/testing/itest/operation-overloading/pom.xml
index 48410a4..739779a 100644
--- a/testing/itest/operation-overloading/pom.xml
+++ b/testing/itest/operation-overloading/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-operation-overloading</artifactId>
@@ -32,20 +32,20 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
diff --git a/testing/itest/policies/pom.xml b/testing/itest/policies/pom.xml
index 98ea6b0..1229c13 100644
--- a/testing/itest/policies/pom.xml
+++ b/testing/itest/policies/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-policies</artifactId>
@@ -33,12 +33,12 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-logging</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- TODO: this test requires woodtox as it fails with the JDK parser which
presumably means Tuscany doesn't work properly without woodstox -->
diff --git a/testing/itest/policy-transaction/pom.xml b/testing/itest/policy-transaction/pom.xml
index a2b18c6..22b6a63 100644
--- a/testing/itest/policy-transaction/pom.xml
+++ b/testing/itest/policy-transaction/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-policy-transaction</artifactId>
@@ -33,12 +33,12 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-transaction-runtime-geronimo</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/testing/itest/policy/matching/pom.xml b/testing/itest/policy/matching/pom.xml
index 7ef3edb..07b25bb 100644
--- a/testing/itest/policy/matching/pom.xml
+++ b/testing/itest/policy/matching/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/policy/pom.xml b/testing/itest/policy/pom.xml
index 14335b2..e7af02b 100644
--- a/testing/itest/policy/pom.xml
+++ b/testing/itest/policy/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<packaging>pom</packaging>
diff --git a/testing/itest/policy/wspolicy/pom.xml b/testing/itest/policy/wspolicy/pom.xml
index d6f692d..f8a2c17 100644
--- a/testing/itest/policy/wspolicy/pom.xml
+++ b/testing/itest/policy/wspolicy/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,19 +35,19 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-logging</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/pom.xml b/testing/itest/pom.xml
index 537b53e..dea993b 100644
--- a/testing/itest/pom.xml
+++ b/testing/itest/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>tuscany-itest</artifactId>
diff --git a/testing/itest/properties/pom.xml b/testing/itest/properties/pom.xml
index ec04cdb..0832115 100644
--- a/testing/itest/properties/pom.xml
+++ b/testing/itest/properties/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-properties</artifactId>
@@ -32,20 +32,20 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>test</scope>
</dependency>
@@ -60,14 +60,14 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-core-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-databinding-jaxb</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>compile</scope>
</dependency>
</dependencies>
diff --git a/testing/itest/recursive-multi-level/pom.xml b/testing/itest/recursive-multi-level/pom.xml
index 0006664..8cb7210 100644
--- a/testing/itest/recursive-multi-level/pom.xml
+++ b/testing/itest/recursive-multi-level/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<!--relativePath>../pom.xml</relativePath-->
</parent>
<artifactId>itest-recursive-multi-level</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/recursive-ws/pom.xml b/testing/itest/recursive-ws/pom.xml
index 46eeeaf..79fc1b4 100644
--- a/testing/itest/recursive-ws/pom.xml
+++ b/testing/itest/recursive-ws/pom.xml
@@ -22,12 +22,12 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-recursive-ws</artifactId>
<name>Apache Tuscany SCA iTest Recursive WS</name>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<dependencies>
<dependency>
@@ -82,7 +82,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
</dependencies>
diff --git a/testing/itest/references/pom.xml b/testing/itest/references/pom.xml
index f21d709..f2018aa 100644
--- a/testing/itest/references/pom.xml
+++ b/testing/itest/references/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-references</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/samples/helloworld/pom.xml b/testing/itest/samples/helloworld/pom.xml
index c8817be..96237e0 100644
--- a/testing/itest/samples/helloworld/pom.xml
+++ b/testing/itest/samples/helloworld/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>itest-samples-helloworld</artifactId>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-node</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/scabindingmapper/pom.xml b/testing/itest/scabindingmapper/pom.xml
index f6d2894..527a79a 100644
--- a/testing/itest/scabindingmapper/pom.xml
+++ b/testing/itest/scabindingmapper/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,20 +33,20 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonp-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/scaclient-api-jse-osgi/pom.xml b/testing/itest/scaclient-api-jse-osgi/pom.xml
index 2e0ff02..6015c1e 100644
--- a/testing/itest/scaclient-api-jse-osgi/pom.xml
+++ b/testing/itest/scaclient-api-jse-osgi/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-scaclient-api-jse-osgi</artifactId>
@@ -32,19 +32,19 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-launcher-equinox</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/scaclient-api-osgi/pom.xml b/testing/itest/scaclient-api-osgi/pom.xml
index b75879b..d2b0cac 100644
--- a/testing/itest/scaclient-api-osgi/pom.xml
+++ b/testing/itest/scaclient-api-osgi/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-scaclient-api-osgi</artifactId>
@@ -32,14 +32,14 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-feature-core</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<type>pom</type>
</dependency>
diff --git a/testing/itest/scaclient-api-remote/pom.xml b/testing/itest/scaclient-api-remote/pom.xml
index dc3aaee..bb0508c 100644
--- a/testing/itest/scaclient-api-remote/pom.xml
+++ b/testing/itest/scaclient-api-remote/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-scaclient-api-remote</artifactId>
@@ -33,13 +33,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-domain-hazelcast</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/scaclient-api/pom.xml b/testing/itest/scaclient-api/pom.xml
index f872d37..42954d1 100644
--- a/testing/itest/scaclient-api/pom.xml
+++ b/testing/itest/scaclient-api/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-scaclient-api</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/scdl/pom.xml b/testing/itest/scdl/pom.xml
index a1f86c8..5eb3e64 100644
--- a/testing/itest/scdl/pom.xml
+++ b/testing/itest/scdl/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/scopes/pom.xml b/testing/itest/scopes/pom.xml
index ed25620..ed7bdd0 100644
--- a/testing/itest/scopes/pom.xml
+++ b/testing/itest/scopes/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>Apache Tuscany SCA iTest Scopes</name>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/service-reference/pom.xml b/testing/itest/service-reference/pom.xml
index c55f04e..a951a42 100644
--- a/testing/itest/service-reference/pom.xml
+++ b/testing/itest/service-reference/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-service-reference</artifactId>
@@ -33,13 +33,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/services/pom.xml b/testing/itest/services/pom.xml
index 6069603..80816f9 100644
--- a/testing/itest/services/pom.xml
+++ b/testing/itest/services/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-services</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/wires/pom.xml b/testing/itest/wires/pom.xml
index f77ae68..4e6a4ec 100644
--- a/testing/itest/wires/pom.xml
+++ b/testing/itest/wires/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>itest-wires</artifactId>
@@ -33,7 +33,7 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
</project>
diff --git a/testing/itest/ws-jaxws/contribution-java-first/pom.xml b/testing/itest/ws-jaxws/contribution-java-first/pom.xml
index e584372..650fc77 100644
--- a/testing/itest/ws-jaxws/contribution-java-first/pom.xml
+++ b/testing/itest/ws-jaxws/contribution-java-first/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/ws-jaxws/contribution-wsdl-first/pom.xml b/testing/itest/ws-jaxws/contribution-wsdl-first/pom.xml
index 77c83f2..5ba87c9 100644
--- a/testing/itest/ws-jaxws/contribution-wsdl-first/pom.xml
+++ b/testing/itest/ws-jaxws/contribution-wsdl-first/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/ws-jaxws/external-client/pom.xml b/testing/itest/ws-jaxws/external-client/pom.xml
index 356fb26..eeee7a0 100644
--- a/testing/itest/ws-jaxws/external-client/pom.xml
+++ b/testing/itest/ws-jaxws/external-client/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/ws-jaxws/external-service/pom.xml b/testing/itest/ws-jaxws/external-service/pom.xml
index e64f402..d8ca9c9 100644
--- a/testing/itest/ws-jaxws/external-service/pom.xml
+++ b/testing/itest/ws-jaxws/external-service/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/ws-jaxws/launcher-ri/pom.xml b/testing/itest/ws-jaxws/launcher-ri/pom.xml
index c8e7ca8..f11208e 100644
--- a/testing/itest/ws-jaxws/launcher-ri/pom.xml
+++ b/testing/itest/ws-jaxws/launcher-ri/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,20 +34,20 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Test resources -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-ws-jaxws-external-client</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-ws-jaxws-external-service</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/ws-jaxws/pom.xml b/testing/itest/ws-jaxws/pom.xml
index f8c1920..7ee2e84 100644
--- a/testing/itest/ws-jaxws/pom.xml
+++ b/testing/itest/ws-jaxws/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<packaging>pom</packaging>
diff --git a/testing/itest/ws/authentication-basic/pom.xml b/testing/itest/ws/authentication-basic/pom.xml
index 2776486..c3e5f17 100644
--- a/testing/itest/ws/authentication-basic/pom.xml
+++ b/testing/itest/ws/authentication-basic/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/ws/contribution-callback-forwardspec/pom.xml b/testing/itest/ws/contribution-callback-forwardspec/pom.xml
index 7274efe..6e3ca65 100644
--- a/testing/itest/ws/contribution-callback-forwardspec/pom.xml
+++ b/testing/itest/ws/contribution-callback-forwardspec/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/ws/contribution-callback-fullspec/pom.xml b/testing/itest/ws/contribution-callback-fullspec/pom.xml
index 57fbf5f..9c534b1 100644
--- a/testing/itest/ws/contribution-callback-fullspec/pom.xml
+++ b/testing/itest/ws/contribution-callback-fullspec/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/ws/contribution-callback-promotion/pom.xml b/testing/itest/ws/contribution-callback-promotion/pom.xml
index 4b1b4b5..435e54a 100644
--- a/testing/itest/ws/contribution-callback-promotion/pom.xml
+++ b/testing/itest/ws/contribution-callback-promotion/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/ws/contribution-callback/pom.xml b/testing/itest/ws/contribution-callback/pom.xml
index 5a1d0b9..ec99bfe 100644
--- a/testing/itest/ws/contribution-callback/pom.xml
+++ b/testing/itest/ws/contribution-callback/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/ws/contribution-doc-lit-wrapped/pom.xml b/testing/itest/ws/contribution-doc-lit-wrapped/pom.xml
index bcf322a..9b57b88 100644
--- a/testing/itest/ws/contribution-doc-lit-wrapped/pom.xml
+++ b/testing/itest/ws/contribution-doc-lit-wrapped/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/ws/contribution-doc-lit/pom.xml b/testing/itest/ws/contribution-doc-lit/pom.xml
index 8c800ca..c218a8a 100644
--- a/testing/itest/ws/contribution-doc-lit/pom.xml
+++ b/testing/itest/ws/contribution-doc-lit/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/ws/contribution-java-first/pom.xml b/testing/itest/ws/contribution-java-first/pom.xml
index 0711bd3..585c5db 100644
--- a/testing/itest/ws/contribution-java-first/pom.xml
+++ b/testing/itest/ws/contribution-java-first/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/ws/contribution-rpc-lit/pom.xml b/testing/itest/ws/contribution-rpc-lit/pom.xml
index 3acc03c..62673e7 100644
--- a/testing/itest/ws/contribution-rpc-lit/pom.xml
+++ b/testing/itest/ws/contribution-rpc-lit/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/ws/contribution-wsdl-first/pom.xml b/testing/itest/ws/contribution-wsdl-first/pom.xml
index 8eb95dd..9be6a9c 100644
--- a/testing/itest/ws/contribution-wsdl-first/pom.xml
+++ b/testing/itest/ws/contribution-wsdl-first/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/ws/defaults/pom.xml b/testing/itest/ws/defaults/pom.xml
index 5ee464b..d0d511a 100644
--- a/testing/itest/ws/defaults/pom.xml
+++ b/testing/itest/ws/defaults/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/ws/endpoint-references/pom.xml b/testing/itest/ws/endpoint-references/pom.xml
index 09dc74a..81af8d4 100644
--- a/testing/itest/ws/endpoint-references/pom.xml
+++ b/testing/itest/ws/endpoint-references/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/ws/endpoints/pom.xml b/testing/itest/ws/endpoints/pom.xml
index 16aaf26..1de2bb5 100644
--- a/testing/itest/ws/endpoints/pom.xml
+++ b/testing/itest/ws/endpoints/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/ws/external-client/pom.xml b/testing/itest/ws/external-client/pom.xml
index 1a75336..e18c7a1 100644
--- a/testing/itest/ws/external-client/pom.xml
+++ b/testing/itest/ws/external-client/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/ws/external-service/pom.xml b/testing/itest/ws/external-service/pom.xml
index f789844..3a6b323 100644
--- a/testing/itest/ws/external-service/pom.xml
+++ b/testing/itest/ws/external-service/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/testing/itest/ws/holder-ws-service-multiple-outputs/pom.xml b/testing/itest/ws/holder-ws-service-multiple-outputs/pom.xml
index 0c240d9..3e93dc1 100644
--- a/testing/itest/ws/holder-ws-service-multiple-outputs/pom.xml
+++ b/testing/itest/ws/holder-ws-service-multiple-outputs/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,71 +34,71 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-sca-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-wsdlgen</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-security</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<scope>runtime</scope>
</dependency>
@@ -116,7 +116,7 @@
<plugin>
<groupId>org.apache.tuscany.maven.plugins</groupId>
<artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</plugin>
</plugins>
</build>
diff --git a/testing/itest/ws/http-ssl/pom.xml b/testing/itest/ws/http-ssl/pom.xml
index 8aae935..ddd2c73 100644
--- a/testing/itest/ws/http-ssl/pom.xml
+++ b/testing/itest/ws/http-ssl/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/testing/itest/ws/launcher-axis2/pom.xml b/testing/itest/ws/launcher-axis2/pom.xml
index 6689781..3ed00d7 100644
--- a/testing/itest/ws/launcher-axis2/pom.xml
+++ b/testing/itest/ws/launcher-axis2/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,13 +34,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
@@ -53,13 +53,13 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-ws-external-client</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-ws-external-service</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/ws/launcher-base/pom.xml b/testing/itest/ws/launcher-base/pom.xml
index 0f3c126..46a60e8 100644
--- a/testing/itest/ws/launcher-base/pom.xml
+++ b/testing/itest/ws/launcher-base/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,20 +33,20 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<!-- Test resources -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-ws-external-client</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>itest-ws-external-service</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
</dependencies>
diff --git a/testing/itest/ws/pom.xml b/testing/itest/ws/pom.xml
index 7c984eb..4d9aaea 100644
--- a/testing/itest/ws/pom.xml
+++ b/testing/itest/ws/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<packaging>pom</packaging>
diff --git a/testing/itest/ws/wsdl/pom.xml b/testing/itest/ws/wsdl/pom.xml
index 7237585..f9f3882 100644
--- a/testing/itest/ws/wsdl/pom.xml
+++ b/testing/itest/ws/wsdl/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-itest</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -35,13 +35,13 @@
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-base-runtime-pom</artifactId>
<type>pom</type>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-Beta2</version>
</dependency>
<dependency>
diff --git a/unreleased/modules/binding-rss-runtime/LICENSE b/unreleased/modules/binding-rss-runtime/LICENSE
deleted file mode 100644
index 8aa906c..0000000
--- a/unreleased/modules/binding-rss-runtime/LICENSE
+++ /dev/null
@@ -1,205 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-
-
diff --git a/unreleased/modules/binding-rss-runtime/META-INF/MANIFEST.MF b/unreleased/modules/binding-rss-runtime/META-INF/MANIFEST.MF
deleted file mode 100644
index c78875e..0000000
--- a/unreleased/modules/binding-rss-runtime/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,21 +0,0 @@
-Manifest-Version: 1.0
-Export-Package: org.apache.tuscany.sca.binding.rss.collection
-SCA-Version: 1.1
-Bundle-Name: Apache Tuscany SCA RSS Feed Binding Extension
-Bundle-Vendor: The Apache Software Foundation
-Bundle-Version: 2.0.0
-Bundle-ManifestVersion: 2
-Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
-Bundle-Description: Apache Tuscany SCA RSS Feed Binding Extension
-Import-Package: javax.xml.namespace,
- org.apache.tuscany.sca.assembly;version="2.0.0",
- org.apache.tuscany.sca.assembly.xml;version="2.0.0",
- org.apache.tuscany.sca.binding.rss;version="2.0.0",
- org.apache.tuscany.sca.core,
- org.apache.tuscany.sca.interfacedef,
- org.apache.tuscany.sca.interfacedef.impl,
- org.apache.tuscany.sca.interfacedef.util,
- org.apache.tuscany.sca.monitor
-Bundle-SymbolicName: org.apache.tuscany.sca.binding.rss.runtime
-Bundle-DocURL: http://www.apache.org/
-Bundle-RequiredExecutionEnvironment: J2SE-1.5,JavaSE-1.6
diff --git a/unreleased/modules/binding-rss-runtime/NOTICE b/unreleased/modules/binding-rss-runtime/NOTICE
deleted file mode 100644
index d69e595..0000000
--- a/unreleased/modules/binding-rss-runtime/NOTICE
+++ /dev/null
@@ -1,6 +0,0 @@
-${pom.name}
-Copyright (c) 2005 - 2011 The Apache Software Foundation
-
-This product includes software developed by
-The Apache Software Foundation (http://www.apache.org/).
-
diff --git a/unreleased/modules/binding-rss-runtime/pom.xml b/unreleased/modules/binding-rss-runtime/pom.xml
deleted file mode 100644
index a6bb39d..0000000
--- a/unreleased/modules/binding-rss-runtime/pom.xml
+++ /dev/null
@@ -1,170 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <artifactId>tuscany-binding-rss-runtime</artifactId>
- <name>Apache Tuscany SCA RSS Feed Binding Extension</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-rss</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-interface-java</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-data-api</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>commons-httpclient</groupId>
- <artifactId>commons-httpclient</artifactId>
- <version>3.1</version>
- </dependency>
-
- <dependency>
- <groupId>rome</groupId>
- <artifactId>rome</artifactId>
- <version>1.0</version>
- </dependency>
-
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- <version>1.3</version>
- <exclusions>
- <exclusion>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.1.1</version>
- <exclusions>
- <exclusion>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>avalon-framework</groupId>
- <artifactId>avalon-framework</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.5</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-host-jetty</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>2.0.1</version>
- <configuration>
- <instructions>
- <Bundle-Version>${tuscany.version}</Bundle-Version>
- <Bundle-SymbolicName>org.apache.tuscany.sca.binding.rss.rome</Bundle-SymbolicName>
- <Bundle-Description>${pom.name}</Bundle-Description>
- <Export-Package>org.apache.tuscany.sca.binding.rss*</Export-Package>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/collection/Collection.java b/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/collection/Collection.java
deleted file mode 100644
index 581ae59..0000000
--- a/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/collection/Collection.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tuscany.sca.binding.rss.collection;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-import com.sun.syndication.feed.synd.SyndEntry;
-import com.sun.syndication.feed.synd.SyndFeed;
-
-
-/**
- * Provides access to a collection of resources using RSS.
- *
- * @version $Rev$ $Date$
- */
-@Remotable
-public interface Collection {
-
- /**
- * Get an RSS feed for a collection of resources.
- *
- * @return the RSS feed
- */
- SyndFeed getFeed();
-
- /**
- * Get an RSS feed for a collection of resources resulting from a query.
- *
- * @param queryString the query string
- * @return the RSS feed
- */
- SyndFeed query(String queryString);
-
- /**
- * Retrieves an RSS entry.
- *
- * @param id The entry ID
- * @return The requested entry
- * @throws NotFoundException No entry found with the given ID
- */
- SyndEntry get(String id) throws NotFoundException;
-}
diff --git a/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/collection/MediaCollection.java b/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/collection/MediaCollection.java
deleted file mode 100644
index a2b8346..0000000
--- a/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/collection/MediaCollection.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tuscany.sca.binding.rss.collection;
-
-import java.io.InputStream;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-import com.sun.syndication.feed.atom.Entry;
-
-/**
- * Provides access to a collection of resources using Atom.
- *
- * @version $Rev$ $Date$
- */
-@Remotable
-public interface MediaCollection extends Collection {
-
- /**
- * Creates a new media entry
- *
- * @param title
- * @param slug
- * @param contentType
- * @param media
- */
- Entry postMedia(String title, String slug, String contentType, InputStream media);
-
- /**
- * Update a media entry.
- *
- * @param id
- * @param contentType
- * @param media
- * @return
- */
- void putMedia(String id, String contentType, InputStream media) throws NotFoundException;
-
-}
diff --git a/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/collection/NotFoundException.java b/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/collection/NotFoundException.java
deleted file mode 100644
index 0912878..0000000
--- a/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/collection/NotFoundException.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.binding.rss.collection;
-
-/**
- * Indicates that a resource could not be found.
- *
- * @version $Rev$ $Date$
- */
-public class NotFoundException extends Exception {
- private static final long serialVersionUID = -5046027674128627383L;
-
- public NotFoundException() {
- }
-
- public NotFoundException(String message) {
- super(message);
- }
-
- public NotFoundException(Throwable cause) {
- super(cause);
- }
-
- public NotFoundException(String message, Throwable cause) {
- super(message, cause);
- }
-
-}
diff --git a/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSBindingInvoker.java b/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSBindingInvoker.java
deleted file mode 100644
index e3a1771..0000000
--- a/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSBindingInvoker.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tuscany.sca.binding.rss.provider;
-
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.logging.Logger;
-
-import org.apache.tuscany.sca.invocation.DataExchangeSemantics;
-import org.apache.tuscany.sca.invocation.Invoker;
-import org.apache.tuscany.sca.invocation.Message;
-
-import com.sun.syndication.feed.synd.SyndFeed;
-import com.sun.syndication.io.FeedException;
-import com.sun.syndication.io.SyndFeedInput;
-import com.sun.syndication.io.XmlReader;
-
-/**
- * Invoker for the RSS binding.
- *
- * @version $Rev$ $Date$
- */
-class RSSBindingInvoker implements Invoker , DataExchangeSemantics {
- private static final Logger logger = Logger.getLogger(RSSBindingInvoker.class.getName());
-
- private String uri;
-
- RSSBindingInvoker(String uri, String feedType) {
- this.uri = uri;
- }
-
- public Message invoke(Message msg) {
- try {
- logger.fine("invoke " + uri);
-
- // Read an RSS feed into a Synd feed
- SyndFeedInput input = new SyndFeedInput();
- SyndFeed feed = input.build(new XmlReader(new URL(uri)));
-
- //FIXME Support conversion to data-api entries
-
- msg.setBody(feed);
-
- } catch (MalformedURLException e) {
- msg.setFaultBody(e);
- } catch (IllegalArgumentException e) {
- msg.setFaultBody(e);
- } catch (FeedException e) {
- msg.setFaultBody(e);
- } catch (IOException e) {
- msg.setFaultBody(e);
- }
- return msg;
- }
-
- public boolean allowsPassByReference() {
- return true;
- }
-}
diff --git a/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSBindingListenerServlet.java b/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSBindingListenerServlet.java
deleted file mode 100644
index 44c84ce..0000000
--- a/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSBindingListenerServlet.java
+++ /dev/null
@@ -1,397 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tuscany.sca.binding.rss.provider;
-
-import java.io.IOException;
-import java.io.OutputStreamWriter;
-import java.io.UnsupportedEncodingException;
-import java.io.Writer;
-import java.net.URLDecoder;
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-import java.util.StringTokenizer;
-import java.util.logging.Logger;
-
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServlet;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-import javax.xml.namespace.QName;
-
-import org.apache.commons.codec.binary.Base64;
-import org.apache.tuscany.sca.data.collection.Item;
-import org.apache.tuscany.sca.databinding.Mediator;
-import org.apache.tuscany.sca.interfacedef.DataType;
-import org.apache.tuscany.sca.interfacedef.Operation;
-import org.apache.tuscany.sca.interfacedef.impl.DataTypeImpl;
-import org.apache.tuscany.sca.interfacedef.util.XMLType;
-import org.apache.tuscany.sca.invocation.InvocationChain;
-import org.apache.tuscany.sca.invocation.Invoker;
-import org.apache.tuscany.sca.invocation.Message;
-import org.apache.tuscany.sca.invocation.MessageFactory;
-import org.apache.tuscany.sca.runtime.Invocable;
-
-import com.sun.syndication.feed.synd.SyndContent;
-import com.sun.syndication.feed.synd.SyndContentImpl;
-import com.sun.syndication.feed.synd.SyndEntry;
-import com.sun.syndication.feed.synd.SyndEntryImpl;
-import com.sun.syndication.feed.synd.SyndFeed;
-import com.sun.syndication.feed.synd.SyndFeedImpl;
-import com.sun.syndication.feed.synd.SyndLink;
-import com.sun.syndication.feed.synd.SyndLinkImpl;
-import com.sun.syndication.io.FeedException;
-import com.sun.syndication.io.SyndFeedOutput;
-
-/**
- * An RSS binding listener, implemented as a Servlet and
- * registered in a Servlet host provided by the SCA hosting runtime.
- *
- * @version $Rev$ $Date$
- */
-class RSSBindingListenerServlet extends HttpServlet {
- private static final Logger logger = Logger.getLogger(RSSBindingListenerServlet.class.getName());
- private static final long serialVersionUID = 1L;
-
- private Invocable wire;
- private Invoker getFeedInvoker;
- private Invoker getAllInvoker;
- private Invoker queryInvoker;
- private MessageFactory messageFactory;
- private Mediator mediator;
- private DataType<?> itemClassType;
- private DataType<?> itemXMLType;
- private boolean supportsFeedEntries;
-
- /**
- * Constructs a new binding listener.
- *
- * @param wire
- * @param messageFactory
- */
- RSSBindingListenerServlet(Invocable wire, MessageFactory messageFactory, Mediator mediator) {
- this.wire = wire;
- this.messageFactory = messageFactory;
- this.mediator = mediator;
-
- // Get the invokers for the supported operations
- Operation getOperation = null;
- for (InvocationChain invocationChain : this.wire.getInvocationChains()) {
- invocationChain.setAllowsPassByReference(true);
- Operation operation = invocationChain.getTargetOperation();
- String operationName = operation.getName();
- if (operationName.equals("getFeed")) {
- getFeedInvoker = invocationChain.getHeadInvoker();
- } else if (operationName.equals("getAll")) {
- getAllInvoker = invocationChain.getHeadInvoker();
- } else if (operationName.equals("query")) {
- queryInvoker = invocationChain.getHeadInvoker();
- } else if (operationName.equals("get")) {
- getOperation = operation;
- }
- }
-
- // Determine the collection item type
- if (getOperation != null) {
- itemXMLType = new DataTypeImpl<Class<?>>(String.class.getName(), String.class, String.class);
- Class<?> itemClass = getOperation.getOutputType().getPhysical();
- if (itemClass == SyndEntry.class) {
- supportsFeedEntries = true;
- }
- DataType<XMLType> outputType = getOperation.getOutputType();
- QName qname = outputType.getLogical().getElementName();
- qname = new QName(qname.getNamespaceURI(), itemClass.getSimpleName());
- itemClassType = new DataTypeImpl<XMLType>("java:complexType", itemClass, new XMLType(qname, null));
- }
- }
-
- @Override
- protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
-
- // No authentication required for a get request
-
- // Get the request path
- String path = URLDecoder.decode(request.getRequestURI().substring(request.getServletPath().length()), "UTF-8");
-
- logger.fine("get " + request.getRequestURI());
-
- // Handle an RSS request
- if (path == null || path.length() == 0 || path.equals("/")) {
-
- // Return an RSS feed containing the entries in the collection
- SyndFeed feed = null;
- if (supportsFeedEntries) {
-
- // The service implementation supports feed entries, invoke its getFeed operation
- Message requestMessage = messageFactory.createMessage();
- Message responseMessage = getFeedInvoker.invoke(requestMessage);
- if (responseMessage.isFault()) {
- throw new ServletException((Throwable)responseMessage.getBody());
- }
- feed = (SyndFeed)responseMessage.getBody();
-
- } else {
-
- // The service implementation does not support feed entries, invoke its
- // getAll operation to get the data item collection. then create feed entries
- // from the data items
- Message requestMessage = messageFactory.createMessage();
- Message responseMessage;
- if (request.getQueryString() != null) {
- requestMessage.setBody(new Object[] {request.getQueryString()});
- responseMessage = queryInvoker.invoke(requestMessage);
- } else {
- responseMessage = getAllInvoker.invoke(requestMessage);
- }
- if (responseMessage.isFault()) {
- throw new ServletException((Throwable)responseMessage.getBody());
- }
- org.apache.tuscany.sca.data.collection.Entry<Object, Object>[] collection =
- (org.apache.tuscany.sca.data.collection.Entry<Object, Object>[])responseMessage.getBody();
- if (collection != null) {
- // Create the feed
- feed = new SyndFeedImpl();
- feed.setTitle("Feed");
- feed.setDescription("Feed description");
-
- for (org.apache.tuscany.sca.data.collection.Entry<Object, Object> entry: collection) {
- SyndEntry feedEntry = createFeedEntry(entry);
- feed.getEntries().add(feedEntry);
- }
- }
- }
-
- // Convert to an RSS feed
- if (feed != null) {
- response.setContentType("application/rss+xml; charset=utf-8");
- feed.setFeedType("rss_2.0");
- feed.setLink(path);
- SyndFeedOutput syndOutput = new SyndFeedOutput();
- try {
- syndOutput.output(feed, getWriter(response));
- } catch (FeedException e) {
- throw new ServletException(e);
- }
- } else {
- response.sendError(HttpServletResponse.SC_NOT_FOUND);
- }
- } else {
- response.sendError(HttpServletResponse.SC_NOT_FOUND);
- }
-
- }
-
- /**
- * Create an RSS entry from a data collection entry.
- * @param entry
- * @return
- */
- private SyndEntry createFeedEntry(org.apache.tuscany.sca.data.collection.Entry<Object, Object> entry) {
- Object key = entry.getKey();
- Object data = entry.getData();
- if (data instanceof Item) {
- Item item = (Item)data;
-
- SyndEntry feedEntry = new SyndEntryImpl();
- feedEntry.setUri(key.toString());
- feedEntry.setTitle(item.getTitle());
-
- String value = item.getContents();
- if (value != null) {
- SyndContent content = new SyndContentImpl();
- content.setType("text/xml");
- content.setValue(value);
- List<SyndContent> contents = new ArrayList<SyndContent>();
- contents.add(content);
- feedEntry.setContents(contents);
- }
-
- String href = item.getLink();
- if (href == null) {
- href = key.toString();
- }
- SyndLink link = new SyndLinkImpl();
- link.setRel("edit");
- link.setHref(href);
- feedEntry.getLinks().add(link);
- link = new SyndLinkImpl();
- link.setRel("alternate");
- link.setHref(href);
- feedEntry.getLinks().add(link);
- feedEntry.setLink(href);
-
- Date date = item.getDate();
- if (date == null) {
- date = new Date();
- }
- feedEntry.setPublishedDate(date);
- return feedEntry;
-
- } else if (data != null) {
- SyndEntry feedEntry = new SyndEntryImpl();
- feedEntry.setUri(key.toString());
- feedEntry.setTitle("item");
-
- // Convert the item to XML
- String value = mediator.mediate(data, itemClassType, itemXMLType, null).toString();
-
- SyndContent content = new SyndContentImpl();
- content.setType("text/xml");
- content.setValue(value);
- List<SyndContent> contents = new ArrayList<SyndContent>();
- contents.add(content);
- feedEntry.setContents(contents);
-
- SyndLink link = new SyndLinkImpl();
- link.setRel("edit");
- link.setHref(key.toString());
- feedEntry.getLinks().add(link);
- link = new SyndLinkImpl();
- link.setRel("alternate");
- link.setHref(key.toString());
- feedEntry.getLinks().add(link);
-
- feedEntry.setPublishedDate(new Date());
- return feedEntry;
- } else {
- return null;
- }
- }
-
- /**
- * Create a data collection entry from an RSS entry.
- * @param feedEntry
- * @return
- */
- private org.apache.tuscany.sca.data.collection.Entry<Object, Object> createEntry(SyndEntry feedEntry) {
- if (feedEntry != null) {
- if (itemClassType.getPhysical() == Item.class) {
- String key = feedEntry.getUri();
-
- Item item = new Item();
- item.setTitle(feedEntry.getTitle());
-
- List<?> contents = feedEntry.getContents();
- if (!contents.isEmpty()) {
- SyndContent content = (SyndContent)contents.get(0);
- String value = content.getValue();
- item.setContents(value);
- }
-
- for (Object l : feedEntry.getLinks()) {
- SyndLink link = (SyndLink)l;
- if (link.getRel() == null || "edit".equals(link.getRel())) {
- String href = link.getHref();
- if (href.startsWith("null/")) {
- href = href.substring(5);
- }
- item.setLink(href);
- break;
- }
- }
-
- item.setDate(feedEntry.getPublishedDate());
-
- return new org.apache.tuscany.sca.data.collection.Entry<Object, Object>(key, item);
-
- } else {
- String key = feedEntry.getUri();
-
- // Create the item from XML
- List<?> contents = feedEntry.getContents();
- if (contents.isEmpty()) {
- return null;
- }
- SyndContent content = (SyndContent)contents.get(0);
- String value = content.getValue();
- Object data = mediator.mediate(value, itemXMLType, itemClassType, null);
-
- return new org.apache.tuscany.sca.data.collection.Entry<Object, Object>(key, data);
- }
- } else {
- return null;
- }
- }
-
-
- private Writer getWriter(HttpServletResponse response) throws UnsupportedEncodingException, IOException {
- Writer writer = new OutputStreamWriter(response.getOutputStream(), "UTF-8");
- return writer;
- }
-
- /**
- * Process the authorization header
- *
- * @param request
- * @return
- * @throws ServletException
- */
- private String processAuthorizationHeader(HttpServletRequest request) throws ServletException {
- try {
- String authorization = request.getHeader("Authorization");
- if (authorization != null) {
- StringTokenizer tokens = new StringTokenizer(authorization);
- if (tokens.hasMoreTokens()) {
- String basic = tokens.nextToken();
- if (basic.equalsIgnoreCase("Basic")) {
- String credentials = tokens.nextToken();
- String userAndPassword = new String(Base64.decodeBase64(credentials.getBytes()));
- int colon = userAndPassword.indexOf(":");
- if (colon != -1) {
- String user = userAndPassword.substring(0, colon);
- String password = userAndPassword.substring(colon + 1);
-
- // Authenticate the User.
- if (authenticate(user, password)) {
- return user;
- }
- }
- }
- }
- }
- } catch (Exception e) {
- throw new ServletException(e);
- }
- return null;
- }
-
- /**
- * Authenticate a user.
- *
- * @param user
- * @param password
- * @return
- */
- private boolean authenticate(String user, String password) {
-
- // TODO Handle this using SCA security policies
- //FIXME Why are we using endsWith instead of equals here??
- return ("admin".endsWith(user) && "admin".equals(password));
- }
-
- /**
- * Reject an unauthorized request.
- *
- * @param response
- */
- private void unauthorized(HttpServletResponse response) throws IOException {
- response.setHeader("WWW-Authenticate", "BASIC realm=\"Tuscany\"");
- response.sendError(HttpServletResponse.SC_UNAUTHORIZED);
- }
-}
diff --git a/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSBindingProviderFactory.java b/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSBindingProviderFactory.java
deleted file mode 100644
index e1bafdd..0000000
--- a/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSBindingProviderFactory.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.binding.rss.provider;
-
-import org.apache.tuscany.sca.binding.rss.RSSBinding;
-import org.apache.tuscany.sca.core.ExtensionPointRegistry;
-import org.apache.tuscany.sca.core.FactoryExtensionPoint;
-import org.apache.tuscany.sca.core.UtilityExtensionPoint;
-import org.apache.tuscany.sca.databinding.Mediator;
-import org.apache.tuscany.sca.host.http.ServletHost;
-import org.apache.tuscany.sca.host.http.ServletHostExtensionPoint;
-import org.apache.tuscany.sca.invocation.MessageFactory;
-import org.apache.tuscany.sca.provider.BindingProviderFactory;
-import org.apache.tuscany.sca.provider.ReferenceBindingProvider;
-import org.apache.tuscany.sca.provider.ServiceBindingProvider;
-import org.apache.tuscany.sca.runtime.RuntimeEndpoint;
-import org.apache.tuscany.sca.runtime.RuntimeEndpointReference;
-
-/**
- * Implementation of the RSS binding provider factory.
- *
- * @version $Rev$ $Date$
- */
-public class RSSBindingProviderFactory implements BindingProviderFactory<RSSBinding> {
-
- private MessageFactory messageFactory;
- private Mediator mediator;
- private ServletHost servletHost;
-
- public RSSBindingProviderFactory(ExtensionPointRegistry extensionPoints) {
- ServletHostExtensionPoint servletHosts = extensionPoints.getExtensionPoint(ServletHostExtensionPoint.class);
- this.servletHost = servletHosts.getServletHosts().get(0);
- FactoryExtensionPoint modelFactories = extensionPoints.getExtensionPoint(FactoryExtensionPoint.class);
- this.messageFactory = modelFactories.getFactory(MessageFactory.class);
- this.mediator = extensionPoints.getExtensionPoint(UtilityExtensionPoint.class).getUtility(Mediator.class);
- }
-
- public ReferenceBindingProvider createReferenceBindingProvider(RuntimeEndpointReference endpointReference) {
- return new RSSReferenceBindingProvider(endpointReference, mediator);
- }
-
- public ServiceBindingProvider createServiceBindingProvider(RuntimeEndpoint endpoint) {
- return new RSSServiceBindingProvider(endpoint, messageFactory, mediator, servletHost);
- }
-
- public Class<RSSBinding> getModelType() {
- return RSSBinding.class;
- }
-}
diff --git a/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSReferenceBindingProvider.java b/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSReferenceBindingProvider.java
deleted file mode 100644
index d234a0c..0000000
--- a/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSReferenceBindingProvider.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.binding.rss.provider;
-
-import org.apache.tuscany.sca.assembly.EndpointReference;
-import org.apache.tuscany.sca.binding.rss.RSSBinding;
-import org.apache.tuscany.sca.databinding.Mediator;
-import org.apache.tuscany.sca.interfacedef.InterfaceContract;
-import org.apache.tuscany.sca.interfacedef.Operation;
-import org.apache.tuscany.sca.invocation.Invoker;
-import org.apache.tuscany.sca.provider.ReferenceBindingProvider;
-import org.apache.tuscany.sca.runtime.RuntimeComponentReference;
-
-/**
- * Implementation of the RSS binding provider.
- *
- * @version $Rev$ $Date$
- */
-class RSSReferenceBindingProvider implements ReferenceBindingProvider {
-
- private EndpointReference endpointReference;
-
- private RuntimeComponentReference reference;
- private RSSBinding binding;
-
- RSSReferenceBindingProvider(EndpointReference endpointReference,
- Mediator mediator) {
- this.endpointReference = endpointReference;
- this.reference = (RuntimeComponentReference) endpointReference.getReference();
- this.binding = (RSSBinding) endpointReference.getBinding();
- }
-
- public Invoker createInvoker(Operation operation) {
- return new RSSBindingInvoker(binding.getURI(), "rss_2.0");
- }
-
- public boolean supportsOneWayInvocation() {
- return false;
- }
-
- public InterfaceContract getBindingInterfaceContract() {
- return reference.getInterfaceContract();
- }
-
- public void start() {
- }
-
- public void stop() {
- }
-
-}
diff --git a/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSServiceBindingProvider.java b/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSServiceBindingProvider.java
deleted file mode 100644
index 25ab939..0000000
--- a/unreleased/modules/binding-rss-runtime/src/main/java/org/apache/tuscany/sca/binding/rss/provider/RSSServiceBindingProvider.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.binding.rss.provider;
-
-import org.apache.tuscany.sca.binding.rss.RSSBinding;
-import org.apache.tuscany.sca.databinding.Mediator;
-import org.apache.tuscany.sca.host.http.ServletHost;
-import org.apache.tuscany.sca.interfacedef.InterfaceContract;
-import org.apache.tuscany.sca.invocation.MessageFactory;
-import org.apache.tuscany.sca.provider.ServiceBindingProvider;
-import org.apache.tuscany.sca.runtime.Invocable;
-import org.apache.tuscany.sca.runtime.RuntimeEndpoint;
-
-/**
- * Implementation of the RSS binding provider.
- *
- * @version $Rev$ $Date$
- */
-class RSSServiceBindingProvider implements ServiceBindingProvider {
-
- private RuntimeEndpoint endpoint;
-
- //private RuntimeComponentService service;
- private RSSBinding binding;
-
- private MessageFactory messageFactory;
- private Mediator mediator;
- private ServletHost servletHost;
-
- private String servletMapping;
-
- RSSServiceBindingProvider(RuntimeEndpoint endpoint,
- MessageFactory messageFactory,
- Mediator mediator,
- ServletHost servletHost) {
- this.endpoint = endpoint;
-
- //this.service = (RuntimeComponentService)endpoint.getService();
- this.binding = (RSSBinding) endpoint.getBinding();
- this.servletHost = servletHost;
- this.messageFactory = messageFactory;
- this.mediator = mediator;
- }
-
- public InterfaceContract getBindingInterfaceContract() {
- return endpoint.getComponentTypeServiceInterfaceContract();
- }
-
- public boolean supportsOneWayInvocation() {
- return false;
- }
-
- public void start() {
- Invocable wire = (RuntimeEndpoint) endpoint;
-
- RSSBindingListenerServlet servlet =
- new RSSBindingListenerServlet(wire, messageFactory, mediator);
-
- servletMapping = binding.getURI();
- if (!servletMapping.endsWith("/")) {
- servletMapping += "/";
- }
- if (!servletMapping.endsWith("*")) {
- servletMapping += "*";
- }
- servletHost.addServletMapping(servletMapping, servlet);
-
- // Save the actual binding URI in the binding
- //binding.setURI(servletHost.getURLMapping(binding.getURI()).toString());
- }
-
- public void stop() {
- servletHost.removeServletMapping(servletMapping);
- }
-
-}
diff --git a/unreleased/modules/binding-rss-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.BindingProviderFactory b/unreleased/modules/binding-rss-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.BindingProviderFactory
deleted file mode 100644
index e60dc28..0000000
--- a/unreleased/modules/binding-rss-runtime/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.BindingProviderFactory
+++ /dev/null
@@ -1,19 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# Implementation class for the binding extension
-org.apache.tuscany.sca.binding.rss.provider.RSSBindingProviderFactory;model=org.apache.tuscany.sca.binding.rss.RSSBinding
diff --git a/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/Consumer.java b/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/Consumer.java
deleted file mode 100644
index 1ae4515..0000000
--- a/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/Consumer.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.binding.rss;
-
-import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node.ContributionLocationHelper;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-
-
-public class Consumer {
-
- public static void main(String[] args) throws Exception {
-
- String contribution = ContributionLocationHelper.getContributionLocation(Consumer.class);
- Node node = NodeFactory.newInstance().createNode("org/apache/tuscany/sca/binding/feed/Consumer.composite", new Contribution("consumer", contribution));
-
- node.start();
-
- CustomerClient testService = node.getService(CustomerClient.class, "CustomerClient");
- testService.testCustomerCollection();
-
- node.stop();
- }
-}
diff --git a/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/CustomerClient.java b/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/CustomerClient.java
deleted file mode 100644
index af87155..0000000
--- a/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/CustomerClient.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.binding.rss;
-
-public interface CustomerClient {
-
- void testCustomerCollection() throws Exception;
-}
diff --git a/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/CustomerClientImpl.java b/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/CustomerClientImpl.java
deleted file mode 100644
index a80f721..0000000
--- a/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/CustomerClientImpl.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.binding.rss;
-
-import org.apache.tuscany.sca.binding.rss.collection.Collection;
-import org.oasisopen.sca.annotation.Reference;
-
-import com.sun.syndication.feed.synd.SyndEntry;
-import com.sun.syndication.feed.synd.SyndFeed;
-
-
-public class CustomerClientImpl implements CustomerClient {
-
- @Reference
- public Collection resourceCollection;
-
- public void testCustomerCollection() throws Exception {
-
- System.out.println(">>> get collection");
- SyndFeed feed = resourceCollection.getFeed();
- System.out.println("<<< get collection");
- for (Object o : feed.getEntries()) {
- SyndEntry e = (SyndEntry)o;
- System.out.println("id = " + e.getUri() + " entry = " + e.getTitle());
- }
- }
-
-}
diff --git a/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/CustomerCollectionImpl.java b/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/CustomerCollectionImpl.java
deleted file mode 100644
index 4b5bf37..0000000
--- a/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/CustomerCollectionImpl.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.binding.rss;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Date;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.UUID;
-
-import org.apache.tuscany.sca.binding.rss.collection.Collection;
-import org.apache.tuscany.sca.binding.rss.collection.NotFoundException;
-import org.oasisopen.sca.annotation.Scope;
-
-import com.sun.syndication.feed.synd.SyndContent;
-import com.sun.syndication.feed.synd.SyndContentImpl;
-import com.sun.syndication.feed.synd.SyndEntry;
-import com.sun.syndication.feed.synd.SyndEntryImpl;
-import com.sun.syndication.feed.synd.SyndFeed;
-import com.sun.syndication.feed.synd.SyndFeedImpl;
-import com.sun.syndication.feed.synd.SyndLink;
-import com.sun.syndication.feed.synd.SyndLinkImpl;
-
-@Scope("COMPOSITE")
-public class CustomerCollectionImpl implements Collection {
-
- private Map<String, SyndEntry> entries = new HashMap<String, SyndEntry>();
-
- public CustomerCollectionImpl() {
-
- for (int i = 0; i < 4; i++) {
- String id = "urn:uuid:customer-" + UUID.randomUUID().toString();
-
- SyndEntry entry = new SyndEntryImpl();
- entry.setTitle("customer " + "Jane Doe_" + String.valueOf(i));
- entry.setUri(id);
-
- SyndContent content = new SyndContentImpl();
- content.setValue("Jane Doe_" + String.valueOf(i));
- content.setType("text");
- entry.setContents(Collections.singletonList(content));
-
- List<SyndLink> links = new ArrayList<SyndLink>();
- SyndLink link = new SyndLinkImpl();
- link.setRel("edit");
- link.setHref("" + id);
- links.add(link);
- entry.setLinks(links);
-
- links = new ArrayList<SyndLink>();
- link = new SyndLinkImpl();
- link.setRel("alternate");
- link.setHref("" + id);
- links.add(link);
- entry.setLinks(links);
-
- entry.setPublishedDate(new Date());
-
- entries.put(id, entry);
- System.out.println(">>> id=" + id);
- }
- }
-
- public SyndFeed getFeed() {
- System.out.println(">>> CustomerCollectionImpl.getFeed");
-
- SyndFeed feed = new SyndFeedImpl();
- feed.setTitle("customers");
- feed.setDescription("This is a sample feed");
- feed.getEntries().addAll(entries.values());
- return feed;
- }
-
- public SyndFeed query(String queryString) {
- System.out.println(">>> CustomerCollectionImpl.query");
-
- SyndFeed feed = new SyndFeedImpl();
- feed.setTitle("customers");
- feed.setDescription("This is a sample feed");
- feed.getEntries().addAll(entries.values());
- return feed;
- }
-
- /**
- * {@inheritDoc}
- */
- public SyndEntry get(String id) throws NotFoundException {
- final SyndEntry entry = entries.get(id);
- if (id == null) {
- throw new NotFoundException("No entry found with ID " + id);
- }
-
- return entry;
- }
-}
diff --git a/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/Provider.java b/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/Provider.java
deleted file mode 100644
index 6dc23ac..0000000
--- a/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/Provider.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.binding.rss;
-
-import java.io.IOException;
-
-import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node.ContributionLocationHelper;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-
-public class Provider {
-
- public static void main(String[] args) {
-
-
- String contribution = ContributionLocationHelper.getContributionLocation(Provider.class);
- Node node = NodeFactory.newInstance().createNode("org/apache/tuscany/sca/binding/feed/Provider.composite", new Contribution("provider", contribution));
-
- node.start();
-
- System.out.println("Provider.composite ready...");
-
- try {
- System.in.read();
- } catch (IOException e) {
- e.printStackTrace();
- }
-
- node.stop();
- }
-}
diff --git a/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/RSSGetTestCase.java b/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/RSSGetTestCase.java
deleted file mode 100644
index 5a786f3..0000000
--- a/unreleased/modules/binding-rss-runtime/src/test/java/org/apache/tuscany/sca/binding/rss/RSSGetTestCase.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.binding.rss;
-
-import junit.framework.Assert;
-
-import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node.ContributionLocationHelper;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Ignore;
-import org.junit.Test;
-
-/**
- * Basic test case that will get the feed entries from an RSS feed.
- */
-public class RSSGetTestCase {
- protected static Node scaConsumerNode;
- protected static Node scaProviderNode;
- protected static CustomerClient testService;
-
- @BeforeClass
- public static void init() throws Exception {
- System.out.println(">>>RSSGetTestCase.init entry");
- String contribution = ContributionLocationHelper.getContributionLocation(RSSGetTestCase.class);
-
- scaProviderNode = NodeFactory.newInstance().createNode("org/apache/tuscany/sca/binding/rss/Provider.composite", new Contribution("provider", contribution));
- scaProviderNode.start();
-
- scaConsumerNode = NodeFactory.newInstance().createNode("org/apache/tuscany/sca/binding/rss/Consumer.composite", new Contribution("consumer", contribution));
- scaConsumerNode.start();
-
- testService = scaConsumerNode.getService(CustomerClient.class, "CustomerClient");
- }
-
- @AfterClass
- public static void destroy() throws Exception {
- // System.out.println(">>>RSSGetTestCase.destroy entry");
- if (scaConsumerNode != null) {
- scaConsumerNode.stop();
- }
- if (scaProviderNode != null) {
- scaProviderNode.stop();
- }
- }
-
- @Test
- public void testPrelim() throws Exception {
- Assert.assertNotNull(scaProviderNode);
- Assert.assertNotNull(scaConsumerNode);
- Assert.assertNotNull(testService);
- }
-
- @Test
- @Ignore("TUSCANY-3537")
- public void testRSSGet() throws Exception {
- testService.testCustomerCollection();
- }
-}
diff --git a/unreleased/modules/binding-rss-runtime/src/test/resources/org/apache/tuscany/sca/binding/rss/Consumer.composite b/unreleased/modules/binding-rss-runtime/src/test/resources/org/apache/tuscany/sca/binding/rss/Consumer.composite
deleted file mode 100644
index 2214180..0000000
--- a/unreleased/modules/binding-rss-runtime/src/test/resources/org/apache/tuscany/sca/binding/rss/Consumer.composite
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://customer"
- name="Consumer">
-
- <component name="CustomerClient">
- <implementation.java class="org.apache.tuscany.sca.binding.rss.CustomerClientImpl"/>
- <reference name="resourceCollection">
- <tuscany:binding.rss uri="http://localhost:8084/customer"/>
- </reference>
- </component>
-
-</composite>
diff --git a/unreleased/modules/binding-rss-runtime/src/test/resources/org/apache/tuscany/sca/binding/rss/Provider.composite b/unreleased/modules/binding-rss-runtime/src/test/resources/org/apache/tuscany/sca/binding/rss/Provider.composite
deleted file mode 100644
index 181267f..0000000
--- a/unreleased/modules/binding-rss-runtime/src/test/resources/org/apache/tuscany/sca/binding/rss/Provider.composite
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace = "http://customer"
- name="Provider">
-
- <service name="customer" promote="CustomerCollection">
- <tuscany:binding.rss uri = "http://localhost:8084/customer"/>
- </service>
-
- <component name="CustomerCollection">
- <implementation.java class="org.apache.tuscany.sca.binding.rss.CustomerCollectionImpl"/>
- </component>
-
-</composite>
diff --git a/unreleased/modules/binding-rss/LICENSE b/unreleased/modules/binding-rss/LICENSE
deleted file mode 100644
index 8aa906c..0000000
--- a/unreleased/modules/binding-rss/LICENSE
+++ /dev/null
@@ -1,205 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-
-
diff --git a/unreleased/modules/binding-rss/META-INF/MANIFEST.MF b/unreleased/modules/binding-rss/META-INF/MANIFEST.MF
deleted file mode 100644
index a088601..0000000
--- a/unreleased/modules/binding-rss/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,20 +0,0 @@
-Manifest-Version: 1.0
-Export-Package: org.apache.tuscany.sca.binding.rss;
- uses:="org.apache.tuscany.sca.assembly";version="2.0.0"
-SCA-Version: 1.1
-Bundle-Name: Apache Tuscany SCA RSS Feed Binding Extension
-Bundle-Vendor: The Apache Software Foundation
-Bundle-Version: 2.0.0
-Bundle-ManifestVersion: 2
-Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
-Bundle-Description: Apache Tuscany SCA RSS Feed Binding Extension
-Import-Package: javax.xml.namespace,
- org.apache.tuscany.sca.assembly;version="2.0.0",
- org.apache.tuscany.sca.assembly.xml;version="2.0.0",
- org.apache.tuscany.sca.binding.rss;version="2.0.0",
- org.apache.tuscany.sca.core,
- org.apache.tuscany.sca.monitor
-Bundle-SymbolicName: org.apache.tuscany.sca.binding.rss
-Bundle-DocURL: http://www.apache.org/
-Bundle-RequiredExecutionEnvironment: J2SE-1.5,JavaSE-1.6
-
diff --git a/unreleased/modules/binding-rss/NOTICE b/unreleased/modules/binding-rss/NOTICE
deleted file mode 100644
index d69e595..0000000
--- a/unreleased/modules/binding-rss/NOTICE
+++ /dev/null
@@ -1,6 +0,0 @@
-${pom.name}
-Copyright (c) 2005 - 2011 The Apache Software Foundation
-
-This product includes software developed by
-The Apache Software Foundation (http://www.apache.org/).
-
diff --git a/unreleased/modules/binding-rss/pom.xml b/unreleased/modules/binding-rss/pom.xml
deleted file mode 100644
index a52b183..0000000
--- a/unreleased/modules/binding-rss/pom.xml
+++ /dev/null
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <artifactId>tuscany-binding-rss</artifactId>
- <name>Apache Tuscany SCA RSS Feed Binding Extension</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-assembly</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-interface-java</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-data-api</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-impl</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
diff --git a/unreleased/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/RSSBinding.java b/unreleased/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/RSSBinding.java
deleted file mode 100644
index bda3210..0000000
--- a/unreleased/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/RSSBinding.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.binding.rss;
-
-import javax.xml.namespace.QName;
-
-import org.apache.tuscany.sca.assembly.Binding;
-
-/**
- * RSS Feed binding model.
- *
- * @version $Rev$ $Date$
- */
-public interface RSSBinding extends Binding {
- QName TYPE = new QName(SCA11_TUSCANY_NS, "binding.rss");
-}
diff --git a/unreleased/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/RSSBindingFactory.java b/unreleased/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/RSSBindingFactory.java
deleted file mode 100644
index 3e691e6..0000000
--- a/unreleased/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/RSSBindingFactory.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.binding.rss;
-
-/**
- * Factory for the RSS binding
- *
- * @version $Rev$ $Date$
- */
-public interface RSSBindingFactory {
-
- /**
- * Creates a new RSS binding.
- * @return the new RSS binding
- */
- RSSBinding createRSSBinding();
-
-}
diff --git a/unreleased/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/impl/RSSBindingFactoryImpl.java b/unreleased/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/impl/RSSBindingFactoryImpl.java
deleted file mode 100644
index a4e6a82..0000000
--- a/unreleased/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/impl/RSSBindingFactoryImpl.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.binding.rss.impl;
-
-import org.apache.tuscany.sca.binding.rss.RSSBinding;
-import org.apache.tuscany.sca.binding.rss.RSSBindingFactory;
-
-/**
- * Factory for the RSS binding model.
- *
- * @version $Rev$ $Date$
- */
-public class RSSBindingFactoryImpl implements RSSBindingFactory {
-
- public RSSBinding createRSSBinding() {
- return new RSSBindingImpl();
- }
-
-}
diff --git a/unreleased/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/impl/RSSBindingImpl.java b/unreleased/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/impl/RSSBindingImpl.java
deleted file mode 100644
index 00abffa..0000000
--- a/unreleased/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/impl/RSSBindingImpl.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.binding.rss.impl;
-
-import javax.xml.namespace.QName;
-
-import org.apache.tuscany.sca.assembly.OperationSelector;
-import org.apache.tuscany.sca.assembly.WireFormat;
-import org.apache.tuscany.sca.binding.rss.RSSBinding;
-
-/**
- * Implementation of the RSS Feed binding model.
- *
- * @version $Rev$ $Date$
- */
-class RSSBindingImpl implements RSSBinding {
-
- private String name;
- private String uri;
-
- public QName getType() {
- return RSSBinding.TYPE;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public String getURI() {
- return uri;
- }
-
- public void setURI(String uri) {
- this.uri = uri;
- }
-
- public boolean isUnresolved() {
- return false;
- }
-
- public void setUnresolved(boolean unresolved) {
- // The binding is always resolved
- }
-
- public WireFormat getRequestWireFormat() {
- return null;
- }
-
- public void setRequestWireFormat(WireFormat wireFormat) {
- }
-
- public WireFormat getResponseWireFormat() {
- return null;
- }
-
- public void setResponseWireFormat(WireFormat wireFormat) {
- }
-
- public OperationSelector getOperationSelector() {
- return null;
- }
-
- public void setOperationSelector(OperationSelector operationSelector) {
- }
-
- @Override
- public Object clone() throws CloneNotSupportedException {
- return super.clone();
- }
-}
diff --git a/unreleased/modules/binding-rss/src/main/resources/META-INF/services/org.apache.tuscany.sca.binding.rss.RSSBindingFactory b/unreleased/modules/binding-rss/src/main/resources/META-INF/services/org.apache.tuscany.sca.binding.rss.RSSBindingFactory
deleted file mode 100644
index 73c47a3..0000000
--- a/unreleased/modules/binding-rss/src/main/resources/META-INF/services/org.apache.tuscany.sca.binding.rss.RSSBindingFactory
+++ /dev/null
@@ -1,19 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# Implementation class for the model factory
-org.apache.tuscany.sca.binding.rss.impl.RSSBindingFactoryImpl
\ No newline at end of file
diff --git a/unreleased/modules/binding-rss/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor b/unreleased/modules/binding-rss/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor
deleted file mode 100644
index d298c16..0000000
--- a/unreleased/modules/binding-rss/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor
+++ /dev/null
@@ -1,19 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# Implementation class for the artifact processor extension
-org.apache.tuscany.sca.assembly.xml.DefaultBeanModelProcessor;qname=http://tuscany.apache.org/xmlns/sca/1.1#binding.rss,model=org.apache.tuscany.sca.binding.rss.RSSBinding,factory=org.apache.tuscany.sca.binding.rss.RSSBindingFactory
diff --git a/unreleased/modules/databinding-protobuf/META-INF/MANIFEST.MF b/unreleased/modules/databinding-protobuf/META-INF/MANIFEST.MF
deleted file mode 100644
index d6aa1a7..0000000
--- a/unreleased/modules/databinding-protobuf/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,21 +0,0 @@
-Manifest-Version: 1.0
-SCA-Version: 1.1
-Bundle-Name: Apache Tuscany SCA Data Binding for Google ProtocolBuffers
-Bundle-Vendor: The Apache Software Foundation
-Bundle-Version: 2.0.0
-Bundle-ManifestVersion: 2
-Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
-Bundle-Description: Apache Tuscany SCA Data Binding for JSON
-Import-Package: javax.xml.namespace,
- javax.xml.stream,
- org.apache.tuscany.sca.common.xml.stax;version="2.0.0",
- org.apache.tuscany.sca.core;version="2.0.0",
- org.apache.tuscany.sca.databinding;version="2.0.0",
- org.apache.tuscany.sca.databinding.impl;version="2.0.0",
- org.apache.tuscany.sca.interfacedef;version="2.0.0",
- org.apache.tuscany.sca.interfacedef.impl;version="2.0.0";resolution:=optional,
- org.apache.tuscany.sca.interfacedef.util;version="2.0.0",
- org.oasisopen.sca.annotation;version="2.0.0"
-Bundle-SymbolicName: org.apache.tuscany.sca.databinding.protobuf
-Bundle-DocURL: http://www.apache.org/
-
diff --git a/unreleased/modules/databinding-protobuf/pom.xml b/unreleased/modules/databinding-protobuf/pom.xml
deleted file mode 100644
index 90b5ba1..0000000
--- a/unreleased/modules/databinding-protobuf/pom.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <artifactId>tuscany-databinding-protobuf</artifactId>
- <name>Apache Tuscany SCA Data Binding for Google ProtocolBuffers</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-core-spi</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-common-xml</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-databinding</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>com.google.protobuf</groupId>
- <artifactId>protobuf-java</artifactId>
- <version>2.3.0</version>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-</project>
diff --git a/unreleased/modules/databinding-protobuf/src/main/java/org/apache/tuscany/sca/databinding/protobuf/InputStream2Protobuf.java b/unreleased/modules/databinding-protobuf/src/main/java/org/apache/tuscany/sca/databinding/protobuf/InputStream2Protobuf.java
deleted file mode 100644
index 7953e4e..0000000
--- a/unreleased/modules/databinding-protobuf/src/main/java/org/apache/tuscany/sca/databinding/protobuf/InputStream2Protobuf.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.databinding.protobuf;
-
-import java.io.InputStream;
-import java.lang.reflect.Method;
-
-import org.apache.tuscany.sca.databinding.PullTransformer;
-import org.apache.tuscany.sca.databinding.TransformationContext;
-import org.apache.tuscany.sca.databinding.TransformationException;
-
-import com.google.protobuf.Message;
-
-/**
- *
- */
-public class InputStream2Protobuf implements PullTransformer<InputStream, Message> {
-
- @Override
- public String getSourceDataBinding() {
- return "application/x-protobuf" + "#" + InputStream.class.getName();
- }
-
- @Override
- public String getTargetDataBinding() {
- // TODO Auto-generated method stub
- return ProtobufDatabinding.NAME;
- }
-
- @Override
- public int getWeight() {
- // TODO Auto-generated method stub
- return 10;
- }
-
- @Override
- public Message transform(InputStream source, TransformationContext context) {
- try {
- Class<?> type = context.getTargetDataType().getPhysical();
- Method method = type.getMethod("parseFrom", InputStream.class);
- Object result = method.invoke(null, source);
- return (Message)result;
- } catch (Throwable e) {
- throw new TransformationException(e);
- }
- }
-
-}
diff --git a/unreleased/modules/databinding-protobuf/src/main/java/org/apache/tuscany/sca/databinding/protobuf/Protobuf2OutputStream.java b/unreleased/modules/databinding-protobuf/src/main/java/org/apache/tuscany/sca/databinding/protobuf/Protobuf2OutputStream.java
deleted file mode 100644
index 6892287..0000000
--- a/unreleased/modules/databinding-protobuf/src/main/java/org/apache/tuscany/sca/databinding/protobuf/Protobuf2OutputStream.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.databinding.protobuf;
-
-import java.io.IOException;
-import java.io.OutputStream;
-
-import org.apache.tuscany.sca.databinding.PushTransformer;
-import org.apache.tuscany.sca.databinding.TransformationContext;
-import org.apache.tuscany.sca.databinding.TransformationException;
-
-import com.google.protobuf.Message;
-
-/**
- *
- */
-public class Protobuf2OutputStream implements PushTransformer<Message, OutputStream> {
- @Override
- public String getSourceDataBinding() {
- return ProtobufDatabinding.NAME;
- }
-
- @Override
- public String getTargetDataBinding() {
- return "application/x-protobuf" + "#" + OutputStream.class.getName();
- }
-
- @Override
- public int getWeight() {
- return 10;
- }
-
- @Override
- public void transform(Message source, OutputStream sink, TransformationContext context) {
- try {
- if (source != null) {
- source.writeTo(sink);
- }
- } catch (IOException e) {
- throw new TransformationException(e);
- }
- }
-}
diff --git a/unreleased/modules/databinding-protobuf/src/main/java/org/apache/tuscany/sca/databinding/protobuf/ProtobufDatabinding.java b/unreleased/modules/databinding-protobuf/src/main/java/org/apache/tuscany/sca/databinding/protobuf/ProtobufDatabinding.java
deleted file mode 100644
index ad148c7..0000000
--- a/unreleased/modules/databinding-protobuf/src/main/java/org/apache/tuscany/sca/databinding/protobuf/ProtobufDatabinding.java
+++ /dev/null
@@ -1,107 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.databinding.protobuf;
-
-import org.apache.tuscany.sca.databinding.DataBinding;
-import org.apache.tuscany.sca.databinding.WrapperHandler;
-import org.apache.tuscany.sca.databinding.XMLTypeHelper;
-import org.apache.tuscany.sca.interfacedef.DataType;
-import org.apache.tuscany.sca.interfacedef.Operation;
-import org.apache.tuscany.sca.interfacedef.impl.DataTypeImpl;
-
-import com.google.protobuf.Message;
-
-/**
- * Google ProtocolBuffers databinding
- */
-public class ProtobufDatabinding implements DataBinding {
-
- public static final String NAME = "ProtocolBuffers";
-
- /**
- *
- */
- public ProtobufDatabinding() {
- }
-
- /* (non-Javadoc)
- * @see org.apache.tuscany.sca.databinding.DataBinding#getName()
- */
- @Override
- public String getName() {
- return NAME;
- }
-
- /* (non-Javadoc)
- * @see org.apache.tuscany.sca.databinding.DataBinding#introspect(org.apache.tuscany.sca.interfacedef.DataType, org.apache.tuscany.sca.interfacedef.Operation)
- */
- @Override
- public boolean introspect(DataType dataType, Operation operation) {
- if (Message.class.isAssignableFrom(dataType.getPhysical())) {
- dataType.setDataBinding(NAME);
- return true;
- }
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.apache.tuscany.sca.databinding.DataBinding#introspect(java.lang.Object, org.apache.tuscany.sca.interfacedef.Operation)
- */
- @Override
- public DataType introspect(Object value, Operation operation) {
- if (value instanceof Message) {
- DataType dt = new DataTypeImpl(value.getClass(), null);
- dt.setDataBinding(NAME);
- return dt;
- } else {
- return null;
- }
- }
-
- /* (non-Javadoc)
- * @see org.apache.tuscany.sca.databinding.DataBinding#getWrapperHandler()
- */
- @Override
- public WrapperHandler getWrapperHandler() {
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.apache.tuscany.sca.databinding.DataBinding#copy(java.lang.Object, org.apache.tuscany.sca.interfacedef.DataType, org.apache.tuscany.sca.interfacedef.DataType, org.apache.tuscany.sca.interfacedef.Operation, org.apache.tuscany.sca.interfacedef.Operation)
- */
- @Override
- public Object copy(Object object,
- DataType sourceDataType,
- DataType targetDataType,
- Operation sourceOperation,
- Operation targetOperation) {
- Message msg = (Message)object;
- return ((Message.Builder)msg.toBuilder().clone()).build();
- }
-
- /* (non-Javadoc)
- * @see org.apache.tuscany.sca.databinding.DataBinding#getXMLTypeHelper()
- */
- @Override
- public XMLTypeHelper getXMLTypeHelper() {
- return null;
- }
-
-}
diff --git a/unreleased/modules/databinding-protobuf/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.DataBinding b/unreleased/modules/databinding-protobuf/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.DataBinding
deleted file mode 100644
index 35f7932..0000000
--- a/unreleased/modules/databinding-protobuf/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.DataBinding
+++ /dev/null
@@ -1,20 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# implementation classes for the databindings
-org.apache.tuscany.sca.databinding.protobuf.ProtobufDatabinding;name=ProtocolBuffers
-
diff --git a/unreleased/modules/databinding-protobuf/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.PullTransformer b/unreleased/modules/databinding-protobuf/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.PullTransformer
deleted file mode 100644
index 0f60373..0000000
--- a/unreleased/modules/databinding-protobuf/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.PullTransformer
+++ /dev/null
@@ -1,20 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# Implementation classes for the transformers
-org.apache.tuscany.sca.databinding.protobuf.InputStream2Protobuf;source=application/x-protobuf#java.io.InputStream;target=ProtocolBuffers,weight=10,public=true
-
diff --git a/unreleased/modules/databinding-protobuf/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.PushTransformer b/unreleased/modules/databinding-protobuf/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.PushTransformer
deleted file mode 100644
index cc1989e..0000000
--- a/unreleased/modules/databinding-protobuf/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.PushTransformer
+++ /dev/null
@@ -1,17 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-org.apache.tuscany.sca.databinding.protobuf.Protobuf2OutputStream;source=ProtocolBuffers;target=application/x-protobuf#java.io.OutputStream,weight=10,public=true
diff --git a/unreleased/modules/databinding-protobuf/src/test/java/com/example/tutorial/AddressBookProtos.java b/unreleased/modules/databinding-protobuf/src/test/java/com/example/tutorial/AddressBookProtos.java
deleted file mode 100644
index 8219fe1..0000000
--- a/unreleased/modules/databinding-protobuf/src/test/java/com/example/tutorial/AddressBookProtos.java
+++ /dev/null
@@ -1,1375 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: addressbook.proto
-
-package com.example.tutorial;
-
-public final class AddressBookProtos {
- private AddressBookProtos() {
- }
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- }
-
- public static final class Person extends com.google.protobuf.GeneratedMessage {
- // Use Person.newBuilder() to construct.
- private Person() {
- initFields();
- }
-
- private Person(boolean noInit) {
- }
-
- private static final Person defaultInstance;
-
- public static Person getDefaultInstance() {
- return defaultInstance;
- }
-
- public Person getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.example.tutorial.AddressBookProtos.internal_static_tutorial_Person_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() {
- return com.example.tutorial.AddressBookProtos.internal_static_tutorial_Person_fieldAccessorTable;
- }
-
- public enum PhoneType implements com.google.protobuf.ProtocolMessageEnum {
- MOBILE(0, 0), HOME(1, 1), WORK(2, 2), ;
-
- public final int getNumber() {
- return value;
- }
-
- public static PhoneType valueOf(int value) {
- switch (value) {
- case 0:
- return MOBILE;
- case 1:
- return HOME;
- case 2:
- return WORK;
- default:
- return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap<PhoneType> internalGetValueMap() {
- return internalValueMap;
- }
-
- private static com.google.protobuf.Internal.EnumLiteMap<PhoneType> internalValueMap =
- new com.google.protobuf.Internal.EnumLiteMap<PhoneType>() {
- public PhoneType findValueByNumber(int number) {
- return PhoneType.valueOf(number);
- }
- };
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
- return getDescriptor().getValues().get(index);
- }
-
- public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
- return getDescriptor();
- }
-
- public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
- return com.example.tutorial.AddressBookProtos.Person.getDescriptor().getEnumTypes().get(0);
- }
-
- private static final PhoneType[] VALUES = {MOBILE, HOME, WORK,};
-
- public static PhoneType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
- }
- return VALUES[desc.getIndex()];
- }
-
- private final int index;
- private final int value;
-
- private PhoneType(int index, int value) {
- this.index = index;
- this.value = value;
- }
-
- static {
- com.example.tutorial.AddressBookProtos.getDescriptor();
- }
-
- // @@protoc_insertion_point(enum_scope:tutorial.Person.PhoneType)
- }
-
- public static final class PhoneNumber extends com.google.protobuf.GeneratedMessage {
- // Use PhoneNumber.newBuilder() to construct.
- private PhoneNumber() {
- initFields();
- }
-
- private PhoneNumber(boolean noInit) {
- }
-
- private static final PhoneNumber defaultInstance;
-
- public static PhoneNumber getDefaultInstance() {
- return defaultInstance;
- }
-
- public PhoneNumber getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.example.tutorial.AddressBookProtos.internal_static_tutorial_Person_PhoneNumber_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() {
- return com.example.tutorial.AddressBookProtos.internal_static_tutorial_Person_PhoneNumber_fieldAccessorTable;
- }
-
- // required string number = 1;
- public static final int NUMBER_FIELD_NUMBER = 1;
- private boolean hasNumber;
- private java.lang.String number_ = "";
-
- public boolean hasNumber() {
- return hasNumber;
- }
-
- public java.lang.String getNumber() {
- return number_;
- }
-
- // optional .tutorial.Person.PhoneType type = 2 [default = HOME];
- public static final int TYPE_FIELD_NUMBER = 2;
- private boolean hasType;
- private com.example.tutorial.AddressBookProtos.Person.PhoneType type_;
-
- public boolean hasType() {
- return hasType;
- }
-
- public com.example.tutorial.AddressBookProtos.Person.PhoneType getType() {
- return type_;
- }
-
- private void initFields() {
- type_ = com.example.tutorial.AddressBookProtos.Person.PhoneType.HOME;
- }
-
- public final boolean isInitialized() {
- if (!hasNumber)
- return false;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- getSerializedSize();
- if (hasNumber()) {
- output.writeString(1, getNumber());
- }
- if (hasType()) {
- output.writeEnum(2, getType().getNumber());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
-
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1)
- return size;
-
- size = 0;
- if (hasNumber()) {
- size += com.google.protobuf.CodedOutputStream.computeStringSize(1, getNumber());
- }
- if (hasType()) {
- size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, getType().getNumber());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static com.example.tutorial.AddressBookProtos.Person.PhoneNumber parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.Person.PhoneNumber parseFrom(com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.Person.PhoneNumber parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.Person.PhoneNumber parseFrom(byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.Person.PhoneNumber parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.Person.PhoneNumber parseFrom(java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.Person.PhoneNumber parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
-
- public static com.example.tutorial.AddressBookProtos.Person.PhoneNumber parseDelimitedFrom(java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
-
- public static com.example.tutorial.AddressBookProtos.Person.PhoneNumber parseFrom(com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.Person.PhoneNumber parseFrom(com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry).buildParsed();
- }
-
- public static Builder newBuilder() {
- return Builder.create();
- }
-
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- public static Builder newBuilder(com.example.tutorial.AddressBookProtos.Person.PhoneNumber prototype) {
- return newBuilder().mergeFrom(prototype);
- }
-
- public Builder toBuilder() {
- return newBuilder(this);
- }
-
- public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private com.example.tutorial.AddressBookProtos.Person.PhoneNumber result;
-
- // Construct using com.example.tutorial.AddressBookProtos.Person.PhoneNumber.newBuilder()
- private Builder() {
- }
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new com.example.tutorial.AddressBookProtos.Person.PhoneNumber();
- return builder;
- }
-
- protected com.example.tutorial.AddressBookProtos.Person.PhoneNumber internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException("Cannot call clear() after build().");
- }
- result = new com.example.tutorial.AddressBookProtos.Person.PhoneNumber();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.example.tutorial.AddressBookProtos.Person.PhoneNumber.getDescriptor();
- }
-
- public com.example.tutorial.AddressBookProtos.Person.PhoneNumber getDefaultInstanceForType() {
- return com.example.tutorial.AddressBookProtos.Person.PhoneNumber.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
-
- public com.example.tutorial.AddressBookProtos.Person.PhoneNumber build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private com.example.tutorial.AddressBookProtos.Person.PhoneNumber buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public com.example.tutorial.AddressBookProtos.Person.PhoneNumber buildPartial() {
- if (result == null) {
- throw new IllegalStateException("build() has already been called on this Builder.");
- }
- com.example.tutorial.AddressBookProtos.Person.PhoneNumber returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.example.tutorial.AddressBookProtos.Person.PhoneNumber) {
- return mergeFrom((com.example.tutorial.AddressBookProtos.Person.PhoneNumber)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.example.tutorial.AddressBookProtos.Person.PhoneNumber other) {
- if (other == com.example.tutorial.AddressBookProtos.Person.PhoneNumber.getDefaultInstance())
- return this;
- if (other.hasNumber()) {
- setNumber(other.getNumber());
- }
- if (other.hasType()) {
- setType(other.getType());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- setNumber(input.readString());
- break;
- }
- case 16: {
- int rawValue = input.readEnum();
- com.example.tutorial.AddressBookProtos.Person.PhoneType value =
- com.example.tutorial.AddressBookProtos.Person.PhoneType.valueOf(rawValue);
- if (value == null) {
- unknownFields.mergeVarintField(2, rawValue);
- } else {
- setType(value);
- }
- break;
- }
- }
- }
- }
-
- // required string number = 1;
- public boolean hasNumber() {
- return result.hasNumber();
- }
-
- public java.lang.String getNumber() {
- return result.getNumber();
- }
-
- public Builder setNumber(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasNumber = true;
- result.number_ = value;
- return this;
- }
-
- public Builder clearNumber() {
- result.hasNumber = false;
- result.number_ = getDefaultInstance().getNumber();
- return this;
- }
-
- // optional .tutorial.Person.PhoneType type = 2 [default = HOME];
- public boolean hasType() {
- return result.hasType();
- }
-
- public com.example.tutorial.AddressBookProtos.Person.PhoneType getType() {
- return result.getType();
- }
-
- public Builder setType(com.example.tutorial.AddressBookProtos.Person.PhoneType value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasType = true;
- result.type_ = value;
- return this;
- }
-
- public Builder clearType() {
- result.hasType = false;
- result.type_ = com.example.tutorial.AddressBookProtos.Person.PhoneType.HOME;
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:tutorial.Person.PhoneNumber)
- }
-
- static {
- defaultInstance = new PhoneNumber(true);
- com.example.tutorial.AddressBookProtos.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:tutorial.Person.PhoneNumber)
- }
-
- // required string name = 1;
- public static final int NAME_FIELD_NUMBER = 1;
- private boolean hasName;
- private java.lang.String name_ = "";
-
- public boolean hasName() {
- return hasName;
- }
-
- public java.lang.String getName() {
- return name_;
- }
-
- // required int32 id = 2;
- public static final int ID_FIELD_NUMBER = 2;
- private boolean hasId;
- private int id_ = 0;
-
- public boolean hasId() {
- return hasId;
- }
-
- public int getId() {
- return id_;
- }
-
- // optional string email = 3;
- public static final int EMAIL_FIELD_NUMBER = 3;
- private boolean hasEmail;
- private java.lang.String email_ = "";
-
- public boolean hasEmail() {
- return hasEmail;
- }
-
- public java.lang.String getEmail() {
- return email_;
- }
-
- // repeated .tutorial.Person.PhoneNumber phone = 4;
- public static final int PHONE_FIELD_NUMBER = 4;
- private java.util.List<com.example.tutorial.AddressBookProtos.Person.PhoneNumber> phone_ =
- java.util.Collections.emptyList();
-
- public java.util.List<com.example.tutorial.AddressBookProtos.Person.PhoneNumber> getPhoneList() {
- return phone_;
- }
-
- public int getPhoneCount() {
- return phone_.size();
- }
-
- public com.example.tutorial.AddressBookProtos.Person.PhoneNumber getPhone(int index) {
- return phone_.get(index);
- }
-
- private void initFields() {
- }
-
- public final boolean isInitialized() {
- if (!hasName)
- return false;
- if (!hasId)
- return false;
- for (com.example.tutorial.AddressBookProtos.Person.PhoneNumber element : getPhoneList()) {
- if (!element.isInitialized())
- return false;
- }
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- getSerializedSize();
- if (hasName()) {
- output.writeString(1, getName());
- }
- if (hasId()) {
- output.writeInt32(2, getId());
- }
- if (hasEmail()) {
- output.writeString(3, getEmail());
- }
- for (com.example.tutorial.AddressBookProtos.Person.PhoneNumber element : getPhoneList()) {
- output.writeMessage(4, element);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
-
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1)
- return size;
-
- size = 0;
- if (hasName()) {
- size += com.google.protobuf.CodedOutputStream.computeStringSize(1, getName());
- }
- if (hasId()) {
- size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, getId());
- }
- if (hasEmail()) {
- size += com.google.protobuf.CodedOutputStream.computeStringSize(3, getEmail());
- }
- for (com.example.tutorial.AddressBookProtos.Person.PhoneNumber element : getPhoneList()) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, element);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static com.example.tutorial.AddressBookProtos.Person parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.Person parseFrom(com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.Person parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.Person parseFrom(byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.Person parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.Person parseFrom(java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.Person parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
-
- public static com.example.tutorial.AddressBookProtos.Person parseDelimitedFrom(java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
-
- public static com.example.tutorial.AddressBookProtos.Person parseFrom(com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.Person parseFrom(com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry).buildParsed();
- }
-
- public static Builder newBuilder() {
- return Builder.create();
- }
-
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- public static Builder newBuilder(com.example.tutorial.AddressBookProtos.Person prototype) {
- return newBuilder().mergeFrom(prototype);
- }
-
- public Builder toBuilder() {
- return newBuilder(this);
- }
-
- public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private com.example.tutorial.AddressBookProtos.Person result;
-
- // Construct using com.example.tutorial.AddressBookProtos.Person.newBuilder()
- private Builder() {
- }
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new com.example.tutorial.AddressBookProtos.Person();
- return builder;
- }
-
- protected com.example.tutorial.AddressBookProtos.Person internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException("Cannot call clear() after build().");
- }
- result = new com.example.tutorial.AddressBookProtos.Person();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.example.tutorial.AddressBookProtos.Person.getDescriptor();
- }
-
- public com.example.tutorial.AddressBookProtos.Person getDefaultInstanceForType() {
- return com.example.tutorial.AddressBookProtos.Person.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
-
- public com.example.tutorial.AddressBookProtos.Person build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private com.example.tutorial.AddressBookProtos.Person buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public com.example.tutorial.AddressBookProtos.Person buildPartial() {
- if (result == null) {
- throw new IllegalStateException("build() has already been called on this Builder.");
- }
- if (result.phone_ != java.util.Collections.EMPTY_LIST) {
- result.phone_ = java.util.Collections.unmodifiableList(result.phone_);
- }
- com.example.tutorial.AddressBookProtos.Person returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.example.tutorial.AddressBookProtos.Person) {
- return mergeFrom((com.example.tutorial.AddressBookProtos.Person)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.example.tutorial.AddressBookProtos.Person other) {
- if (other == com.example.tutorial.AddressBookProtos.Person.getDefaultInstance())
- return this;
- if (other.hasName()) {
- setName(other.getName());
- }
- if (other.hasId()) {
- setId(other.getId());
- }
- if (other.hasEmail()) {
- setEmail(other.getEmail());
- }
- if (!other.phone_.isEmpty()) {
- if (result.phone_.isEmpty()) {
- result.phone_ =
- new java.util.ArrayList<com.example.tutorial.AddressBookProtos.Person.PhoneNumber>();
- }
- result.phone_.addAll(other.phone_);
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- setName(input.readString());
- break;
- }
- case 16: {
- setId(input.readInt32());
- break;
- }
- case 26: {
- setEmail(input.readString());
- break;
- }
- case 34: {
- com.example.tutorial.AddressBookProtos.Person.PhoneNumber.Builder subBuilder =
- com.example.tutorial.AddressBookProtos.Person.PhoneNumber.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addPhone(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- // required string name = 1;
- public boolean hasName() {
- return result.hasName();
- }
-
- public java.lang.String getName() {
- return result.getName();
- }
-
- public Builder setName(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasName = true;
- result.name_ = value;
- return this;
- }
-
- public Builder clearName() {
- result.hasName = false;
- result.name_ = getDefaultInstance().getName();
- return this;
- }
-
- // required int32 id = 2;
- public boolean hasId() {
- return result.hasId();
- }
-
- public int getId() {
- return result.getId();
- }
-
- public Builder setId(int value) {
- result.hasId = true;
- result.id_ = value;
- return this;
- }
-
- public Builder clearId() {
- result.hasId = false;
- result.id_ = 0;
- return this;
- }
-
- // optional string email = 3;
- public boolean hasEmail() {
- return result.hasEmail();
- }
-
- public java.lang.String getEmail() {
- return result.getEmail();
- }
-
- public Builder setEmail(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasEmail = true;
- result.email_ = value;
- return this;
- }
-
- public Builder clearEmail() {
- result.hasEmail = false;
- result.email_ = getDefaultInstance().getEmail();
- return this;
- }
-
- // repeated .tutorial.Person.PhoneNumber phone = 4;
- public java.util.List<com.example.tutorial.AddressBookProtos.Person.PhoneNumber> getPhoneList() {
- return java.util.Collections.unmodifiableList(result.phone_);
- }
-
- public int getPhoneCount() {
- return result.getPhoneCount();
- }
-
- public com.example.tutorial.AddressBookProtos.Person.PhoneNumber getPhone(int index) {
- return result.getPhone(index);
- }
-
- public Builder setPhone(int index, com.example.tutorial.AddressBookProtos.Person.PhoneNumber value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.phone_.set(index, value);
- return this;
- }
-
- public Builder setPhone(int index,
- com.example.tutorial.AddressBookProtos.Person.PhoneNumber.Builder builderForValue) {
- result.phone_.set(index, builderForValue.build());
- return this;
- }
-
- public Builder addPhone(com.example.tutorial.AddressBookProtos.Person.PhoneNumber value) {
- if (value == null) {
- throw new NullPointerException();
- }
- if (result.phone_.isEmpty()) {
- result.phone_ =
- new java.util.ArrayList<com.example.tutorial.AddressBookProtos.Person.PhoneNumber>();
- }
- result.phone_.add(value);
- return this;
- }
-
- public Builder addPhone(com.example.tutorial.AddressBookProtos.Person.PhoneNumber.Builder builderForValue) {
- if (result.phone_.isEmpty()) {
- result.phone_ =
- new java.util.ArrayList<com.example.tutorial.AddressBookProtos.Person.PhoneNumber>();
- }
- result.phone_.add(builderForValue.build());
- return this;
- }
-
- public Builder addAllPhone(java.lang.Iterable<? extends com.example.tutorial.AddressBookProtos.Person.PhoneNumber> values) {
- if (result.phone_.isEmpty()) {
- result.phone_ =
- new java.util.ArrayList<com.example.tutorial.AddressBookProtos.Person.PhoneNumber>();
- }
- super.addAll(values, result.phone_);
- return this;
- }
-
- public Builder clearPhone() {
- result.phone_ = java.util.Collections.emptyList();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:tutorial.Person)
- }
-
- static {
- defaultInstance = new Person(true);
- com.example.tutorial.AddressBookProtos.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:tutorial.Person)
- }
-
- public static final class AddressBook extends com.google.protobuf.GeneratedMessage {
- // Use AddressBook.newBuilder() to construct.
- private AddressBook() {
- initFields();
- }
-
- private AddressBook(boolean noInit) {
- }
-
- private static final AddressBook defaultInstance;
-
- public static AddressBook getDefaultInstance() {
- return defaultInstance;
- }
-
- public AddressBook getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.example.tutorial.AddressBookProtos.internal_static_tutorial_AddressBook_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() {
- return com.example.tutorial.AddressBookProtos.internal_static_tutorial_AddressBook_fieldAccessorTable;
- }
-
- // repeated .tutorial.Person person = 1;
- public static final int PERSON_FIELD_NUMBER = 1;
- private java.util.List<com.example.tutorial.AddressBookProtos.Person> person_ = java.util.Collections
- .emptyList();
-
- public java.util.List<com.example.tutorial.AddressBookProtos.Person> getPersonList() {
- return person_;
- }
-
- public int getPersonCount() {
- return person_.size();
- }
-
- public com.example.tutorial.AddressBookProtos.Person getPerson(int index) {
- return person_.get(index);
- }
-
- private void initFields() {
- }
-
- public final boolean isInitialized() {
- for (com.example.tutorial.AddressBookProtos.Person element : getPersonList()) {
- if (!element.isInitialized())
- return false;
- }
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- getSerializedSize();
- for (com.example.tutorial.AddressBookProtos.Person element : getPersonList()) {
- output.writeMessage(1, element);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
-
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1)
- return size;
-
- size = 0;
- for (com.example.tutorial.AddressBookProtos.Person element : getPersonList()) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, element);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static com.example.tutorial.AddressBookProtos.AddressBook parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.AddressBook parseFrom(com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.AddressBook parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.AddressBook parseFrom(byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.AddressBook parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.AddressBook parseFrom(java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.AddressBook parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
-
- public static com.example.tutorial.AddressBookProtos.AddressBook parseDelimitedFrom(java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
-
- public static com.example.tutorial.AddressBookProtos.AddressBook parseFrom(com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
-
- public static com.example.tutorial.AddressBookProtos.AddressBook parseFrom(com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry).buildParsed();
- }
-
- public static Builder newBuilder() {
- return Builder.create();
- }
-
- public Builder newBuilderForType() {
- return newBuilder();
- }
-
- public static Builder newBuilder(com.example.tutorial.AddressBookProtos.AddressBook prototype) {
- return newBuilder().mergeFrom(prototype);
- }
-
- public Builder toBuilder() {
- return newBuilder(this);
- }
-
- public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private com.example.tutorial.AddressBookProtos.AddressBook result;
-
- // Construct using com.example.tutorial.AddressBookProtos.AddressBook.newBuilder()
- private Builder() {
- }
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new com.example.tutorial.AddressBookProtos.AddressBook();
- return builder;
- }
-
- protected com.example.tutorial.AddressBookProtos.AddressBook internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException("Cannot call clear() after build().");
- }
- result = new com.example.tutorial.AddressBookProtos.AddressBook();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.example.tutorial.AddressBookProtos.AddressBook.getDescriptor();
- }
-
- public com.example.tutorial.AddressBookProtos.AddressBook getDefaultInstanceForType() {
- return com.example.tutorial.AddressBookProtos.AddressBook.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
-
- public com.example.tutorial.AddressBookProtos.AddressBook build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private com.example.tutorial.AddressBookProtos.AddressBook buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public com.example.tutorial.AddressBookProtos.AddressBook buildPartial() {
- if (result == null) {
- throw new IllegalStateException("build() has already been called on this Builder.");
- }
- if (result.person_ != java.util.Collections.EMPTY_LIST) {
- result.person_ = java.util.Collections.unmodifiableList(result.person_);
- }
- com.example.tutorial.AddressBookProtos.AddressBook returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.example.tutorial.AddressBookProtos.AddressBook) {
- return mergeFrom((com.example.tutorial.AddressBookProtos.AddressBook)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.example.tutorial.AddressBookProtos.AddressBook other) {
- if (other == com.example.tutorial.AddressBookProtos.AddressBook.getDefaultInstance())
- return this;
- if (!other.person_.isEmpty()) {
- if (result.person_.isEmpty()) {
- result.person_ = new java.util.ArrayList<com.example.tutorial.AddressBookProtos.Person>();
- }
- result.person_.addAll(other.person_);
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- com.example.tutorial.AddressBookProtos.Person.Builder subBuilder =
- com.example.tutorial.AddressBookProtos.Person.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addPerson(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
- // repeated .tutorial.Person person = 1;
- public java.util.List<com.example.tutorial.AddressBookProtos.Person> getPersonList() {
- return java.util.Collections.unmodifiableList(result.person_);
- }
-
- public int getPersonCount() {
- return result.getPersonCount();
- }
-
- public com.example.tutorial.AddressBookProtos.Person getPerson(int index) {
- return result.getPerson(index);
- }
-
- public Builder setPerson(int index, com.example.tutorial.AddressBookProtos.Person value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.person_.set(index, value);
- return this;
- }
-
- public Builder setPerson(int index, com.example.tutorial.AddressBookProtos.Person.Builder builderForValue) {
- result.person_.set(index, builderForValue.build());
- return this;
- }
-
- public Builder addPerson(com.example.tutorial.AddressBookProtos.Person value) {
- if (value == null) {
- throw new NullPointerException();
- }
- if (result.person_.isEmpty()) {
- result.person_ = new java.util.ArrayList<com.example.tutorial.AddressBookProtos.Person>();
- }
- result.person_.add(value);
- return this;
- }
-
- public Builder addPerson(com.example.tutorial.AddressBookProtos.Person.Builder builderForValue) {
- if (result.person_.isEmpty()) {
- result.person_ = new java.util.ArrayList<com.example.tutorial.AddressBookProtos.Person>();
- }
- result.person_.add(builderForValue.build());
- return this;
- }
-
- public Builder addAllPerson(java.lang.Iterable<? extends com.example.tutorial.AddressBookProtos.Person> values) {
- if (result.person_.isEmpty()) {
- result.person_ = new java.util.ArrayList<com.example.tutorial.AddressBookProtos.Person>();
- }
- super.addAll(values, result.person_);
- return this;
- }
-
- public Builder clearPerson() {
- result.person_ = java.util.Collections.emptyList();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:tutorial.AddressBook)
- }
-
- static {
- defaultInstance = new AddressBook(true);
- com.example.tutorial.AddressBookProtos.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:tutorial.AddressBook)
- }
-
- private static com.google.protobuf.Descriptors.Descriptor internal_static_tutorial_Person_descriptor;
- private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_tutorial_Person_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor internal_static_tutorial_Person_PhoneNumber_descriptor;
- private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_tutorial_Person_PhoneNumber_fieldAccessorTable;
- private static com.google.protobuf.Descriptors.Descriptor internal_static_tutorial_AddressBook_descriptor;
- private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_tutorial_AddressBook_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
- static {
- java.lang.String[] descriptorData =
- {"\n\021addressbook.proto\022\010tutorial\"\332\001\n\006Person" + "\022\014\n\004name\030\001 \002(\t\022\n\n\002id\030\002 \002(\005\022\r\n\005email\030\003 \001("
- + "\t\022+\n\005phone\030\004 \003(\0132\034.tutorial.Person.Phone"
- + "Number\032M\n\013PhoneNumber\022\016\n\006number\030\001 \002(\t\022.\n"
- + "\004type\030\002 \001(\0162\032.tutorial.Person.PhoneType:"
- + "\004HOME\"+\n\tPhoneType\022\n\n\006MOBILE\020\000\022\010\n\004HOME\020\001"
- + "\022\010\n\004WORK\020\002\"/\n\013AddressBook\022 \n\006person\030\001 \003("
- + "\0132\020.tutorial.PersonB)\n\024com.example.tutor"
- + "ialB\021AddressBookProtos"};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- internal_static_tutorial_Person_descriptor = getDescriptor().getMessageTypes().get(0);
- internal_static_tutorial_Person_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_tutorial_Person_descriptor,
- new java.lang.String[] {"Name",
- "Id",
- "Email",
- "Phone",},
- com.example.tutorial.AddressBookProtos.Person.class,
- com.example.tutorial.AddressBookProtos.Person.Builder.class);
- internal_static_tutorial_Person_PhoneNumber_descriptor =
- internal_static_tutorial_Person_descriptor.getNestedTypes().get(0);
- internal_static_tutorial_Person_PhoneNumber_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_tutorial_Person_PhoneNumber_descriptor,
- new java.lang.String[] {"Number",
- "Type",},
- com.example.tutorial.AddressBookProtos.Person.PhoneNumber.class,
- com.example.tutorial.AddressBookProtos.Person.PhoneNumber.Builder.class);
- internal_static_tutorial_AddressBook_descriptor = getDescriptor().getMessageTypes().get(1);
- internal_static_tutorial_AddressBook_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_tutorial_AddressBook_descriptor,
- new java.lang.String[] {"Person",},
- com.example.tutorial.AddressBookProtos.AddressBook.class,
- com.example.tutorial.AddressBookProtos.AddressBook.Builder.class);
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {},
- assigner);
- }
-
- public static void internalForceInit() {
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/unreleased/modules/databinding-protobuf/src/test/java/org/apache/tuscany/sca/databinding/protobuf/ProtobufTransformationTestCase.java b/unreleased/modules/databinding-protobuf/src/test/java/org/apache/tuscany/sca/databinding/protobuf/ProtobufTransformationTestCase.java
deleted file mode 100644
index 9fc6f30..0000000
--- a/unreleased/modules/databinding-protobuf/src/test/java/org/apache/tuscany/sca/databinding/protobuf/ProtobufTransformationTestCase.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.databinding.protobuf;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-
-import junit.framework.Assert;
-
-import org.apache.tuscany.sca.databinding.TransformationContext;
-import org.apache.tuscany.sca.databinding.impl.TransformationContextImpl;
-import org.apache.tuscany.sca.interfacedef.DataType;
-import org.apache.tuscany.sca.interfacedef.impl.DataTypeImpl;
-import org.junit.Test;
-
-import com.example.tutorial.AddressBookProtos.AddressBook;
-import com.example.tutorial.AddressBookProtos.Person;
-
-/**
- *
- */
-public class ProtobufTransformationTestCase {
- @Test
- public void testTransform() throws Exception {
- Protobuf2OutputStream t1 = new Protobuf2OutputStream();
- TransformationContext context = new TransformationContextImpl();
- DataType dt1 = new DataTypeImpl(AddressBook.class, null);
- context.setSourceDataType(dt1);
-
- AddressBook addressBook =
- AddressBook.newBuilder()
- .addPerson(Person.newBuilder().setId(1).setEmail("abc@example.com").setName("John Smith").build())
- .build();
-
- ByteArrayOutputStream bos = new ByteArrayOutputStream();
- t1.transform(addressBook, bos, context);
-
- InputStream2Protobuf t2 = new InputStream2Protobuf();
- context.setSourceDataType(null);
- context.setTargetDataType(dt1);
-
- ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
- AddressBook addressBook2 = (AddressBook)t2.transform(bis, context);
- Assert.assertEquals(addressBook, addressBook2);
- }
-}
diff --git a/unreleased/modules/databinding-protobuf/src/test/resources/addressbook.proto b/unreleased/modules/databinding-protobuf/src/test/resources/addressbook.proto
deleted file mode 100644
index 395320f..0000000
--- a/unreleased/modules/databinding-protobuf/src/test/resources/addressbook.proto
+++ /dev/null
@@ -1,48 +0,0 @@
-//
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
-//
-// See README.txt for information and build instructions.
-
-package tutorial;
-
-option java_package = "com.example.tutorial";
-option java_outer_classname = "AddressBookProtos";
-
-message Person {
- required string name = 1;
- required int32 id = 2; // Unique ID number for this person.
- optional string email = 3;
-
- enum PhoneType {
- MOBILE = 0;
- HOME = 1;
- WORK = 2;
- }
-
- message PhoneNumber {
- required string number = 1;
- optional PhoneType type = 2 [default = HOME];
- }
-
- repeated PhoneNumber phone = 4;
-}
-
-// Our address book file is just one of these.
-message AddressBook {
- repeated Person person = 1;
-}
diff --git a/unreleased/modules/host-tomcat/LICENSE b/unreleased/modules/host-tomcat/LICENSE
deleted file mode 100644
index 8aa906c..0000000
--- a/unreleased/modules/host-tomcat/LICENSE
+++ /dev/null
@@ -1,205 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-
-
diff --git a/unreleased/modules/host-tomcat/META-INF/MANIFEST.MF b/unreleased/modules/host-tomcat/META-INF/MANIFEST.MF
deleted file mode 100644
index cab6b50..0000000
--- a/unreleased/modules/host-tomcat/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,33 +0,0 @@
-Manifest-Version: 1.0
-Private-Package: org.apache.tuscany.sca.http.tomcat;version="2.0.0",org.
- apache.tuscany.sca.http.tomcat.module;version="2.0.0"
-Tool: Bnd-0.0.255
-Bundle-Name: Apache Tuscany SCA Tomcat Servlet Host Extension
-Created-By: 1.6.0_07 (Sun Microsystems Inc.)
-Bundle-Vendor: The Apache Software Foundation
-Bundle-Version: 2.0.0
-Bnd-LastModified: 1222833663765
-Bundle-ManifestVersion: 2
-Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
-Bundle-Description: Apache Tuscany SCA Tomcat Servlet Host Extension
-Import-Package: javax.naming,
- javax.naming.directory,
- javax.servlet,
- javax.servlet.http,
- org.apache.catalina,
- org.apache.catalina.connector,
- org.apache.catalina.core,
- org.apache.catalina.servlets,
- org.apache.catalina.startup,
- org.apache.coyote,
- org.apache.coyote.http11,
- org.apache.naming.resources,
- org.apache.tomcat.util.buf,
- org.apache.tomcat.util.http.mapper,
- org.apache.tomcat.util.net,
- org.apache.tuscany.sca.core;version="2.0.0",
- org.apache.tuscany.sca.host.http;version="2.0.0",
- org.apache.tuscany.sca.work;version="2.0.0"
-Bundle-SymbolicName: org.apache.tuscany.sca.host.tomcat
-Bundle-DocURL: http://www.apache.org/
-
diff --git a/unreleased/modules/host-tomcat/NOTICE b/unreleased/modules/host-tomcat/NOTICE
deleted file mode 100644
index 25bb89c..0000000
--- a/unreleased/modules/host-tomcat/NOTICE
+++ /dev/null
@@ -1,6 +0,0 @@
-${pom.name}
-Copyright (c) 2005 - 2009 The Apache Software Foundation
-
-This product includes software developed by
-The Apache Software Foundation (http://www.apache.org/).
-
diff --git a/unreleased/modules/host-tomcat/pom.xml b/unreleased/modules/host-tomcat/pom.xml
deleted file mode 100644
index 6f49551..0000000
--- a/unreleased/modules/host-tomcat/pom.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-modules</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <artifactId>tuscany-host-tomcat</artifactId>
- <name>Apache Tuscany SCA Tomcat Servlet Host Extension</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-host-http</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.5</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>catalina</artifactId>
- <version>6.0.26</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>servlet-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>coyote</artifactId>
- <version>6.0.26</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>servlet-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
-
-</project>
diff --git a/unreleased/modules/host-tomcat/src/main/java/org/apache/tuscany/sca/http/tomcat/ServletWrapper.java b/unreleased/modules/host-tomcat/src/main/java/org/apache/tuscany/sca/http/tomcat/ServletWrapper.java
deleted file mode 100644
index a0b384d..0000000
--- a/unreleased/modules/host-tomcat/src/main/java/org/apache/tuscany/sca/http/tomcat/ServletWrapper.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tuscany.sca.http.tomcat;
-
-import javax.servlet.Servlet;
-import javax.servlet.ServletException;
-
-import org.apache.catalina.core.StandardWrapper;
-
-/**
- * A Servlet wrapper.
- *
- * @version $Rev$ $Date$
- */
-public class ServletWrapper extends StandardWrapper {
- private static final long serialVersionUID = 1L;
-
- private final Servlet servlet;
-
- public ServletWrapper(Servlet servlet) {
- this.servlet = servlet;
- }
-
- @Override
- public synchronized Servlet loadServlet() {
- return servlet;
- }
-
- @Override
- public Servlet getServlet() {
- return servlet;
- }
-
- public void initServlet() throws ServletException {
- servlet.init(facade);
- }
-
- public void destroyServlet() {
- servlet.destroy();
- }
-
-}
diff --git a/unreleased/modules/host-tomcat/src/main/java/org/apache/tuscany/sca/http/tomcat/TomcatDefaultServlet.java b/unreleased/modules/host-tomcat/src/main/java/org/apache/tuscany/sca/http/tomcat/TomcatDefaultServlet.java
deleted file mode 100644
index 5d9b655..0000000
--- a/unreleased/modules/host-tomcat/src/main/java/org/apache/tuscany/sca/http/tomcat/TomcatDefaultServlet.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.tuscany.sca.http.tomcat;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.MalformedURLException;
-import java.net.URI;
-import java.net.URL;
-import java.net.URLConnection;
-import java.util.Hashtable;
-
-import javax.naming.NamingException;
-import javax.naming.directory.Attributes;
-import javax.naming.directory.BasicAttributes;
-import javax.naming.directory.DirContext;
-import javax.servlet.ServletConfig;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
-
-import org.apache.catalina.servlets.DefaultServlet;
-import org.apache.naming.resources.FileDirContext;
-import org.apache.naming.resources.ProxyDirContext;
-import org.apache.naming.resources.Resource;
-
-/**
- * DefaultServlet implementation for Tomcat.
- *
- * @version $Rev$ $Date$
- */
-public class TomcatDefaultServlet extends DefaultServlet {
- private static final long serialVersionUID = -7503581551326796573L;
-
- private String documentRoot;
- private ProxyDirContext proxyDirContext;
-
- public TomcatDefaultServlet(String servletPath, String documentRoot) {
- this.documentRoot = documentRoot;
-
- DirContext dirContext;
- URI uri = URI.create(documentRoot);
- if (!"file".equals(uri.getScheme())) {
-
- dirContext = new FileDirContext() {
- @Override
- public Attributes getAttributes(String name) throws NamingException {
- return new BasicAttributes();
- }
-
- @Override
- public Object lookup(String name) throws NamingException {
-
- try {
- final URL url = new URL(TomcatDefaultServlet.this.documentRoot + name);
- return new Resource() {
- @Override
- public InputStream streamContent() throws IOException {
- URLConnection connection = url.openConnection();
- connection.setUseCaches(false);
- return connection.getInputStream();
- }
- };
- } catch (MalformedURLException e) {
- throw new NamingException(e.toString());
- }
- }
- };
-
- } else {
- dirContext = new FileDirContext();
- ((FileDirContext)dirContext).setDocBase(uri.getPath());
- }
- proxyDirContext = new ProxyDirContext(new Hashtable(), dirContext);
- resources = proxyDirContext;
- }
-
- @Override
- public void init() throws ServletException {
- super.init();
- resources = proxyDirContext;
- }
-
- @Override
- public void init(ServletConfig servletConfig) throws ServletException {
- super.init(servletConfig);
- resources = proxyDirContext;
- }
-
- @Override
- protected String getRelativePath(HttpServletRequest request) {
- String path = request.getPathInfo();
- if (path == null || path.length() == 0) {
- path = "/";
- }
- return path;
- }
-}
diff --git a/unreleased/modules/host-tomcat/src/main/java/org/apache/tuscany/sca/http/tomcat/TomcatServer.java b/unreleased/modules/host-tomcat/src/main/java/org/apache/tuscany/sca/http/tomcat/TomcatServer.java
deleted file mode 100644
index d1a2e5d..0000000
--- a/unreleased/modules/host-tomcat/src/main/java/org/apache/tuscany/sca/http/tomcat/TomcatServer.java
+++ /dev/null
@@ -1,701 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tuscany.sca.http.tomcat;
-
-import java.beans.PropertyChangeListener;
-import java.net.InetAddress;
-import java.net.MalformedURLException;
-import java.net.URI;
-import java.net.URL;
-import java.net.UnknownHostException;
-import java.security.AccessController;
-import java.security.KeyStore;
-import java.security.PrivilegedAction;
-import java.security.PrivilegedActionException;
-import java.security.PrivilegedExceptionAction;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.logging.Logger;
-
-import javax.servlet.RequestDispatcher;
-import javax.servlet.Servlet;
-import javax.servlet.ServletContext;
-import javax.servlet.ServletException;
-
-import org.apache.catalina.Container;
-import org.apache.catalina.Context;
-import org.apache.catalina.Engine;
-import org.apache.catalina.Host;
-import org.apache.catalina.Lifecycle;
-import org.apache.catalina.LifecycleException;
-import org.apache.catalina.Loader;
-import org.apache.catalina.connector.Connector;
-import org.apache.catalina.core.StandardEngine;
-import org.apache.catalina.startup.ContextConfig;
-import org.apache.catalina.startup.Embedded;
-import org.apache.coyote.http11.Http11Protocol;
-import org.apache.tomcat.util.buf.MessageBytes;
-import org.apache.tomcat.util.http.mapper.MappingData;
-import org.apache.tuscany.sca.core.ExtensionPointRegistry;
-import org.apache.tuscany.sca.core.LifeCycleListener;
-import org.apache.tuscany.sca.core.UtilityExtensionPoint;
-import org.apache.tuscany.sca.host.http.DefaultResourceServlet;
-import org.apache.tuscany.sca.host.http.SecurityContext;
-import org.apache.tuscany.sca.host.http.ServletHost;
-import org.apache.tuscany.sca.host.http.ServletMappingException;
-import org.apache.tuscany.sca.work.WorkScheduler;
-
-/**
- * A Tomcat based implementation of ServletHost.
- *
- * @version $Rev$ $Date$
- */
-public class TomcatServer implements ServletHost, LifeCycleListener {
- private static final Logger logger = Logger.getLogger(TomcatServer.class.getName());
-
- private WorkScheduler workScheduler;
- private Embedded embedded;
- private Map<Integer, Port> ports = new HashMap<Integer, Port>();
- private String contextPath = "/";
- private int defaultPort = 8080;
- private int defaultSSLPort = 8443;
-
- private final class TuscanyLoader implements Loader {
- private final ClassLoader tccl;
- private boolean delegate;
- private boolean reloadable;
- private Container container;
- private List<String> repos = new ArrayList<String>();
- private List<PropertyChangeListener> listeners = new ArrayList<PropertyChangeListener>();
-
- private TuscanyLoader(ClassLoader tccl) {
- this.tccl = tccl;
- }
-
- public void addPropertyChangeListener(PropertyChangeListener listener) {
- listeners.add(listener);
- }
-
- public void addRepository(String repository) {
- repos.add(repository);
- }
-
- public void backgroundProcess() {
- }
-
- public String[] findRepositories() {
- return repos.toArray(new String[repos.size()]);
- }
-
- public Container getContainer() {
- return container;
- }
-
- public boolean getDelegate() {
- return delegate;
- }
-
- public String getInfo() {
- return "Tuscany Loader for Embedded Tomcat";
- }
-
- public boolean getReloadable() {
- return reloadable;
- }
-
- public boolean modified() {
- return false;
- }
-
- public void removePropertyChangeListener(PropertyChangeListener listener) {
- listeners.remove(listener);
- }
-
- public void setContainer(Container container) {
- this.container = container;
- }
-
- public void setDelegate(boolean delegate) {
- this.delegate = delegate;
- }
-
- public void setReloadable(boolean reloadable) {
- this.reloadable = reloadable;
- }
-
- public ClassLoader getClassLoader() {
- return tccl;
- }
- }
-
- /**
- * Represents a port and the server that serves it.
- */
- private class Port {
- private Engine engine;
- private Host host;
- private Connector connector;
-
- private Port(Engine engine, Host host, Connector connector) {
- this.engine = engine;
- this.host = host;
- this.connector = connector;
- }
-
- public Engine getEngine() {
- return engine;
- }
-
- public Host getHost() {
- return host;
- }
-
- public Connector getConnector() {
- return connector;
- }
- }
-
- /**
- * Constructs a new embedded Tomcat server.
- *
- */
- public TomcatServer(ExtensionPointRegistry registry, Map<String, String> attributes) {
- UtilityExtensionPoint utilities = registry.getExtensionPoint(UtilityExtensionPoint.class);
- this.workScheduler = utilities.getUtility(WorkScheduler.class);
- String port = attributes.get("defaultPort");
- if (port != null) {
- defaultPort = Integer.parseInt(port);
- }
- String sslPort = attributes.get("defaultSSLPort");
- if (sslPort != null) {
- defaultPort = Integer.parseInt(sslPort);
- }
- if (attributes.containsKey("contextPath")) {
- contextPath = attributes.get("contextPath");
- }
- }
-
- protected TomcatServer(WorkScheduler workScheduler) {
- this.workScheduler = workScheduler;
- }
-
- public void setDefaultPort(int port) {
- defaultPort = port;
- }
-
- public int getDefaultPort() {
- return defaultPort;
- }
-
- /**
- * Stop all the started servers.
- */
- public void stop() {
- if (embedded != null) {
- try {
- // embedded.stop();
- embedded.destroy();
- for (Port port : ports.values()) {
- port.connector.stop();
- }
- } catch (LifecycleException e) {
- throw new IllegalStateException(e);
- }
- }
- }
-
- public synchronized String addServletMapping(String suri, Servlet servlet) {
- init();
- URI uri = URI.create(suri);
-
- // Get the URI scheme and port
- String scheme = uri.getScheme();
- if (scheme == null) {
- scheme = "http";
- }
- final int portNumber = (uri.getPort() == -1 ? defaultPort : uri.getPort());
-
- // Get the port object associated with the given port number
- Port port = ports.get(portNumber);
- if (port == null) {
-
- port = createInstance(scheme, portNumber);
- ports.put(portNumber, port);
- }
-
- // Register the Servlet mapping
- String path = uri.getPath();
-
- if (!path.startsWith("/")) {
- path = '/' + path;
- }
-
- if (!path.startsWith(contextPath)) {
- path = contextPath + path;
- }
-
- ServletWrapper wrapper;
- if (servlet instanceof DefaultResourceServlet) {
- String defaultServletPath = path;
-
- // Optimize the handling of resource requests, use the Tomcat default Servlet
- // instead of our default resource Servlet
- if (defaultServletPath.endsWith("*")) {
- defaultServletPath = defaultServletPath.substring(0, defaultServletPath.length() - 1);
- }
- if (defaultServletPath.endsWith("/")) {
- defaultServletPath = defaultServletPath.substring(0, defaultServletPath.length() - 1);
- }
- DefaultResourceServlet resourceServlet = (DefaultResourceServlet)servlet;
- TomcatDefaultServlet defaultServlet =
- new TomcatDefaultServlet(defaultServletPath, resourceServlet.getDocumentRoot());
- wrapper = new ServletWrapper(defaultServlet);
-
- } else {
- wrapper = new ServletWrapper(servlet);
- }
- Context context = port.getHost().map(path);
- wrapper.setName(path);
- wrapper.addMapping(path);
- context.addChild(wrapper);
- context.addServletMapping(path, path);
- port.getConnector().getMapper().addWrapper("localhost", "", path, wrapper);
-
- // Initialize the Servlet
- try {
- wrapper.initServlet();
- } catch (ServletException e) {
- throw new ServletMappingException(e);
- }
-
- // Compute the complete URL
- String host;
- try {
- host = InetAddress.getLocalHost().getHostName();
- } catch (UnknownHostException e) {
- host = "localhost";
- }
- URL addedURL;
- try {
- addedURL = new URL(scheme, host, portNumber, path);
- } catch (MalformedURLException e) {
- throw new ServletMappingException(e);
- }
- logger.info("Added Servlet mapping: " + addedURL);
- return addedURL.toString();
- }
-
- private Port createInstance(String scheme, final int portNumber) {
- Port port;
- // Create an engine
- // Allow privileged access to read properties. Requires PropertiesPermission read in
- // security policy.
- final Engine engine = AccessController.doPrivileged(new PrivilegedAction<Engine>() {
- public Engine run() {
- return embedded.createEngine();
- }
- });
-
- ((StandardEngine)engine).setBaseDir("");
- engine.setDefaultHost("localhost");
- engine.setName("engine/" + portNumber);
-
- // Create a host
- // Allow privileged access to read properties. Requires PropertiesPermission read in
- // security policy.
- final Host host = AccessController.doPrivileged(new PrivilegedAction<Host>() {
- public Host run() {
- Host host = embedded.createHost("localhost", "");
- engine.addChild(host);
- return host;
- }
- });
-
- // Create the root context
- Context context = embedded.createContext("", "");
- final ClassLoader tccl = Thread.currentThread().getContextClassLoader();
- context.setLoader(new TuscanyLoader(tccl));
- // context.setParentClassLoader(tccl.getParent());
- ContextConfig config = new ContextConfig();
- ((Lifecycle)context).addLifecycleListener(config);
- host.addChild(context);
-
- embedded.addEngine(engine);
-
- // Install an HTTP connector
-
- Connector connector;
- // Allow privileged access to read properties. Requires PropertiesPermission read in
- // security policy.
- try {
- final String protocol = scheme;
- connector = AccessController.doPrivileged(new PrivilegedExceptionAction<Connector>() {
- public Connector run() throws Exception {
- Connector customConnector = new Connector();
- customConnector.setPort(portNumber);
-
- if ("https".equalsIgnoreCase(protocol)) {
- configureSSL(customConnector);
- ((Http11Protocol)customConnector.getProtocolHandler()).setSSLEnabled(true);
- }
- return customConnector;
- }
-
- private void configureSSL(Connector customConnector) {
- String trustStore = System.getProperty("javax.net.ssl.trustStore");
- String trustStorePass = System.getProperty("javax.net.ssl.trustStorePassword");
- String keyStore = System.getProperty("javax.net.ssl.keyStore");
- String keyStorePass = System.getProperty("javax.net.ssl.keyStorePassword");
-
- customConnector.setProperty("protocol", "TLS");
-
- customConnector.setProperty("keystore", keyStore);
- customConnector.setProperty("keypass", keyStorePass);
- String keyStoreType = System.getProperty("javax.net.ssl.keyStoreType", KeyStore.getDefaultType());
- String trustStoreType =
- System.getProperty("javax.net.ssl.trustStoreType", KeyStore.getDefaultType());
- customConnector.setProperty("keytype", keyStoreType);
- customConnector.setProperty("trusttype", trustStoreType);
- customConnector.setProperty("truststore", trustStore);
- customConnector.setProperty("trustpass", trustStorePass);
-
- customConnector.setProperty("clientauth", "false");
- customConnector.setProtocol("HTTP/1.1");
- customConnector.setScheme(protocol);
- customConnector.setProperty("backlog", "10");
- customConnector.setSecure(true);
- }
- });
- } catch (Exception e) {
- throw new ServletMappingException(e);
- }
-
- embedded.addConnector(connector);
- try {
- connector.start();
- } catch (LifecycleException e) {
- throw new ServletMappingException(e);
- }
-
- // Keep track of the running server
- port = new Port(engine, host, connector);
- return port;
- }
-
- private synchronized void init() {
- if (embedded != null) {
- return;
- }
- embedded = new Embedded();
- embedded.setAwait(true);
- // Allow privileged access to read properties. Requires PropertiesPermission read in
- // security policy.
- try {
- AccessController.doPrivileged(new PrivilegedExceptionAction<Object>() {
- public Object run() throws LifecycleException {
- embedded.start();
- return null;
- }
- });
- } catch (PrivilegedActionException e) {
- // throw (LifecycleException)e.getException();
- throw new ServletMappingException(e);
- }
- }
-
- public URL getURLMapping(String suri) throws ServletMappingException {
- URI uri = URI.create(suri);
-
- // Get the URI scheme and port
- String scheme = uri.getScheme();
- if (scheme == null) {
- scheme = "http";
- }
- int portNumber = uri.getPort();
- if (portNumber == -1) {
- portNumber = defaultPort;
- }
-
- // Get the host
- String host;
- try {
- host = InetAddress.getLocalHost().getHostName();
- } catch (UnknownHostException e) {
- host = "localhost";
- }
-
- // Construct the URL
- String path = uri.getPath();
-
- if (!path.startsWith("/")) {
- path = '/' + path;
- }
-
- if (!path.startsWith(contextPath)) {
- path = contextPath + path;
- }
- URL url;
- try {
- url = new URL(scheme, host, portNumber, path);
- } catch (MalformedURLException e) {
- throw new ServletMappingException(e);
- }
- return url;
- }
-
- public Servlet getServletMapping(String suri) throws ServletMappingException {
-
- if (suri == null) {
- return null;
- }
-
- URI uri = URI.create(suri);
-
- // Get the URI port
- int portNumber = uri.getPort();
- if (portNumber == -1) {
- portNumber = defaultPort;
- }
-
- // Get the port object associated with the given port number
- Port port = ports.get(portNumber);
- if (port == null) {
- return null;
- }
-
- String mapping = uri.getPath();
-
- if (!mapping.startsWith("/")) {
- mapping = '/' + mapping;
- }
-
- if (!mapping.startsWith(contextPath)) {
- mapping = contextPath + mapping;
- }
-
- final Context context = port.getHost().map(mapping);
- final MappingData md = new MappingData();
- final MessageBytes mb = MessageBytes.newInstance();
- mb.setString(mapping);
- try {
- // Allow privileged access to read properties. Requires PropertiesPermission read in
- // security policy.
- AccessController.doPrivileged(new PrivilegedExceptionAction<Object>() {
- public Object run() throws Exception {
- context.getMapper().map(mb, md);
- return null;
- }
- });
- } catch (Exception e) {
- return null;
- }
- if (md.wrapper instanceof ServletWrapper) {
- ServletWrapper servletWrapper = (ServletWrapper)md.wrapper;
- return servletWrapper.getServlet();
- } else {
- return null;
- }
- }
-
- public synchronized Servlet removeServletMapping(String suri) {
- URI uri = URI.create(suri);
-
- // Get the URI port
- int portNumber = uri.getPort();
- if (portNumber == -1) {
- portNumber = defaultPort;
- }
-
- // Get the port object associated with the given port number
- Port port = ports.get(portNumber);
- if (port == null) {
- throw new IllegalStateException("No servlet registered at this URI: " + suri);
- }
-
- String mapping = uri.getPath();
-
- if (!mapping.startsWith("/")) {
- mapping = '/' + mapping;
- }
-
- if (!mapping.startsWith(contextPath)) {
- mapping = contextPath + mapping;
- }
-
- final Context context = port.getHost().map(mapping);
- final MappingData md = new MappingData();
- final MessageBytes mb = MessageBytes.newInstance();
- mb.setString(mapping);
- try {
- // Allow privileged access to read properties. Requires PropertiesPermission read in
- // security policy.
- AccessController.doPrivileged(new PrivilegedExceptionAction<Object>() {
- public Object run() throws Exception {
- context.getMapper().map(mb, md);
- return null;
- }
- });
- } catch (Exception e) {
- return null;
- }
- if (md.wrapper instanceof ServletWrapper) {
- ServletWrapper servletWrapper = (ServletWrapper)md.wrapper;
-
- port.getConnector().getMapper().removeWrapper("localhost", "", mapping);
-
- try {
- context.removeServletMapping(mapping);
- } catch (NegativeArraySizeException e) {
- // JIRA TUSCANY-1599
- // FIXME Looks like a bug in Tomcat when removing the last
- // Servlet in the list, catch the exception for now as it doesn't
- // seem harmful, will find a better solution for the next release
- }
- context.removeChild(servletWrapper);
- try {
- servletWrapper.destroyServlet();
- } catch (Exception ex) {
- // Hack to handle destruction of Servlets without Servlet context
- }
-
- logger.info("Removed Servlet mapping: " + suri);
-
- // Stop the port if there's no servlets on it anymore
- String[] contextNames = port.getConnector().getMapper().getContextNames();
- if (contextNames == null || contextNames.length == 0) {
- try {
- port.getConnector().stop();
- ((StandardEngine)port.getEngine()).stop();
- embedded.removeEngine(port.getEngine());
- embedded.removeConnector(port.getConnector());
- ports.remove(portNumber);
- } catch (LifecycleException e) {
- throw new IllegalStateException(e);
- }
- }
-
- return servletWrapper.getServlet();
- } else {
- logger.warning("Trying to Remove servlet mapping: " + mapping + " where mapping is not registered");
- return null;
- }
- }
-
- public RequestDispatcher getRequestDispatcher(String suri) throws ServletMappingException {
- //FIXME implement this later
- return null;
- }
-
- public String getContextPath() {
- return contextPath;
- }
-
- public void setContextPath(String path) {
- this.contextPath = path;
- }
-
- public void start() {
-
- }
-
- public String addServletMapping(String uri, Servlet servlet, SecurityContext securityContext)
- throws ServletMappingException {
- return addServletMapping(uri, servlet);
- }
-
- public String getName() {
- return "tomcat";
- }
-
- public URL getURLMapping(String arg0, SecurityContext arg1) {
- return null;
- }
-
- public void setAttribute(String arg0, Object arg1) {
- }
-
- private URL map(String suri, SecurityContext securityContext, boolean resolve) throws ServletMappingException {
- URI uri = URI.create(suri);
-
- // Get the URI scheme and port
- String scheme = null;
- if (securityContext != null && securityContext.isSSLEnabled()) {
- scheme = "https";
- } else {
- scheme = uri.getScheme();
- if (scheme == null) {
- scheme = "http";
- }
- }
-
- int portNumber = uri.getPort();
- if (portNumber == -1) {
- if ("http".equals(scheme)) {
- portNumber = defaultPort;
- } else {
- portNumber = defaultSSLPort;
- }
- }
-
- // Get the host
- String host = uri.getHost();
- if (host == null) {
- host = "0.0.0.0";
- if (resolve) {
- try {
- host = InetAddress.getLocalHost().getHostAddress();
- } catch (UnknownHostException e) {
- host = "localhost";
- }
- }
- }
-
- // Construct the URL
- String path = uri.getPath();
-
- if (!path.startsWith("/")) {
- path = '/' + path;
- }
-
- if (!path.startsWith(contextPath)) {
- path = contextPath + path;
- }
-
- URL url;
- try {
- url = new URL(scheme, host, portNumber, path);
- } catch (MalformedURLException e) {
- throw new ServletMappingException(e);
- }
- return url;
- }
-
- @Override
- public ServletContext getServletContext() {
- if (ports.isEmpty()) {
- return null;
- } else {
- Port port = ports.values().iterator().next();
- return port.getHost().map(getContextPath()).getServletContext();
- }
- }
-
-}
diff --git a/unreleased/modules/host-tomcat/src/main/resources/META-INF/services/org.apache.tuscany.sca.host.http.ServletHost b/unreleased/modules/host-tomcat/src/main/resources/META-INF/services/org.apache.tuscany.sca.host.http.ServletHost
deleted file mode 100644
index 00350bb..0000000
--- a/unreleased/modules/host-tomcat/src/main/resources/META-INF/services/org.apache.tuscany.sca.host.http.ServletHost
+++ /dev/null
@@ -1,18 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-# Implementation class for the ServletHost
-org.apache.tuscany.sca.http.tomcat.TomcatServer;name=tomcat,ranking=50,defaultPort=8085
diff --git a/unreleased/modules/host-tomcat/src/test/java/org/apache/tuscany/sca/http/tomcat/TomcatServerTestCase.java b/unreleased/modules/host-tomcat/src/test/java/org/apache/tuscany/sca/http/tomcat/TomcatServerTestCase.java
deleted file mode 100644
index 7e2f4e1..0000000
--- a/unreleased/modules/host-tomcat/src/test/java/org/apache/tuscany/sca/http/tomcat/TomcatServerTestCase.java
+++ /dev/null
@@ -1,375 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tuscany.sca.http.tomcat;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.OutputStream;
-import java.net.Socket;
-import java.net.URL;
-import java.util.concurrent.ExecutorService;
-import java.util.concurrent.Executors;
-
-import javax.net.ssl.HostnameVerifier;
-import javax.net.ssl.HttpsURLConnection;
-import javax.net.ssl.SSLSession;
-import javax.servlet.ServletConfig;
-import javax.servlet.ServletContext;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServlet;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.sca.core.DefaultExtensionPointRegistry;
-import org.apache.tuscany.sca.core.ExtensionPointRegistry;
-import org.apache.tuscany.sca.host.http.DefaultResourceServlet;
-import org.apache.tuscany.sca.host.http.ExtensibleServletHost;
-import org.apache.tuscany.sca.host.http.ServletHost;
-import org.apache.tuscany.sca.work.NotificationListener;
-import org.apache.tuscany.sca.work.WorkScheduler;
-import org.junit.Assert;
-import org.junit.Test;
-
-/**
- * @version $Rev$ $Date$
- */
-public class TomcatServerTestCase extends TestCase {
-
- private static final String REQUEST1_HEADER =
- "GET /foo HTTP/1.0\n" + "Host: localhost\n"
- + "Content-Type: text/xml\n"
- + "Connection: close\n"
- + "Content-Length: ";
- private static final String REQUEST1_CONTENT = "";
- private static final String REQUEST1 =
- REQUEST1_HEADER + REQUEST1_CONTENT.getBytes().length + "\n\n" + REQUEST1_CONTENT;
-
- private static final String REQUEST2_HEADER =
- "GET /webcontent/test.html HTTP/1.0\n" + "Host: localhost\n"
- + "Content-Type: text/xml\n"
- + "Connection: close\n"
- + "Content-Length: ";
- private static final String REQUEST2_CONTENT = "";
- private static final String REQUEST2 =
- REQUEST2_HEADER + REQUEST2_CONTENT.getBytes().length + "\n\n" + REQUEST2_CONTENT;
-
- private static final int HTTP_PORT = 8085;
-
- private WorkScheduler workScheduler = new WorkScheduler() {
- private ExecutorService executorService = Executors.newCachedThreadPool();
-
- public <T extends Runnable> void scheduleWork(T work) {
- executorService.submit(work);
- }
-
- public <T extends Runnable> void scheduleWork(T work, NotificationListener<T> listener) {
- scheduleWork(work);
- }
-
- public ExecutorService getExecutorService() {
- return executorService;
- }
- };
-
- /**
- * Verifies requests are properly routed according to the Servlet mapping
- */
- public void testRegisterServletMapping() throws Exception {
- TomcatServer service = new TomcatServer(workScheduler);
- TestServlet servlet = new TestServlet();
- service.addServletMapping("http://127.0.0.1:" + HTTP_PORT + "/foo", servlet);
- ServletContext servletContext = service.getServletContext();
- Assert.assertNotNull(servletContext);
- Socket client = new Socket("127.0.0.1", HTTP_PORT);
- OutputStream os = client.getOutputStream();
- os.write(REQUEST1.getBytes());
- os.flush();
- read(client);
- service.stop();
- assertTrue(servlet.invoked);
- }
-
- /**
- * Verifies requests are properly routed according to the Servlet mapping
- */
- public void testRegisterServletMappingSSL() throws Exception {
- System.setProperty("javax.net.ssl.keyStore", "target/test-classes/tuscany.keyStore");
- System.setProperty("javax.net.ssl.keyStorePassword", "apache");
- TomcatServer service = new TomcatServer(workScheduler);
- TestServlet servlet = new TestServlet();
- try {
- service.addServletMapping("https://127.0.0.1:" + HTTP_PORT + "/foo", servlet);
- } finally {
- System.clearProperty("javax.net.ssl.keyStore");
- System.clearProperty("javax.net.ssl.keyStorePassword");
- }
- System.setProperty("javax.net.ssl.trustStore", "target/test-classes/tuscany.keyStore");
- System.setProperty("javax.net.ssl.trustStorePassword", "apache");
- URL url = new URL("https://127.0.0.1:8085/foo");
- HttpsURLConnection conn = (HttpsURLConnection) url.openConnection();
- conn.setHostnameVerifier(new HostnameVerifier() {
- public boolean verify(String hostname, SSLSession session) {
- return true;
- }}
- );
-
- conn.connect();
- read(conn.getInputStream());
-
- service.stop();
- assertTrue(servlet.invoked);
-
- }
- /**
- * Verifies that Servlets can be registered with multiple ports
- */
- public void testRegisterMultiplePorts() throws Exception {
- TomcatServer service = new TomcatServer(workScheduler);
- TestServlet servlet = new TestServlet();
- service.addServletMapping("http://127.0.0.1:" + HTTP_PORT + "/", servlet);
- TestServlet servlet2 = new TestServlet();
- service.addServletMapping("http://127.0.0.1:" + (HTTP_PORT + 1) + "/", servlet2);
- {
- Socket client = new Socket("127.0.0.1", HTTP_PORT);
- OutputStream os = client.getOutputStream();
- os.write(REQUEST1.getBytes());
- os.flush();
- read(client);
- }
- {
- Socket client = new Socket("127.0.0.1", HTTP_PORT + 1);
- OutputStream os = client.getOutputStream();
- os.write(REQUEST1.getBytes());
- os.flush();
- read(client);
- }
-
- service.stop();
- assertTrue(servlet.invoked);
- assertTrue(servlet2.invoked);
- }
-
- public void testUnregisterMapping() throws Exception {
- TomcatServer service = new TomcatServer(workScheduler);
- TestServlet servlet = new TestServlet();
- service.addServletMapping("http://127.0.0.1:" + HTTP_PORT + "/foo", servlet);
- service.removeServletMapping("http://127.0.0.1:" + HTTP_PORT + "/foo");
- Socket client = new Socket("127.0.0.1", HTTP_PORT);
- OutputStream os = client.getOutputStream();
- os.write(REQUEST1.getBytes());
- os.flush();
- read(client);
- service.stop();
- assertFalse(servlet.invoked);
-
- }
-
- public void testRegisterUnregisterMapping() throws Exception {
- TomcatServer service = new TomcatServer(workScheduler);
- TestServlet servlet = new TestServlet();
- service.addServletMapping("http://127.0.0.1:" + HTTP_PORT + "/foo", servlet);
- {
- Socket client = new Socket("127.0.0.1", HTTP_PORT);
- OutputStream os = client.getOutputStream();
- os.write(REQUEST1.getBytes());
- os.flush();
- read(client);
- }
- assertTrue(servlet.invoked);
- service.removeServletMapping("http://127.0.0.1:" + HTTP_PORT + "/foo");
- {
- Socket client = new Socket("127.0.0.1", HTTP_PORT);
- OutputStream os = client.getOutputStream();
- os.write(REQUEST1.getBytes());
- os.flush();
- read(client);
- }
- servlet = new TestServlet();
- service.addServletMapping("http://127.0.0.1:" + HTTP_PORT + "/foo", servlet);
- {
- Socket client = new Socket("127.0.0.1", HTTP_PORT);
- OutputStream os = client.getOutputStream();
- os.write(REQUEST1.getBytes());
- os.flush();
- read(client);
- }
- assertTrue(servlet.invoked);
- service.stop();
- }
-
- public void testRequestSession() throws Exception {
- TomcatServer service = new TomcatServer(workScheduler);
- TestServlet servlet = new TestServlet();
- service.addServletMapping("http://127.0.0.1:" + HTTP_PORT + "/foo", servlet);
- Socket client = new Socket("127.0.0.1", HTTP_PORT);
- OutputStream os = client.getOutputStream();
- os.write(REQUEST1.getBytes());
- os.flush();
- read(client);
- service.stop();
- assertTrue(servlet.invoked);
- assertNotNull(servlet.sessionId);
- }
-
- public void testRestart() throws Exception {
- TomcatServer service = new TomcatServer(workScheduler);
- service.stop();
- service.stop();
- }
-
- public void testNoMappings() throws Exception {
- TomcatServer service = new TomcatServer(workScheduler);
- Exception ex = null;
- try {
- Socket client = new Socket("127.0.0.1", HTTP_PORT);
- OutputStream os = client.getOutputStream();
- os.write(REQUEST1.getBytes());
- os.flush();
- } catch (Exception e) {
- ex = e;
- }
- assertNotNull(ex);
- service.stop();
- }
-
- public void testResourceServlet() throws Exception {
- TomcatServer service = new TomcatServer(workScheduler);
-
- String documentRoot = getClass().getClassLoader().getResource("content/test.html").toString();
- documentRoot = documentRoot.substring(0, documentRoot.lastIndexOf('/'));
- DefaultResourceServlet resourceServlet = new DefaultResourceServlet(documentRoot);
- TestResourceServlet servlet = new TestResourceServlet(resourceServlet);
- service.addServletMapping("http://127.0.0.1:" + HTTP_PORT + "/webcontent/*", servlet);
-
- Socket client = new Socket("127.0.0.1", HTTP_PORT);
- OutputStream os = client.getOutputStream();
- os.write(REQUEST2.getBytes());
- os.flush();
-
- String document = read(client);
- assertTrue(document.indexOf("<body><p>hello</body>") != -1);
-
- service.stop();
- }
-
- public void testDefaultServlet() throws Exception {
- TomcatServer service = new TomcatServer(workScheduler);
-
- String documentRoot = getClass().getClassLoader().getResource("content/test.html").toString();
- documentRoot = documentRoot.substring(0, documentRoot.lastIndexOf('/'));
- DefaultResourceServlet resourceServlet = new DefaultResourceServlet(documentRoot);
- service.addServletMapping("http://127.0.0.1:" + HTTP_PORT + "/webcontent/*", resourceServlet);
-
- Socket client = new Socket("127.0.0.1", HTTP_PORT);
- OutputStream os = client.getOutputStream();
- os.write(REQUEST2.getBytes());
- os.flush();
-
- String document = read(client);
- assertTrue(document.indexOf("<body><p>hello</body>") != -1);
-
- service.stop();
- }
-
- private static String read(Socket socket) throws IOException {
- InputStream is = socket.getInputStream();
- return read(is);
- }
-
- private static String read(InputStream is) throws IOException {
- BufferedReader reader = null;
- try {
- reader = new BufferedReader(new InputStreamReader(is));
- StringBuffer sb = new StringBuffer();
- String str;
- while ((str = reader.readLine()) != null) {
- sb.append(str);
- }
- return sb.toString();
- } finally {
- if (reader != null) {
- reader.close();
- }
- }
- }
- private class TestServlet extends HttpServlet {
- private static final long serialVersionUID = 1L;
- boolean invoked;
- String sessionId;
-
- @Override
- protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
- invoked = true;
- sessionId = req.getSession().getId();
- OutputStream writer = resp.getOutputStream();
- try {
- writer.write("result".getBytes());
- } finally {
- writer.close();
- }
- }
-
- }
-
- private class TestResourceServlet extends HttpServlet {
- private static final long serialVersionUID = 1L;
- private HttpServlet delegate;
-
- public TestResourceServlet(HttpServlet delegate) {
- this.delegate = delegate;
- }
-
- @Override
- public void init() throws ServletException {
- super.init();
- delegate.init();
- }
-
- @Override
- public void init(ServletConfig config) throws ServletException {
- super.init();
- delegate.init(config);
- }
-
- @Override
- protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
- delegate.service(req, resp);
- }
-
- @Override
- public void destroy() {
- super.destroy();
- delegate.destroy();
- }
- }
-
- @Test
- public void testDiscovery() {
- ExtensionPointRegistry registry = new DefaultExtensionPointRegistry();
- ExtensibleServletHost host = ExtensibleServletHost.getInstance(registry);
- ServletHost me = host.getDefaultServletHost();
- Assert.assertEquals("tomcat", me.getName());
- Assert.assertEquals(8085, me.getDefaultPort());
- registry.stop();
- }
-}
diff --git a/unreleased/modules/host-tomcat/src/test/resources/content/test.html b/unreleased/modules/host-tomcat/src/test/resources/content/test.html
deleted file mode 100644
index f4b79d7..0000000
--- a/unreleased/modules/host-tomcat/src/test/resources/content/test.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<html>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<body><p>hello</body>
-</html>
\ No newline at end of file
diff --git a/unreleased/modules/host-tomcat/src/test/resources/tuscany.keyStore b/unreleased/modules/host-tomcat/src/test/resources/tuscany.keyStore
deleted file mode 100644
index 7ea23f7..0000000
--- a/unreleased/modules/host-tomcat/src/test/resources/tuscany.keyStore
+++ /dev/null
Binary files differ
diff --git a/unreleased/modules/pom.xml b/unreleased/modules/pom.xml
deleted file mode 100644
index af4cedc..0000000
--- a/unreleased/modules/pom.xml
+++ /dev/null
@@ -1,93 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
- <artifactId>tuscany-contrib-modules</artifactId>
- <packaging>pom</packaging>
- <name>Apache Tuscany SCA Contributed Modules</name>
-
- <modules>
- <module>binding-comet</module>
- <module>binding-comet-runtime</module>
- <module>databinding-protobuf</module>
- <module>host-tomcat</module>
- </modules>
-
- <profiles>
- <profile>
- <id>eclipse</id>
- <build>
- <defaultGoal>org.apache.tuscany.maven.plugins:maven-bundle-plugin:eclipse</defaultGoal>
- <!--
- <plugins>
- <plugin>
- <groupId>org.apache.tuscany.maven.plugins</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>1.0.6</version>
- <extensions>true</extensions>
- <executions>
- <execution>
- <id>generate-pde</id>
- <phase>generate-resources</phase>
- <goals>
- <goal>eclipse</goal>
- </goals>
- <configuration>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- -->
- </build>
- </profile>
- </profiles>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifestFile>${basedir}/META-INF/MANIFEST.MF</manifestFile>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
-</project>
diff --git a/unreleased/samples/domain/distributed-calculator/contribution-add/pom.xml b/unreleased/samples/domain/distributed-calculator/contribution-add/pom.xml
deleted file mode 100644
index c25184e..0000000
--- a/unreleased/samples/domain/distributed-calculator/contribution-add/pom.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sample-domain-distributed-calculator</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <artifactId>sample-domain-distributed-calculator-contribution-add</artifactId>
- <name>Apache Tuscany SCA Sample Domain Distributed Calculator Contribution Add</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-api</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>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-rmi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <finalName>${artifactId}</finalName>
- <plugins>
- <plugin>
- <groupId>org.apache.tuscany.maven.plugins</groupId>
- <artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/unreleased/samples/domain/distributed-calculator/contribution-add/src/main/java/calculator/AddService.java b/unreleased/samples/domain/distributed-calculator/contribution-add/src/main/java/calculator/AddService.java
deleted file mode 100644
index c7e6383..0000000
--- a/unreleased/samples/domain/distributed-calculator/contribution-add/src/main/java/calculator/AddService.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package calculator;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-/**
- * The interface for the add service
- */
-@Remotable
-public interface AddService {
-
- double add(double n1, double n2);
-
-}
diff --git a/unreleased/samples/domain/distributed-calculator/contribution-add/src/main/java/calculator/AddServiceImpl.java b/unreleased/samples/domain/distributed-calculator/contribution-add/src/main/java/calculator/AddServiceImpl.java
deleted file mode 100644
index e9c635e..0000000
--- a/unreleased/samples/domain/distributed-calculator/contribution-add/src/main/java/calculator/AddServiceImpl.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package calculator;
-
-/**
- * An implementation of the Add service
- */
-public class AddServiceImpl implements AddService {
-
- public double add(double n1, double n2) {
- return n1 + n2;
- }
-
-}
diff --git a/unreleased/samples/domain/distributed-calculator/contribution-add/src/main/resources/Add.composite b/unreleased/samples/domain/distributed-calculator/contribution-add/src/main/resources/Add.composite
deleted file mode 100644
index a452c24..0000000
--- a/unreleased/samples/domain/distributed-calculator/contribution-add/src/main/resources/Add.composite
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://sample"
- xmlns:sample="http://sample"
- name="Add">
-
- <component name="AddServiceComponent">
- <implementation.java class="calculator.AddServiceImpl"/>
- </component>
-
-</composite>
diff --git a/unreleased/samples/domain/distributed-calculator/contribution-add/src/main/resources/META-INF/sca-contribution.xml b/unreleased/samples/domain/distributed-calculator/contribution-add/src/main/resources/META-INF/sca-contribution.xml
deleted file mode 100644
index 37e304a..0000000
--- a/unreleased/samples/domain/distributed-calculator/contribution-add/src/main/resources/META-INF/sca-contribution.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:sample="http://sample">
- <deployable composite="sample:Add"/>
-</contribution>
\ No newline at end of file
diff --git a/unreleased/samples/domain/distributed-calculator/contribution-add/src/test/java/calculator/AddTestCase.java b/unreleased/samples/domain/distributed-calculator/contribution-add/src/test/java/calculator/AddTestCase.java
deleted file mode 100644
index b7baf9b..0000000
--- a/unreleased/samples/domain/distributed-calculator/contribution-add/src/test/java/calculator/AddTestCase.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package calculator;
-
-import static org.junit.Assert.assertEquals;
-
-import java.rmi.Naming;
-
-import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node.ContributionLocationHelper;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-/**
- * This shows how to test the Calculator service component.
- */
-public class AddTestCase {
-
- private static Node node;
- private static AddService addService;
-
- @BeforeClass
- public static void setUp() throws Exception {
- addService = new AddServiceImpl();
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
-
- }
-
- @Test
- public void testCalculator() throws Exception {
- // Calculate
- assertEquals(addService.add(3, 2), 5.0, 0.0);
- }
-}
diff --git a/unreleased/samples/domain/distributed-calculator/contribution-calculator/pom.xml b/unreleased/samples/domain/distributed-calculator/contribution-calculator/pom.xml
deleted file mode 100644
index 63c2220..0000000
--- a/unreleased/samples/domain/distributed-calculator/contribution-calculator/pom.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sample-domain-distributed-calculator</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <artifactId>sample-domain-distributed-calculator-contribution-calculator</artifactId>
- <name>Apache Tuscany SCA Sample Domain Distributed Calculator Contribution Calculator</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-api</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>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-rmi-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <finalName>${artifactId}</finalName>
- <plugins>
- <plugin>
- <groupId>org.apache.tuscany.maven.plugins</groupId>
- <artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-SNAPSHOT</version>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/AddService.java b/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/AddService.java
deleted file mode 100644
index c7e6383..0000000
--- a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/AddService.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package calculator;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-/**
- * The interface for the add service
- */
-@Remotable
-public interface AddService {
-
- double add(double n1, double n2);
-
-}
diff --git a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/CalculatorService.java b/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/CalculatorService.java
deleted file mode 100644
index 0bac3da..0000000
--- a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/CalculatorService.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package calculator;
-
-import java.rmi.Remote;
-import java.rmi.RemoteException;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-/**
- * The Calculator service interface.
- */
-@Remotable
-public interface CalculatorService extends Remote {
-
- double add(double n1, double n2) throws RemoteException;
-
- double subtract(double n1, double n2) throws RemoteException;
-
- double multiply(double n1, double n2) throws RemoteException;
-
- double divide(double n1, double n2) throws RemoteException;
-}
diff --git a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/CalculatorServiceImpl.java b/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/CalculatorServiceImpl.java
deleted file mode 100644
index 389ecb5..0000000
--- a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/CalculatorServiceImpl.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package calculator;
-
-import org.oasisopen.sca.annotation.Reference;
-
-/**
- * An implementation of the Calculator service.
- */
-public class CalculatorServiceImpl implements CalculatorService {
-
- private AddService addService;
- private SubtractService subtractService;
- private MultiplyService multiplyService;
- private DivideService divideService;
-
- @Reference
- public void setAddService(AddService addService) {
- this.addService = addService;
- }
-
- // @Reference
- public void setSubtractService(SubtractService subtractService) {
- this.subtractService = subtractService;
- }
-
- // @Reference
- public void setDivideService(DivideService divideService) {
- this.divideService = divideService;
- }
-
- // @Reference
- public void setMultiplyService(MultiplyService multiplyService) {
- this.multiplyService = multiplyService;
- }
-
- public double add(double n1, double n2) {
- return addService.add(n1, n2);
- }
-
- public double subtract(double n1, double n2) {
- return subtractService.subtract(n1, n2);
- }
-
- public double multiply(double n1, double n2) {
- return multiplyService.multiply(n1, n2);
- }
-
- public double divide(double n1, double n2) {
- return divideService.divide(n1, n2);
- }
-}
diff --git a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/DivideService.java b/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/DivideService.java
deleted file mode 100644
index 835e4fd..0000000
--- a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/DivideService.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package calculator;
-
-/**
- * The interface for the divide service
- */
-public interface DivideService {
-
- double divide(double n1, double n2);
-
-}
diff --git a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/MultiplyService.java b/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/MultiplyService.java
deleted file mode 100644
index db568cc..0000000
--- a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/MultiplyService.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package calculator;
-
-/**
- * The interface for the multiply service
- */
-public interface MultiplyService {
-
- double multiply(double n1, double n2);
-
-}
diff --git a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/SubtractService.java b/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/SubtractService.java
deleted file mode 100644
index 30e4e6a..0000000
--- a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/java/calculator/SubtractService.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package calculator;
-
-/**
- * The interface for the subtract service
- */
-public interface SubtractService {
-
- double subtract(double n1, double n2);
-
-}
diff --git a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/resources/Calculator.composite b/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/resources/Calculator.composite
deleted file mode 100644
index 32b748d..0000000
--- a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/main/resources/Calculator.composite
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://sample"
- xmlns:sample="http://sample"
- name="Calculator">
-
- <component name="CalculatorServiceComponent">
- <implementation.java class="calculator.CalculatorServiceImpl"/>
- <reference name="addService" target="AddServiceComponent/AddService"/>
- </component>
-
-</composite>
diff --git a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/test/java/calculator/AddServiceImpl.java b/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/test/java/calculator/AddServiceImpl.java
deleted file mode 100644
index e9c635e..0000000
--- a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/test/java/calculator/AddServiceImpl.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package calculator;
-
-/**
- * An implementation of the Add service
- */
-public class AddServiceImpl implements AddService {
-
- public double add(double n1, double n2) {
- return n1 + n2;
- }
-
-}
diff --git a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/test/java/calculator/CalculatorTestCase.java b/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/test/java/calculator/CalculatorTestCase.java
deleted file mode 100644
index 6cccf83..0000000
--- a/unreleased/samples/domain/distributed-calculator/contribution-calculator/src/test/java/calculator/CalculatorTestCase.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package calculator;
-
-import static org.junit.Assert.assertEquals;
-
-import java.rmi.registry.LocateRegistry;
-import java.rmi.registry.Registry;
-
-import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node.ContributionLocationHelper;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-
-/**
- * This shows how to test the Calculator service component.
- */
-public class CalculatorTestCase {
-
- private static Node node;
- private static CalculatorService calculatorService;
-
- @BeforeClass
- public static void setUp() throws Exception {
- calculatorService = new CalculatorServiceImpl();
- ((CalculatorServiceImpl)calculatorService).setAddService(new AddServiceImpl());
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
-
- }
-
- @Test
- public void testCalculator() throws Exception {
- // Calculate
- assertEquals(calculatorService.add(3, 2), 5.0, 0.0);
- }
-}
diff --git a/unreleased/samples/domain/distributed-calculator/pom.xml b/unreleased/samples/domain/distributed-calculator/pom.xml
deleted file mode 100644
index 3cb2db8..0000000
--- a/unreleased/samples/domain/distributed-calculator/pom.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sample-domain</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <artifactId>tuscany-sample-domain-distributed-calculator</artifactId>
- <packaging>pom</packaging>
- <name>Apache Tuscany SCA Sample Domain Distributed Calculator</name>
-
- <profiles>
- <profile>
- <id>default</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <modules>
- <module>contribution-calculator</module>
- <module>contribution-add</module>
- </modules>
- </profile>
- </profiles>
-</project>
diff --git a/unreleased/samples/domain/pom.xml b/unreleased/samples/domain/pom.xml
deleted file mode 100644
index 1e50881..0000000
--- a/unreleased/samples/domain/pom.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-samples</artifactId>
- <version>2.0-SNAPSHOT</version>
- </parent>
- <artifactId>tuscany-sample-domain</artifactId>
- <packaging>pom</packaging>
- <name>Apache Tuscany SCA Sample Domain</name>
-
- <profiles>
- <profile>
- <id>default</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <modules>
- <module>distributed-calculator</module>
- </modules>
- </profile>
- </profiles>
-</project>
diff --git a/unreleased/samples/implementation-sample-async/pom.xml b/unreleased/samples/implementation-sample-async/pom.xml
deleted file mode 100644
index 15834ce..0000000
--- a/unreleased/samples/implementation-sample-async/pom.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
- <artifactId>sample-implementation-async-extension</artifactId>
- <name>Apache Tuscany SCA Sample Implementation Extension With Async</name>
- <packaging>jar</packaging>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-base-runtime-pom</artifactId>
- <version>2.0-SNAPSHOT</version>
- <type>pom</type>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-java-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty</artifactId>
- <version>6.1.19</version>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
- <build>
- <finalName>${artifactId}</finalName>
- </build>
-</project>
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sample/api/Java.java b/unreleased/samples/implementation-sample-async/src/main/java/sample/api/Java.java
deleted file mode 100644
index 6c92400..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sample/api/Java.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample.api;
-
-import static java.lang.annotation.ElementType.FIELD;
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-@Target( {TYPE, FIELD})
-@Retention(RUNTIME)
-public @interface Java {
-
- Class<?> value();
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sample/api/WSDL.java b/unreleased/samples/implementation-sample-async/src/main/java/sample/api/WSDL.java
deleted file mode 100644
index 655770e..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sample/api/WSDL.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample.api;
-
-import static java.lang.annotation.ElementType.FIELD;
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-@Target( {TYPE, FIELD})
-@Retention(RUNTIME)
-public @interface WSDL {
-
- String value();
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sample/api/WSDLReference.java b/unreleased/samples/implementation-sample-async/src/main/java/sample/api/WSDLReference.java
deleted file mode 100644
index 185383d..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sample/api/WSDLReference.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample.api;
-
-import org.w3c.dom.Element;
-
-public interface WSDLReference {
-
- Element call(String op, Element e);
- void callAsync(String op, Element e);
-
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/EmbedUtil.java b/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/EmbedUtil.java
deleted file mode 100644
index 0ccbcc9..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/EmbedUtil.java
+++ /dev/null
@@ -1,311 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample.impl;
-
-import java.net.URI;
-import java.net.URL;
-import java.util.Arrays;
-
-import javax.wsdl.PortType;
-import javax.xml.namespace.QName;
-
-import org.apache.tuscany.sca.assembly.AssemblyFactory;
-import org.apache.tuscany.sca.assembly.Component;
-import org.apache.tuscany.sca.assembly.ComponentReference;
-import org.apache.tuscany.sca.assembly.ComponentService;
-import org.apache.tuscany.sca.assembly.Composite;
-import org.apache.tuscany.sca.assembly.Contract;
-import org.apache.tuscany.sca.assembly.Implementation;
-import org.apache.tuscany.sca.assembly.Reference;
-import org.apache.tuscany.sca.assembly.Service;
-import org.apache.tuscany.sca.contribution.Artifact;
-import org.apache.tuscany.sca.contribution.Contribution;
-import org.apache.tuscany.sca.contribution.ContributionFactory;
-import org.apache.tuscany.sca.contribution.processor.ContributionResolveException;
-import org.apache.tuscany.sca.contribution.processor.ExtensibleURLArtifactProcessor;
-import org.apache.tuscany.sca.contribution.processor.ProcessorContext;
-import org.apache.tuscany.sca.contribution.processor.URLArtifactProcessorExtensionPoint;
-import org.apache.tuscany.sca.contribution.resolver.ExtensibleModelResolver;
-import org.apache.tuscany.sca.contribution.resolver.ModelResolverExtensionPoint;
-import org.apache.tuscany.sca.core.ExtensionPointRegistry;
-import org.apache.tuscany.sca.core.FactoryExtensionPoint;
-import org.apache.tuscany.sca.databinding.xml.DOMDataBinding;
-import org.apache.tuscany.sca.interfacedef.InvalidInterfaceException;
-import org.apache.tuscany.sca.interfacedef.java.JavaInterfaceFactory;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLDefinition;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLFactory;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLInterface;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLObject;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-import org.apache.tuscany.sca.provider.ProviderFactoryExtensionPoint;
-
-/**
- * A few utility functions to help embed a Tuscany runtime, and a simple DSL
- * to help assemble and run SCDL.
- */
-public class EmbedUtil {
-
- /**
- * A runtime embedder context, which conveniently initializes a Node factory
- * and gets the various registries, factories and extension points we need.
- */
- static class Context {
- final NodeFactory nf;
- final ExtensionPointRegistry epr;
- final FactoryExtensionPoint fep;
- final ContributionFactory cf;
- final AssemblyFactory af;
- final JavaInterfaceFactory jif;
- final WSDLFactory wif;
- final URLArtifactProcessorExtensionPoint apep;
- final ExtensibleURLArtifactProcessor aproc;
- final ModelResolverExtensionPoint mrep;
- final ProviderFactoryExtensionPoint pfep;
-
- Context(final NodeFactory nf) {
- this.nf = nf;
- epr = nf.getExtensionPointRegistry();
- fep = epr.getExtensionPoint(FactoryExtensionPoint.class);
- cf = fep.getFactory(ContributionFactory.class);
- af = fep.getFactory(AssemblyFactory.class);
- jif = fep.getFactory(JavaInterfaceFactory.class);
- wif = fep.getFactory(WSDLFactory.class);
- apep = epr.getExtensionPoint(URLArtifactProcessorExtensionPoint.class);
- aproc = new ExtensibleURLArtifactProcessor(apep);
- mrep = epr.getExtensionPoint(ModelResolverExtensionPoint.class);
- pfep = epr.getExtensionPoint(ProviderFactoryExtensionPoint.class);
- }
- }
-
- static Context embedContext(NodeFactory nf) {
- return new Context(nf);
- }
-
- /**
- * A mini DSL to help build and assemble contributions and SCDL composites.
- */
- interface Builder<T> {
- T build(Context ec);
- }
-
- static <T> T build(final Builder<T> builder, final Context ec) {
- return builder.build(ec);
- }
-
- /**
- * Return a contribution builder.
- */
- static Builder<Contribution> contrib(final String uri, final String loc, final Builder<Artifact>... artifacts) {
- return new Builder<Contribution>() {
- public Contribution build(final Context ec) {
- final Contribution c = ec.cf.createContribution();
- c.setURI(uri);
- c.setLocation(loc);
- c.setModelResolver(new ExtensibleModelResolver(c, ec.mrep, ec.fep));
- for(Builder<Artifact> a: artifacts)
- c.getArtifacts().add(a.build(ec));
- return c;
- }
- };
- }
-
- /**
- * Return an artifact builder.
- */
- static Builder<Artifact> artifact(final String uri, final Object model) {
- return new Builder<Artifact>() {
- public Artifact build(final Context ec) {
- final Artifact a = ec.cf.createArtifact();
- a.setURI(uri);
- a.setModel(model);
- return a;
- }
- };
- }
-
- /**
- * Return a composite builder.
- */
- static Builder<Composite> composite(final String ns, final String name, final Builder<Component>... components) {
- return new Builder<Composite>() {
- public Composite build(final Context ec) {
- final Composite compos = ec.af.createComposite();
- compos.setName(new QName(ns, name));
- for(final Builder<Component> c: components)
- compos.getComponents().add(c.build(ec));
- return compos;
- }
- };
- }
-
- /**
- * Return a component builder.
- */
- static Builder<Component> component(final String name, final Builder<Implementation> impl, final Builder<ComponentReference>... references) {
- return new Builder<Component>() {
- public Component build(final Context ec) {
- final Component c = ec.af.createComponent();
- c.setName(name);
- c.setImplementation(impl.build(ec));
- for(Builder<ComponentReference> r: references)
- c.getReferences().add(r.build(ec));
- return c;
- }
- };
- }
-
- /**
- * Return an implementation builder.
- */
- static Builder<Implementation> implementation(final Class<?> clazz, final Builder<Contract>... contracts) {
- return new Builder<Implementation>() {
- public SampleImplementation build(final Context ec) {
- final SampleImplementation impl = ImplUtil.implementation(clazz.getName());
- impl.clazz = clazz;
- impl.setUnresolved(false);
- for(final Builder<Contract> b: contracts) {
- Contract c = b.build(ec);
- if(c instanceof Service)
- impl.getServices().add((Service)c);
- else
- impl.getReferences().add((Reference)c);
- }
- return impl;
- }
- };
- }
-
- /**
- * Return a reference builder.
- */
- static Builder<Contract> reference(final String name, final Class<?> c) {
- return new Builder<Contract>() {
- public Reference build(final Context ec) {
- try {
- return ImplUtil.reference(name, c, ec.jif, ec.af);
- } catch(InvalidInterfaceException e) {
- throw new RuntimeException(e);
- }
- }
- };
- }
-
- static Builder<Contract> reference(final String name, final WSDLInterface c) {
- return new Builder<Contract>() {
- public Reference build(final Context ec) {
- return ImplUtil.reference(name, c, ec.wif, ec.af);
- }
- };
- }
-
- static Builder<ComponentReference> reference(final String name, final String target) {
- return new Builder<ComponentReference>() {
- public ComponentReference build(final Context ec) {
- final ComponentReference r = ec.af.createComponentReference();
- r.setName(name);
- final ComponentService s = ec.af.createComponentService();
- s.setUnresolved(true);
- s.setName(target);
- r.getTargets().add(s);
- return r;
- }
- };
- }
-
- /**
- * Return a service builder.
- */
- static Builder<Contract> service(final Class<?> c) {
- return new Builder<Contract>() {
- public Service build(final Context ec) {
- try {
- return ImplUtil.service(c, ec.jif, ec.af);
- } catch(InvalidInterfaceException e) {
- throw new RuntimeException(e);
- }
- }
- };
- }
-
- static Builder<Contract> service(final WSDLInterface c) {
- return new Builder<Contract>() {
- public Service build(final Context ec) {
- return ImplUtil.service(c, ec.wif, ec.af);
- }
- };
- }
-
- /**
- * Return a WSDLInterface builder which loads a WSDL into a contribution.
- */
- static Builder<WSDLInterface> wsdli(final String uri, final String ns, final String name, final Contribution c) {
- return new Builder<WSDLInterface>() {
- public WSDLInterface build(final Context ec) {
- try {
- final ProcessorContext ctx = new ProcessorContext();
- final WSDLDefinition wd = ec.aproc.read(null, new URI(uri), new URL(new URL(c.getLocation()), uri), ctx, WSDLDefinition.class);
- c.getModelResolver().addModel(wd, ctx);
- c.getModelResolver().resolveModel(WSDLDefinition.class, wd, ctx);
- final WSDLObject<PortType> pt = wd.getWSDLObject(PortType.class, new QName(ns, name));
- if(pt == null)
- throw new ContributionResolveException("Couldn't find " + name);
- final WSDLInterface nwi = ec.wif.createWSDLInterface(pt.getElement(), wd, c.getModelResolver(), null);
- nwi.setWsdlDefinition(wd);
- nwi.resetDataBinding(DOMDataBinding.NAME);
- return nwi;
- } catch(Exception e) {
- throw new RuntimeException(e);
- }
- }
- };
- }
-
- /**
- * Return the extension point registry used by our nodes.
- */
- static ExtensionPointRegistry extensionPoints(final Context ec) {
- return ec.epr;
- }
-
- /**
- * Return the provider factory extension point used by our nodes.
- */
- static ProviderFactoryExtensionPoint providerFactories(final Context ec) {
- return ec.pfep;
- }
-
- /**
- * Add a deployable composite to a contribution.
- */
- static Contribution deploy(final Contribution contrib, final Composite... comps) {
- for(Composite c: comps)
- contrib.getDeployables().add(c);
- return contrib;
- }
-
- /**
- * Configure a node with a list of contributions.
- */
- static Node node(final NodeFactory nf, final Contribution... contributions) {
- return nf.createNode(Arrays.asList(contributions));
- }
-
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/ImplUtil.java b/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/ImplUtil.java
deleted file mode 100644
index abd4cd7..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/ImplUtil.java
+++ /dev/null
@@ -1,148 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample.impl;
-
-import java.lang.annotation.Annotation;
-
-import javax.xml.namespace.QName;
-
-import org.apache.tuscany.sca.assembly.AssemblyFactory;
-import org.apache.tuscany.sca.assembly.Reference;
-import org.apache.tuscany.sca.assembly.Service;
-import org.apache.tuscany.sca.interfacedef.InvalidInterfaceException;
-import org.apache.tuscany.sca.interfacedef.java.JavaInterfaceContract;
-import org.apache.tuscany.sca.interfacedef.java.JavaInterfaceFactory;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLDefinition;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLFactory;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLInterface;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLInterfaceContract;
-
-import sample.api.Java;
-import sample.api.WSDL;
-
-/**
- * Utility functions to help develop a component implementation extension.
- */
-class ImplUtil {
-
- /**
- * Return a Sample implementation with the given name.
- */
- static SampleImplementation implementation(String name) {
- final SampleImplementation impl = new SampleImplementation(name);
- impl.setUnresolved(true);
- return impl;
- }
-
- /**
- * Return the Java class configured on an annotation.
- */
- static Class<?> clazz(final Annotation a) {
- return ((Java)a).value();
- }
-
- /**
- * Return the WSDL QName configured on an annotation.
- */
- static QName qname(final Annotation a) {
- final String uri = ((WSDL)a).value();
- final int h = uri.indexOf('#');
- return new QName(uri.substring(0, h), uri.substring(h + 1));
- }
-
- /**
- * Convert a Java class to an interface contract.
- */
- static JavaInterfaceContract contract(final Class<?> c, final JavaInterfaceFactory jif) throws InvalidInterfaceException {
- final JavaInterfaceContract ic = jif.createJavaInterfaceContract();
- ic.setInterface(jif.createJavaInterface(c));
- return ic;
- }
-
- /**
- * Convert a WSDL interface to an interface contract.
- */
- static WSDLInterfaceContract contract(final WSDLInterface wi, final WSDLFactory wf) {
- final WSDLInterfaceContract ic = wf.createWSDLInterfaceContract();
- ic.setInterface(wi);
- return ic;
- }
-
- /**
- * Convert a Java class to a service.
- */
- static Service service(final Class<?> c, final JavaInterfaceFactory jif, final AssemblyFactory af) throws InvalidInterfaceException {
- Service s = af.createService();
- s.setName(c.getSimpleName());
- s.setInterfaceContract(contract(c, jif));
- return s;
- }
-
- /**
- * Convert a WSDL interface to a service.
- */
- static Service service(final WSDLInterface wi, final WSDLFactory wf, final AssemblyFactory af) {
- Service s = af.createService();
- s.setName(wi.getName().getLocalPart());
- s.setInterfaceContract(contract(wi, wf));
- return s;
- }
-
- /**
- * Convert a name and Java class to a reference.
- */
- static Reference reference(final String name, final Class<?> c, final JavaInterfaceFactory jif, final AssemblyFactory af) throws InvalidInterfaceException {
- final Reference r = af.createReference();
- r.setName(name);
- r.setInterfaceContract(contract(c, jif));
- return r;
- }
-
- /**
- * Convert a name and WSDL interface to a reference.
- */
- static Reference reference(final String name, final WSDLInterface wi, final WSDLFactory wf, final AssemblyFactory af) {
- final Reference r = af.createReference();
- r.setName(name);
- r.setInterfaceContract(contract(wi, wf));
- return r;
- }
-
- /**
- * Convert a WSDL qname to a WSDL interface.
- */
- static WSDLInterface interfaze(final QName name, final WSDLFactory wif) {
- final WSDLInterface wir = wif.createWSDLInterface();
- wir.setUnresolved(true);
- wir.setName(name);
- return wir;
- }
-
- /**
- * Convert a WSDL qname to a WSDL definition.
- */
- static WSDLDefinition definition(final QName name, final WSDLFactory wif) {
- final WSDLDefinition wdr = wif.createWSDLDefinition();
- wdr.setUnresolved(true);
- wdr.setNamespace(name.getNamespaceURI());
- wdr.setNameOfPortTypeToResolve(name);
- return wdr;
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleImplementation.java b/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleImplementation.java
deleted file mode 100644
index 41ce71a..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleImplementation.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package sample.impl;
-
-import javax.xml.namespace.QName;
-
-import org.apache.tuscany.sca.assembly.impl.ImplementationImpl;
-
-/**
- * Model representing a Sample implementation in an SCA assembly.
- *
- * @version $Rev$ $Date$
- */
-public class SampleImplementation extends ImplementationImpl {
- static final QName QN = new QName(SCA11_TUSCANY_NS, "implementation.sample");
-
- final String name;
- Class<?> clazz;
-
- SampleImplementation(final String name) {
- super(QN);
- this.name = name;
- }
-
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleImplementationProcessor.java b/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleImplementationProcessor.java
deleted file mode 100644
index 6017030..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleImplementationProcessor.java
+++ /dev/null
@@ -1,174 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package sample.impl;
-
-import static javax.xml.stream.XMLStreamConstants.END_ELEMENT;
-import static sample.impl.SampleImplementation.QN;
-import static sample.impl.ImplUtil.clazz;
-import static sample.impl.ImplUtil.definition;
-import static sample.impl.ImplUtil.implementation;
-import static sample.impl.ImplUtil.interfaze;
-import static sample.impl.ImplUtil.qname;
-import static sample.impl.ImplUtil.reference;
-import static sample.impl.ImplUtil.service;
-
-import java.lang.annotation.Annotation;
-import java.lang.reflect.Field;
-
-import javax.wsdl.PortType;
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.apache.tuscany.sca.assembly.AssemblyFactory;
-import org.apache.tuscany.sca.contribution.processor.BaseStAXArtifactProcessor;
-import org.apache.tuscany.sca.contribution.processor.ContributionReadException;
-import org.apache.tuscany.sca.contribution.processor.ContributionResolveException;
-import org.apache.tuscany.sca.contribution.processor.ContributionWriteException;
-import org.apache.tuscany.sca.contribution.processor.ProcessorContext;
-import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor;
-import org.apache.tuscany.sca.contribution.resolver.ClassReference;
-import org.apache.tuscany.sca.contribution.resolver.ModelResolver;
-import org.apache.tuscany.sca.core.ExtensionPointRegistry;
-import org.apache.tuscany.sca.core.FactoryExtensionPoint;
-import org.apache.tuscany.sca.databinding.xml.DOMDataBinding;
-import org.apache.tuscany.sca.interfacedef.InvalidInterfaceException;
-import org.apache.tuscany.sca.interfacedef.java.JavaInterfaceFactory;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLDefinition;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLFactory;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLInterface;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLObject;
-
-import sample.api.Java;
-import sample.api.WSDL;
-
-/**
- * StAX artifact processor for Sample implementations.
- *
- * @version $Rev$ $Date$
- */
-public class SampleImplementationProcessor extends BaseStAXArtifactProcessor implements StAXArtifactProcessor<SampleImplementation> {
- final AssemblyFactory af;
- final JavaInterfaceFactory jif;
- final WSDLFactory wf;
-
- public SampleImplementationProcessor(final ExtensionPointRegistry ep) {
- final FactoryExtensionPoint fep = ep.getExtensionPoint(FactoryExtensionPoint.class);
- this.af = fep.getFactory(AssemblyFactory.class);
- this.jif = fep.getFactory(JavaInterfaceFactory.class);
- this.wf = fep.getFactory(WSDLFactory.class);
- }
-
- public QName getArtifactType() {
- return QN;
- }
-
- public Class<SampleImplementation> getModelType() {
- return SampleImplementation.class;
- }
-
- public SampleImplementation read(final XMLStreamReader r, final ProcessorContext ctx) throws ContributionReadException, XMLStreamException {
- // Read the component implementation element
- final SampleImplementation impl = implementation(r.getAttributeValue(null, "class"));
- while(r.hasNext() && !(r.next() == END_ELEMENT && QN.equals(r.getName())))
- ;
- return impl;
- }
-
- public void resolve(final SampleImplementation impl, final ModelResolver res, final ProcessorContext ctx) throws ContributionResolveException {
- try {
- // Resolve and introspect the implementation class
- impl.clazz = resolve(impl.name, res, ctx);
-
- for(final Annotation a: impl.clazz.getAnnotations()) {
- if(a instanceof Java)
- impl.getServices().add(service(clazz(a), jif, af));
- else if(a instanceof WSDL)
- impl.getServices().add(service(resolve(qname(a), res, ctx, wf), wf, af));
- }
-
- for(Field f: impl.clazz.getDeclaredFields()) {
- for(final Annotation a: f.getAnnotations()) {
- if(a instanceof Java)
- impl.getReferences().add(reference(f.getName(), clazz(a), jif, af));
- else if(a instanceof WSDL)
- impl.getReferences().add(reference(f.getName(), resolve(qname(a), res, ctx, wf), wf, af));
- }
- }
-
- impl.setUnresolved(false);
- } catch(InvalidInterfaceException e) {
- throw new ContributionResolveException(e);
- }
- }
-
- public void write(final SampleImplementation impl, final XMLStreamWriter w, final ProcessorContext ctx) throws ContributionWriteException, XMLStreamException {
- writeStart(w, QN.getNamespaceURI(), QN.getLocalPart(), new XAttr("class", impl.name));
- writeEnd(w);
- }
-
- /**
- * Resolve a Java class.
- */
- static Class<?> resolve(final String name, final ModelResolver res, final ProcessorContext ctx) throws ContributionResolveException {
- final ClassReference cr = res.resolveModel(ClassReference.class, new ClassReference(name), ctx);
- if(cr.getJavaClass() != null)
- return cr.getJavaClass();
- throw new ContributionResolveException(new ClassNotFoundException(name));
- }
-
- /**
- * Resolve a WSDL interface.
- */
- static WSDLInterface resolve(final QName name, final ModelResolver res, final ProcessorContext ctx, final WSDLFactory wif) throws ContributionResolveException {
- final WSDLInterface wi = res.resolveModel(WSDLInterface.class, interfaze(name, wif), ctx);
- if(!wi.isUnresolved())
- return domBound(wi);
-
- final WSDLDefinition wd = res.resolveModel(WSDLDefinition.class, definition(wi.getName(), wif), ctx);
- if(wd.isUnresolved())
- throw new ContributionResolveException("Couldn't find " + name.getNamespaceURI());
-
- WSDLObject<PortType> pt = wd.getWSDLObject(PortType.class, name);
- if(pt == null)
- throw new ContributionResolveException("Couldn't find " + name);
- try {
- final WSDLInterface nwi = wif.createWSDLInterface(pt.getElement(), wd, res, ctx.getMonitor());
- nwi.setWsdlDefinition(wd);
- res.addModel(nwi, ctx);
- return domBound(nwi);
- } catch(InvalidInterfaceException e) {
- throw new ContributionResolveException(e);
- }
- }
-
- /**
- * Return a WSDL interface configured to use a DOM databinding.
- */
- static WSDLInterface domBound(WSDLInterface wi) throws ContributionResolveException {
- try {
- final WSDLInterface domwi = (WSDLInterface)wi.clone();
- domwi.resetDataBinding(DOMDataBinding.NAME);
- return domwi;
- } catch(CloneNotSupportedException e) {
- throw new ContributionResolveException(e);
- }
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleJavaInvoker.java b/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleJavaInvoker.java
deleted file mode 100644
index 244251c..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleJavaInvoker.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample.impl;
-
-import java.lang.reflect.Method;
-
-import org.apache.tuscany.sca.interfacedef.java.JavaOperation;
-import org.apache.tuscany.sca.invocation.Invoker;
-import org.apache.tuscany.sca.invocation.Message;
-
-/**
- * Invoker for Sample components that implement a Java interface.
- *
- * @version $Rev$ $Date$
- */
-class SampleJavaInvoker implements Invoker {
- final Object instance;
- final Method method;
-
- SampleJavaInvoker(final JavaOperation op, final Class<?> clazz, final Object instance) throws SecurityException, NoSuchMethodException {
- this.instance = instance;
- this.method = clazz.getMethod(op.getJavaMethod().getName(), op.getJavaMethod().getParameterTypes());
- }
-
- public Message invoke(final Message msg) {
- try {
- // Call the method that implements the operation
- msg.setBody(method.invoke(instance, (Object[])msg.getBody()));
- } catch(Exception e) {
- e.printStackTrace();
- msg.setFaultBody(e.getCause());
- }
- return msg;
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleProvider.java b/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleProvider.java
deleted file mode 100644
index 5d946b0..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleProvider.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample.impl;
-
-import java.lang.reflect.Field;
-
-import org.apache.tuscany.sca.assembly.ComponentReference;
-import org.apache.tuscany.sca.core.invocation.ProxyFactory;
-import org.apache.tuscany.sca.interfacedef.Interface;
-import org.apache.tuscany.sca.interfacedef.Operation;
-import org.apache.tuscany.sca.interfacedef.java.JavaInterface;
-import org.apache.tuscany.sca.interfacedef.java.JavaOperation;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLOperation;
-import org.apache.tuscany.sca.invocation.Invoker;
-import org.apache.tuscany.sca.provider.ImplementationProvider;
-import org.apache.tuscany.sca.runtime.RuntimeComponent;
-import org.apache.tuscany.sca.runtime.RuntimeComponentService;
-
-/**
- * Implementation provider for Sample component implementations.
- *
- * @version $Rev$ $Date$
- */
-class SampleProvider implements ImplementationProvider {
- final RuntimeComponent comp;
- final SampleImplementation impl;
- final ProxyFactory pxf;
- Object instance;
-
- SampleProvider(final RuntimeComponent comp, final SampleImplementation impl, ProxyFactory pf) {
- this.comp = comp;
- this.impl = impl;
- this.pxf = pf;
- }
-
- public void start() {
- // Construct implementation instance and inject reference proxies
- try {
- instance = impl.clazz.newInstance();
-
- for(ComponentReference r: comp.getReferences()) {
- final Field f = impl.clazz.getDeclaredField(r.getName());
- f.setAccessible(true);
- // Inject a Java or WSDLReference proxy
- final Interface i = r.getInterfaceContract().getInterface();
- if(i instanceof JavaInterface)
- f.set(instance, pxf.createProxy(comp.getComponentContext().getServiceReference(f.getType(), r.getName())));
- else
- f.set(instance, new SampleWSDLProxy(r.getEndpointReferences().get(0), i));
- }
- } catch(Exception e) {
- throw new RuntimeException(e);
- }
- }
-
- public void stop() {
- instance = null;
- }
-
- public boolean supportsOneWayInvocation() {
- return false;
- }
-
- public Invoker createInvoker(final RuntimeComponentService s, final Operation op) {
- try {
- // Creating an invoker for a Java or WSDL-typed implementation
- if(op instanceof JavaOperation)
- return new SampleJavaInvoker((JavaOperation)op, impl.clazz, instance);
- return new SampleWSDLInvoker((WSDLOperation)op, impl.clazz, instance);
- } catch(Exception e) {
- throw new RuntimeException(e);
- }
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleProviderFactory.java b/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleProviderFactory.java
deleted file mode 100644
index 4ad24d3..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleProviderFactory.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample.impl;
-
-import org.apache.tuscany.sca.core.ExtensionPointRegistry;
-import org.apache.tuscany.sca.core.invocation.ExtensibleProxyFactory;
-import org.apache.tuscany.sca.core.invocation.ProxyFactory;
-import org.apache.tuscany.sca.provider.ImplementationProvider;
-import org.apache.tuscany.sca.provider.ImplementationProviderFactory;
-import org.apache.tuscany.sca.runtime.RuntimeComponent;
-
-/**
- * Factory for Sample implementation providers.
- *
- * @version $Rev$ $Date$
- */
-public class SampleProviderFactory implements ImplementationProviderFactory<SampleImplementation> {
- final ProxyFactory pxf;
-
- public SampleProviderFactory(final ExtensionPointRegistry ep) {
- pxf = ExtensibleProxyFactory.getInstance(ep);
- }
-
- public ImplementationProvider createImplementationProvider(final RuntimeComponent comp, final SampleImplementation impl) {
- return new SampleProvider(comp, impl, pxf);
- }
-
- public Class<SampleImplementation> getModelType() {
- return SampleImplementation.class;
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleWSDLInvoker.java b/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleWSDLInvoker.java
deleted file mode 100644
index 6c53172..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleWSDLInvoker.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample.impl;
-
-import java.lang.reflect.Method;
-
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLOperation;
-import org.apache.tuscany.sca.invocation.Invoker;
-import org.apache.tuscany.sca.invocation.Message;
-import org.w3c.dom.Element;
-
-/**
- * Invoker for Sample components that implement a WSDL interface using a generic
- * call method.
- *
- * @version $Rev$ $Date$
- */
-class SampleWSDLInvoker implements Invoker {
- final String name;
- final Object instance;
- final Method method;
-
- SampleWSDLInvoker(final WSDLOperation op, final Class<?> clazz, final Object instance) throws SecurityException, NoSuchMethodException {
- this.name = op.getName();
- this.instance = instance;
- this.method = clazz.getMethod("call", String.class, Element.class);
- }
-
- public Message invoke(final Message msg) {
- try {
- // Invoke the generic call method
- msg.setBody(method.invoke(instance, name, ((Object[])msg.getBody())[0]));
- } catch(Exception e) {
- e.printStackTrace();
- msg.setFaultBody(e.getCause());
- }
- return msg;
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleWSDLProxy.java b/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleWSDLProxy.java
deleted file mode 100644
index 0d000ae..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sample/impl/SampleWSDLProxy.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample.impl;
-
-import java.lang.reflect.InvocationTargetException;
-import java.util.HashMap;
-import java.util.Map;
-
-import org.apache.tuscany.sca.assembly.EndpointReference;
-import org.apache.tuscany.sca.interfacedef.Interface;
-import org.apache.tuscany.sca.interfacedef.Operation;
-import org.apache.tuscany.sca.runtime.RuntimeEndpointReference;
-import org.w3c.dom.Element;
-
-import sample.api.WSDLReference;
-
-/**
- * Proxy used to call operations on WSDL references.
- */
-class SampleWSDLProxy implements WSDLReference {
- final RuntimeEndpointReference repr;
- final Map<String, Operation> ops;
-
- SampleWSDLProxy(EndpointReference epr, Interface wi) {
- repr = (RuntimeEndpointReference)epr;
- ops = new HashMap<String, Operation>();
- for(Operation o: wi.getOperations())
- ops.put(o.getName(), o);
- }
-
- @Override
- public Element call(String op, Element e) {
- try {
- // Invoke the named operation on the endpoint reference
- return (Element)repr.invoke(ops.get(op), new Object[] {e});
- } catch(InvocationTargetException ex) {
- throw new RuntimeException(ex);
- }
- }
-
- @Override
- public void callAsync(String op, Element e) {
- return;
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/ImplUtil.java b/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/ImplUtil.java
deleted file mode 100644
index c30c784..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/ImplUtil.java
+++ /dev/null
@@ -1,148 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sampleasync.impl;
-
-import java.lang.annotation.Annotation;
-
-import javax.xml.namespace.QName;
-
-import org.apache.tuscany.sca.assembly.AssemblyFactory;
-import org.apache.tuscany.sca.assembly.Reference;
-import org.apache.tuscany.sca.assembly.Service;
-import org.apache.tuscany.sca.interfacedef.InvalidInterfaceException;
-import org.apache.tuscany.sca.interfacedef.java.JavaInterfaceContract;
-import org.apache.tuscany.sca.interfacedef.java.JavaInterfaceFactory;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLDefinition;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLFactory;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLInterface;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLInterfaceContract;
-
-import sample.api.Java;
-import sample.api.WSDL;
-
-/**
- * Utility functions to help develop a component implementation extension.
- */
-class ImplUtil {
-
- /**
- * Return a Sample implementation with the given name.
- */
- static SampleAsyncImplementation implementation(String name) {
- final SampleAsyncImplementation impl = new SampleAsyncImplementation(name);
- impl.setUnresolved(true);
- return impl;
- }
-
- /**
- * Return the Java class configured on an annotation.
- */
- static Class<?> clazz(final Annotation a) {
- return ((Java)a).value();
- }
-
- /**
- * Return the WSDL QName configured on an annotation.
- */
- static QName qname(final Annotation a) {
- final String uri = ((WSDL)a).value();
- final int h = uri.indexOf('#');
- return new QName(uri.substring(0, h), uri.substring(h + 1));
- }
-
- /**
- * Convert a Java class to an interface contract.
- */
- static JavaInterfaceContract contract(final Class<?> c, final JavaInterfaceFactory jif) throws InvalidInterfaceException {
- final JavaInterfaceContract ic = jif.createJavaInterfaceContract();
- ic.setInterface(jif.createJavaInterface(c));
- return ic;
- }
-
- /**
- * Convert a WSDL interface to an interface contract.
- */
- static WSDLInterfaceContract contract(final WSDLInterface wi, final WSDLFactory wf) {
- final WSDLInterfaceContract ic = wf.createWSDLInterfaceContract();
- ic.setInterface(wi);
- return ic;
- }
-
- /**
- * Convert a Java class to a service.
- */
- static Service service(final Class<?> c, final JavaInterfaceFactory jif, final AssemblyFactory af) throws InvalidInterfaceException {
- Service s = af.createService();
- s.setName(c.getSimpleName());
- s.setInterfaceContract(contract(c, jif));
- return s;
- }
-
- /**
- * Convert a WSDL interface to a service.
- */
- static Service service(final WSDLInterface wi, final WSDLFactory wf, final AssemblyFactory af) {
- Service s = af.createService();
- s.setName(wi.getName().getLocalPart());
- s.setInterfaceContract(contract(wi, wf));
- return s;
- }
-
- /**
- * Convert a name and Java class to a reference.
- */
- static Reference reference(final String name, final Class<?> c, final JavaInterfaceFactory jif, final AssemblyFactory af) throws InvalidInterfaceException {
- final Reference r = af.createReference();
- r.setName(name);
- r.setInterfaceContract(contract(c, jif));
- return r;
- }
-
- /**
- * Convert a name and WSDL interface to a reference.
- */
- static Reference reference(final String name, final WSDLInterface wi, final WSDLFactory wf, final AssemblyFactory af) {
- final Reference r = af.createReference();
- r.setName(name);
- r.setInterfaceContract(contract(wi, wf));
- return r;
- }
-
- /**
- * Convert a WSDL qname to a WSDL interface.
- */
- static WSDLInterface interfaze(final QName name, final WSDLFactory wif) {
- final WSDLInterface wir = wif.createWSDLInterface();
- wir.setUnresolved(true);
- wir.setName(name);
- return wir;
- }
-
- /**
- * Convert a WSDL qname to a WSDL definition.
- */
- static WSDLDefinition definition(final QName name, final WSDLFactory wif) {
- final WSDLDefinition wdr = wif.createWSDLDefinition();
- wdr.setUnresolved(true);
- wdr.setNamespace(name.getNamespaceURI());
- wdr.setNameOfPortTypeToResolve(name);
- return wdr;
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncImplementation.java b/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncImplementation.java
deleted file mode 100644
index e0abd72..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncImplementation.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package sampleasync.impl;
-
-import javax.xml.namespace.QName;
-
-import org.apache.tuscany.sca.assembly.impl.ImplementationImpl;
-
-/**
- * Model representing a Sample implementation in an SCA assembly.
- *
- * @version $Rev$ $Date$
- */
-public class SampleAsyncImplementation extends ImplementationImpl {
- static final QName QN = new QName(SCA11_TUSCANY_NS, "implementation.sampleasync");
-
- final String name;
- Class<?> clazz;
-
- SampleAsyncImplementation(final String name) {
- super(QN);
- this.name = name;
- }
-
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncImplementationProcessor.java b/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncImplementationProcessor.java
deleted file mode 100644
index 03fe3da..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncImplementationProcessor.java
+++ /dev/null
@@ -1,174 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package sampleasync.impl;
-
-import static javax.xml.stream.XMLStreamConstants.END_ELEMENT;
-import static sampleasync.impl.SampleAsyncImplementation.QN;
-import static sampleasync.impl.ImplUtil.clazz;
-import static sampleasync.impl.ImplUtil.definition;
-import static sampleasync.impl.ImplUtil.implementation;
-import static sampleasync.impl.ImplUtil.interfaze;
-import static sampleasync.impl.ImplUtil.qname;
-import static sampleasync.impl.ImplUtil.reference;
-import static sampleasync.impl.ImplUtil.service;
-
-import java.lang.annotation.Annotation;
-import java.lang.reflect.Field;
-
-import javax.wsdl.PortType;
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.apache.tuscany.sca.assembly.AssemblyFactory;
-import org.apache.tuscany.sca.contribution.processor.BaseStAXArtifactProcessor;
-import org.apache.tuscany.sca.contribution.processor.ContributionReadException;
-import org.apache.tuscany.sca.contribution.processor.ContributionResolveException;
-import org.apache.tuscany.sca.contribution.processor.ContributionWriteException;
-import org.apache.tuscany.sca.contribution.processor.ProcessorContext;
-import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor;
-import org.apache.tuscany.sca.contribution.resolver.ClassReference;
-import org.apache.tuscany.sca.contribution.resolver.ModelResolver;
-import org.apache.tuscany.sca.core.ExtensionPointRegistry;
-import org.apache.tuscany.sca.core.FactoryExtensionPoint;
-import org.apache.tuscany.sca.databinding.xml.DOMDataBinding;
-import org.apache.tuscany.sca.interfacedef.InvalidInterfaceException;
-import org.apache.tuscany.sca.interfacedef.java.JavaInterfaceFactory;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLDefinition;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLFactory;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLInterface;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLObject;
-
-import sample.api.Java;
-import sample.api.WSDL;
-
-/**
- * StAX artifact processor for Sample implementations.
- *
- * @version $Rev$ $Date$
- */
-public class SampleAsyncImplementationProcessor extends BaseStAXArtifactProcessor implements StAXArtifactProcessor<SampleAsyncImplementation> {
- final AssemblyFactory af;
- final JavaInterfaceFactory jif;
- final WSDLFactory wf;
-
- public SampleAsyncImplementationProcessor(final ExtensionPointRegistry ep) {
- final FactoryExtensionPoint fep = ep.getExtensionPoint(FactoryExtensionPoint.class);
- this.af = fep.getFactory(AssemblyFactory.class);
- this.jif = fep.getFactory(JavaInterfaceFactory.class);
- this.wf = fep.getFactory(WSDLFactory.class);
- }
-
- public QName getArtifactType() {
- return QN;
- }
-
- public Class<SampleAsyncImplementation> getModelType() {
- return SampleAsyncImplementation.class;
- }
-
- public SampleAsyncImplementation read(final XMLStreamReader r, final ProcessorContext ctx) throws ContributionReadException, XMLStreamException {
- // Read the component implementation element
- final SampleAsyncImplementation impl = implementation(r.getAttributeValue(null, "class"));
- while(r.hasNext() && !(r.next() == END_ELEMENT && QN.equals(r.getName())))
- ;
- return impl;
- }
-
- public void resolve(final SampleAsyncImplementation impl, final ModelResolver res, final ProcessorContext ctx) throws ContributionResolveException {
- try {
- // Resolve and introspect the implementation class
- impl.clazz = resolve(impl.name, res, ctx);
-
- for(final Annotation a: impl.clazz.getAnnotations()) {
- if(a instanceof Java)
- impl.getServices().add(service(clazz(a), jif, af));
- else if(a instanceof WSDL)
- impl.getServices().add(service(resolve(qname(a), res, ctx, wf), wf, af));
- }
-
- for(Field f: impl.clazz.getDeclaredFields()) {
- for(final Annotation a: f.getAnnotations()) {
- if(a instanceof Java)
- impl.getReferences().add(reference(f.getName(), clazz(a), jif, af));
- else if(a instanceof WSDL)
- impl.getReferences().add(reference(f.getName(), resolve(qname(a), res, ctx, wf), wf, af));
- }
- }
-
- impl.setUnresolved(false);
- } catch(InvalidInterfaceException e) {
- throw new ContributionResolveException(e);
- }
- }
-
- public void write(final SampleAsyncImplementation impl, final XMLStreamWriter w, final ProcessorContext ctx) throws ContributionWriteException, XMLStreamException {
- writeStart(w, QN.getNamespaceURI(), QN.getLocalPart(), new XAttr("class", impl.name));
- writeEnd(w);
- }
-
- /**
- * Resolve a Java class.
- */
- static Class<?> resolve(final String name, final ModelResolver res, final ProcessorContext ctx) throws ContributionResolveException {
- final ClassReference cr = res.resolveModel(ClassReference.class, new ClassReference(name), ctx);
- if(cr.getJavaClass() != null)
- return cr.getJavaClass();
- throw new ContributionResolveException(new ClassNotFoundException(name));
- }
-
- /**
- * Resolve a WSDL interface.
- */
- static WSDLInterface resolve(final QName name, final ModelResolver res, final ProcessorContext ctx, final WSDLFactory wif) throws ContributionResolveException {
- final WSDLInterface wi = res.resolveModel(WSDLInterface.class, interfaze(name, wif), ctx);
- if(!wi.isUnresolved())
- return domBound(wi);
-
- final WSDLDefinition wd = res.resolveModel(WSDLDefinition.class, definition(wi.getName(), wif), ctx);
- if(wd.isUnresolved())
- throw new ContributionResolveException("Couldn't find " + name.getNamespaceURI());
-
- WSDLObject<PortType> pt = wd.getWSDLObject(PortType.class, name);
- if(pt == null)
- throw new ContributionResolveException("Couldn't find " + name);
- try {
- final WSDLInterface nwi = wif.createWSDLInterface(pt.getElement(), wd, res, ctx.getMonitor());
- nwi.setWsdlDefinition(wd);
- res.addModel(nwi, ctx);
- return domBound(nwi);
- } catch(InvalidInterfaceException e) {
- throw new ContributionResolveException(e);
- }
- }
-
- /**
- * Return a WSDL interface configured to use a DOM databinding.
- */
- static WSDLInterface domBound(WSDLInterface wi) throws ContributionResolveException {
- try {
- final WSDLInterface domwi = (WSDLInterface)wi.clone();
- domwi.resetDataBinding(DOMDataBinding.NAME);
- return domwi;
- } catch(CloneNotSupportedException e) {
- throw new ContributionResolveException(e);
- }
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncProvider.java b/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncProvider.java
deleted file mode 100644
index 10eb78f..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncProvider.java
+++ /dev/null
@@ -1,107 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sampleasync.impl;
-
-import java.lang.reflect.Field;
-import java.util.HashMap;
-import java.util.Map;
-
-import org.apache.tuscany.sca.assembly.ComponentReference;
-import org.apache.tuscany.sca.core.ExtensionPointRegistry;
-import org.apache.tuscany.sca.core.invocation.ProxyFactory;
-import org.apache.tuscany.sca.interfacedef.Interface;
-import org.apache.tuscany.sca.interfacedef.Operation;
-import org.apache.tuscany.sca.interfacedef.java.JavaInterface;
-import org.apache.tuscany.sca.interfacedef.java.JavaOperation;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLOperation;
-import org.apache.tuscany.sca.invocation.Invoker;
-import org.apache.tuscany.sca.invocation.InvokerAsyncRequest;
-import org.apache.tuscany.sca.invocation.InvokerAsyncResponse;
-import org.apache.tuscany.sca.provider.ImplementationAsyncProvider;
-import org.apache.tuscany.sca.runtime.RuntimeComponent;
-import org.apache.tuscany.sca.runtime.RuntimeComponentService;
-
-/**
- * Implementation provider for Sample component implementations.
- *
- * @version $Rev$ $Date$
- */
-class SampleAsyncProvider implements ImplementationAsyncProvider {
- final RuntimeComponent comp;
- final SampleAsyncImplementation impl;
- final ProxyFactory pxf;
- final ExtensionPointRegistry ep;
- Object instance;
- Map<String, Object> asyncMessageMap = new HashMap<String, Object>();
-
- SampleAsyncProvider(final RuntimeComponent comp, final SampleAsyncImplementation impl, ProxyFactory pf, ExtensionPointRegistry ep) {
- this.comp = comp;
- this.impl = impl;
- this.pxf = pf;
- this.ep = ep;
- }
-
- public void start() {
- // Construct implementation instance and inject reference proxies
- try {
- instance = impl.clazz.newInstance();
-
- for(ComponentReference r: comp.getReferences()) {
- final Field f = impl.clazz.getDeclaredField(r.getName());
- f.setAccessible(true);
- // Inject a Java or WSDLReference proxy
- final Interface i = r.getInterfaceContract().getInterface();
- if(i instanceof JavaInterface)
- f.set(instance, pxf.createProxy(comp.getComponentContext().getServiceReference(f.getType(), r.getName())));
- else
- f.set(instance, new SampleWSDLProxy(asyncMessageMap, r.getEndpointReferences().get(0), i, ep));
- }
- } catch(Exception e) {
- throw new RuntimeException(e);
- }
- }
-
- public void stop() {
- instance = null;
- }
-
- public boolean supportsOneWayInvocation() {
- return false;
- }
-
- public Invoker createInvoker(final RuntimeComponentService s, final Operation op) {
- return (Invoker)createAsyncInvoker(s, op);
- }
-
- public InvokerAsyncRequest createAsyncInvoker(final RuntimeComponentService s, final Operation op) {
- try {
- // Creating an invoker for a Java or WSDL-typed implementation
- if(op instanceof JavaOperation)
- return new SampleJavaInvoker((JavaOperation)op, impl.clazz, instance);
- return new SampleWSDLInvoker((WSDLOperation)op, impl.clazz, instance);
- } catch(Exception e) {
- throw new RuntimeException(e);
- }
- }
-
- public InvokerAsyncResponse createAsyncResponseInvoker(Operation operation) {
- return new SampleAsyncResponseInvoker(asyncMessageMap, operation, impl.clazz, instance);
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncProviderFactory.java b/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncProviderFactory.java
deleted file mode 100644
index 2170313..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncProviderFactory.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sampleasync.impl;
-
-import org.apache.tuscany.sca.core.ExtensionPointRegistry;
-import org.apache.tuscany.sca.core.invocation.ExtensibleProxyFactory;
-import org.apache.tuscany.sca.core.invocation.ProxyFactory;
-import org.apache.tuscany.sca.provider.ImplementationProvider;
-import org.apache.tuscany.sca.provider.ImplementationProviderFactory;
-import org.apache.tuscany.sca.runtime.RuntimeComponent;
-
-/**
- * Factory for Sample implementation providers.
- *
- * @version $Rev$ $Date$
- */
-public class SampleAsyncProviderFactory implements ImplementationProviderFactory<SampleAsyncImplementation> {
- final ProxyFactory pxf;
- final ExtensionPointRegistry ep;
-
- public SampleAsyncProviderFactory(final ExtensionPointRegistry ep) {
- this.ep = ep;
- pxf = ExtensibleProxyFactory.getInstance(ep);
- }
-
- public ImplementationProvider createImplementationProvider(final RuntimeComponent comp, final SampleAsyncImplementation impl) {
- return new SampleAsyncProvider(comp, impl, pxf, ep);
- }
-
- public Class<SampleAsyncImplementation> getModelType() {
- return SampleAsyncImplementation.class;
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncResponseInvoker.java b/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncResponseInvoker.java
deleted file mode 100644
index 2a7ad3f..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleAsyncResponseInvoker.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sampleasync.impl;
-
-import java.lang.reflect.Method;
-import java.util.Map;
-
-import org.apache.tuscany.sca.core.invocation.Constants;
-import org.apache.tuscany.sca.interfacedef.Operation;
-import org.apache.tuscany.sca.invocation.InvokerAsyncResponse;
-import org.apache.tuscany.sca.invocation.Message;
-import org.w3c.dom.Element;
-
-/**
- * Invoker for Sample components that implement a WSDL interface using a generic
- * call method.
- *
- * @version $Rev$ $Date$
- */
-class SampleAsyncResponseInvoker implements InvokerAsyncResponse {
- final String name;
- final Object instance;
- final Operation op;
- Map<String, Object> asyncMessageMap;
-
- SampleAsyncResponseInvoker(Map<String, Object> asyncMessageMap, final Operation op, final Class<?> clazz, final Object instance) {
- this.asyncMessageMap = asyncMessageMap;
- this.name = op.getName();
- this.instance = instance;
- this.op = op;
- }
-
- public void invokeAsyncResponse(final Message msg) {
- try {
- String messageID = (String) msg.getHeaders().get(Constants.MESSAGE_ID);
- String forwardOpName = (String)asyncMessageMap.get(messageID);
-
- // process the async response
- //Object response = ((Object[])msg.getBody())[0];
- Object response = msg.getBody();
-
- Method method = instance.getClass().getMethod(forwardOpName + "Callback", Element.class);
- method.invoke(instance, response);
- } catch(Exception e) {
- e.printStackTrace();
- // TODO - need to throw this to somewhere?
- }
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleJavaInvoker.java b/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleJavaInvoker.java
deleted file mode 100644
index 063fe16..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleJavaInvoker.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sampleasync.impl;
-
-import java.lang.reflect.Method;
-
-import org.apache.tuscany.sca.interfacedef.java.JavaOperation;
-import org.apache.tuscany.sca.invocation.Invoker;
-import org.apache.tuscany.sca.invocation.InvokerAsyncRequest;
-import org.apache.tuscany.sca.invocation.InvokerAsyncResponse;
-import org.apache.tuscany.sca.invocation.Message;
-
-/**
- * Invoker for Sample components that implement a Java interface.
- *
- * @version $Rev$ $Date$
- */
-class SampleJavaInvoker implements Invoker, InvokerAsyncRequest {
- final Object instance;
- final Method method;
-
- SampleJavaInvoker(final JavaOperation op, final Class<?> clazz, final Object instance) throws SecurityException, NoSuchMethodException {
- this.instance = instance;
- this.method = clazz.getMethod(op.getJavaMethod().getName(), op.getJavaMethod().getParameterTypes());
- }
-
- public Message invoke(final Message msg) {
- return processRequest(msg);
- }
-
- public void invokeAsyncRequest(Message msg) {
- processRequest(msg);
- // TODO - need to do something about exceptions
- }
-
- public Message processRequest(Message msg) {
- try {
- // Call the method that implements the operation
- msg.setBody(method.invoke(instance, (Object[])msg.getBody()));
- } catch(Exception e) {
- e.printStackTrace();
- msg.setFaultBody(e.getCause());
- }
- return msg;
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleWSDLInvoker.java b/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleWSDLInvoker.java
deleted file mode 100644
index 26412ab..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleWSDLInvoker.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sampleasync.impl;
-
-import java.lang.reflect.Method;
-
-import org.apache.tuscany.sca.assembly.Endpoint;
-import org.apache.tuscany.sca.core.invocation.InterceptorAsyncImpl;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLOperation;
-import org.apache.tuscany.sca.invocation.Invoker;
-import org.apache.tuscany.sca.invocation.Message;
-import org.apache.tuscany.sca.runtime.RuntimeEndpoint;
-import org.w3c.dom.Element;
-
-/**
- * Invoker for Sample components that implement a WSDL interface using a generic
- * call method.
- *
- * @version $Rev$ $Date$
- */
-class SampleWSDLInvoker extends InterceptorAsyncImpl {
- final String name;
- final Object instance;
- final Method method;
-
- SampleWSDLInvoker(final WSDLOperation op, final Class<?> clazz, final Object instance) throws SecurityException, NoSuchMethodException {
- this.name = op.getName();
- this.instance = instance;
- this.method = clazz.getMethod("call", String.class, Element.class);
- }
-
- public Invoker getNext() {
- // Can't get next for an implementation invoker
- return null;
- }
-
- public Message invoke(final Message msg) {
- return processRequest(msg);
- }
-
- public void invokeAsyncRequest(Message msg) {
- Message responseMsg = processRequest(msg);
-
- // in this sample programming model we make the async
- // response from the implementation provider. The
- // component implementation itself doesn't get a chance to
- // do async responses.
-
- // At this point we could serialize the ??? and pick it up again
- // later to send the async response
-
- ((RuntimeEndpoint)msg.getTo()).invokeAsyncResponse(responseMsg);
- }
-
- public Message processRequest(Message msg) {
- try {
- //AsyncHeader asyncHeader = (String) message.getHeaders().get("ASYNC-HEADER");
- // Invoke the generic call method
- Object response = method.invoke(instance, name, ((Object[])msg.getBody())[0]);
- msg.setBody(response);
- } catch(Exception e) {
- e.printStackTrace();
- msg.setFaultBody(e.getCause());
- }
- return msg;
- }
-
- public Message processResponse(Message msg) {
- return msg;
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleWSDLProxy.java b/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleWSDLProxy.java
deleted file mode 100644
index a02132a..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/java/sampleasync/impl/SampleWSDLProxy.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sampleasync.impl;
-
-import java.lang.reflect.InvocationTargetException;
-import java.util.HashMap;
-import java.util.Map;
-
-import org.apache.tuscany.sca.assembly.EndpointReference;
-import org.apache.tuscany.sca.core.ExtensionPointRegistry;
-import org.apache.tuscany.sca.core.invocation.Constants;
-import org.apache.tuscany.sca.interfacedef.Interface;
-import org.apache.tuscany.sca.interfacedef.Operation;
-import org.apache.tuscany.sca.invocation.Message;
-import org.apache.tuscany.sca.invocation.MessageFactory;
-import org.apache.tuscany.sca.runtime.RuntimeEndpointReference;
-import org.w3c.dom.Element;
-
-import sample.api.WSDLReference;
-
-/**
- * Proxy used to call operations on WSDL references.
- */
-class SampleWSDLProxy implements WSDLReference {
- final RuntimeEndpointReference repr;
- final Map<String, Operation> ops;
- final ExtensionPointRegistry ep;
- final MessageFactory mf;
- Map<String, Object> asyncMessageMap;
-
- SampleWSDLProxy(Map<String, Object> asyncMessageMap, EndpointReference epr, Interface wi, ExtensionPointRegistry ep) {
- this.asyncMessageMap = asyncMessageMap;
- this.ep = ep;
- mf = ep.getExtensionPoint(MessageFactory.class);
-
- repr = (RuntimeEndpointReference)epr;
- ops = new HashMap<String, Operation>();
- for(Operation o: wi.getOperations())
- ops.put(o.getName(), o);
- }
-
- @Override
- public Element call(String op, Element e) {
- try {
- // Invoke the named operation on the endpoint reference
- return (Element)repr.invoke(ops.get(op), new Object[] {e});
- } catch(InvocationTargetException ex) {
- throw new RuntimeException(ex);
- }
- }
-
- @Override
- public void callAsync(String op, Element e) {
- // Asynchronously invoke the named operation on the endpoint reference
- Message message = mf.createMessage();
- message.setBody(new Object[]{e});
-
- // We could MESSAGE_ID here if required. If not the infrastructure
- // will generate a UUID
- String messageID = "myuniqueid";
- message.getHeaders().put(Constants.MESSAGE_ID, messageID);
-
- // save the message id ready for when we process the response
- asyncMessageMap.put(messageID, op);
-
- // We could add implementation specific headers here if required
- //message.getHeaders().put(Constants.???, ???);
-
- try {
- repr.invokeAsync(ops.get(op), message);
- } catch (Throwable ex) {
- ex.printStackTrace();
- }
-
- // if we don't provide a message id we can get the one the
- // infrastructure generates
- //String messageID = (String) message.getHeaders().get(Constants.MESSAGE_ID);
- //asyncMessageMap.put(messageID, op);
-
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor b/unreleased/samples/implementation-sample-async/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor
deleted file mode 100644
index 00d0306..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor
+++ /dev/null
@@ -1,21 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# Implementation class for the artifact processor extension
-sample.impl.SampleImplementationProcessor;qname=http://tuscany.apache.org/xmlns/sca/1.1#implementation.sample,model=sample.impl.SampleImplementation
-sampleasync.impl.SampleAsyncImplementationProcessor;qname=http://tuscany.apache.org/xmlns/sca/1.1#implementation.sampleasync,model=sampleasync.impl.SampleAsyncImplementation
-
diff --git a/unreleased/samples/implementation-sample-async/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.ValidationSchema b/unreleased/samples/implementation-sample-async/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.ValidationSchema
deleted file mode 100644
index 42e61c9..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.ValidationSchema
+++ /dev/null
@@ -1,19 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-sample/impl/sample.xsd
-sampleasync/impl/sampleasync.xsd
diff --git a/unreleased/samples/implementation-sample-async/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.ImplementationProviderFactory b/unreleased/samples/implementation-sample-async/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.ImplementationProviderFactory
deleted file mode 100644
index 4eeecb7..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/resources/META-INF/services/org.apache.tuscany.sca.provider.ImplementationProviderFactory
+++ /dev/null
@@ -1,21 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# Implementation provider for Sample components
-sample.impl.SampleProviderFactory;model=sample.impl.SampleImplementation
-sampleasync.impl.SampleAsyncProviderFactory;model=sampleasync.impl.SampleAsyncImplementation
-
diff --git a/unreleased/samples/implementation-sample-async/src/main/resources/sample/impl/sample.xsd b/unreleased/samples/implementation-sample-async/src/main/resources/sample/impl/sample.xsd
deleted file mode 100644
index c057aef..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/resources/sample/impl/sample.xsd
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<schema xmlns="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://tuscany.apache.org/xmlns/sca/1.1"
- xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1"
- elementFormDefault="qualified">
-
- <import namespace="http://docs.oasis-open.org/ns/opencsa/sca/200912"/>
-
- <element name="implementation.sample" type="t:SampleImplementation" substitutionGroup="sca:implementation"/>
-
- <complexType name="SampleImplementation">
- <complexContent>
- <extension base="sca:Implementation">
- <attribute name="class" type="string" use="required"/>
- </extension>
- </complexContent>
- </complexType>
-
-</schema>
diff --git a/unreleased/samples/implementation-sample-async/src/main/resources/sampleasync/impl/definitions.xml b/unreleased/samples/implementation-sample-async/src/main/resources/sampleasync/impl/definitions.xml
deleted file mode 100644
index 96a1a6f..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/resources/sampleasync/impl/definitions.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-
-<!-- $Rev: 889531 $ $Date: 2009-12-11 08:26:48 +0000 (Fri, 11 Dec 2009) $ -->
-
-<sca:definitions xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- targetNamespace="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1">
-
- <sca:implementationType type="tuscany:implementation.sampleasync" mayProvide="sca:asyncInvocation" alwaysProvides=""/>
-
- </sca:definitions>
diff --git a/unreleased/samples/implementation-sample-async/src/main/resources/sampleasync/impl/sampleasync.xsd b/unreleased/samples/implementation-sample-async/src/main/resources/sampleasync/impl/sampleasync.xsd
deleted file mode 100644
index ff70fd6..0000000
--- a/unreleased/samples/implementation-sample-async/src/main/resources/sampleasync/impl/sampleasync.xsd
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<schema xmlns="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://tuscany.apache.org/xmlns/sca/1.1"
- xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1"
- elementFormDefault="qualified">
-
- <import namespace="http://docs.oasis-open.org/ns/opencsa/sca/200912"/>
-
- <element name="implementation.sampleasync" type="t:SampleAsyncImplementation" substitutionGroup="sca:implementation"/>
-
- <complexType name="SampleAsyncImplementation">
- <complexContent>
- <extension base="sca:Implementation">
- <attribute name="class" type="string" use="required"/>
- </extension>
- </complexContent>
- </complexType>
-
-</schema>
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sample/Client.java b/unreleased/samples/implementation-sample-async/src/test/java/sample/Client.java
deleted file mode 100644
index 1b7e11c..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sample/Client.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-/**
- * Sample service interface.
- *
- * @version $Rev$ $Date$
- */
-@Remotable
-public interface Client {
-
- String jello(String s);
-
- String wello(String s);
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sample/ClientTest.java b/unreleased/samples/implementation-sample-async/src/test/java/sample/ClientTest.java
deleted file mode 100644
index 92291c9..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sample/ClientTest.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample;
-
-import static java.lang.System.out;
-import static sample.Xutil.elem;
-import static sample.Xutil.elems;
-import static sample.Xutil.print;
-import static sample.Xutil.select;
-import static sample.Xutil.text;
-import static sample.Xutil.xdom;
-import static sample.Xutil.xfilter;
-import static sample.Xutil.xreduce;
-
-import org.w3c.dom.Element;
-
-import sample.api.Java;
-import sample.api.WSDL;
-import sample.api.WSDLReference;
-
-/**
- * Sample component implementation that uses a mix of Java and WSDL interfaces.
- *
- * @version $Rev$ $Date$
- */
-@Java(Client.class)
-public class ClientTest {
-
- @Java(Hello.class)
- Hello jello;
-
- @WSDL("http://sample/hello#Hello")
- WSDLReference wello;
-
- public String jello(String s) {
- out.println("ClientTest.jello(" + s + ")");
- return jello.hello(s);
- }
-
- public String wello(String s) {
- out.println("ClientTest.wello(" + s + ")");
- final Element hreq = xdom("http://sample/hello", "hello", elem("name", text(s)));
-
- final Element hres = wello.call("hello", hreq);
-
- return xreduce(print, "", xfilter(select("result"), elems(hres)));
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sample/Hello.java b/unreleased/samples/implementation-sample-async/src/test/java/sample/Hello.java
deleted file mode 100644
index 247fc8a..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sample/Hello.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-/**
- * Sample service interface.
- *
- * @version $Rev$ $Date$
- */
-@Remotable
-public interface Hello {
-
- String hello(String s);
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sample/JelloTest.java b/unreleased/samples/implementation-sample-async/src/test/java/sample/JelloTest.java
deleted file mode 100644
index 5c999a6..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sample/JelloTest.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample;
-
-import static java.lang.System.out;
-import sample.api.Java;
-
-/**
- * Sample component implementation that uses Java interfaces.
- *
- * @version $Rev$ $Date$
- */
-@Java(Hello.class)
-public class JelloTest {
-
- @Java(Upper.class)
- Upper upper;
-
- public String hello(String s) {
- out.println("JelloTest.hello(" + s + ")");
- return upper.upper("Hello " + s);
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sample/Upper.java b/unreleased/samples/implementation-sample-async/src/test/java/sample/Upper.java
deleted file mode 100644
index 9c772b3..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sample/Upper.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-/**
- * Sample service interface.
- *
- * @version $Rev$ $Date$
- */
-@Remotable
-public interface Upper {
-
- String upper(String s);
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sample/UpperTest.java b/unreleased/samples/implementation-sample-async/src/test/java/sample/UpperTest.java
deleted file mode 100644
index 5399e44..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sample/UpperTest.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample;
-
-import static java.lang.System.out;
-import sample.api.Java;
-
-/**
- * Sample component implementation that uses Java interfaces.
- *
- * @version $Rev$ $Date$
- */
-@Java(Upper.class)
-public class UpperTest {
-
- public String upper(String s) {
- out.println("UpperTest.upper(" + s + ")");
- return s.toUpperCase();
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sample/WelloTest.java b/unreleased/samples/implementation-sample-async/src/test/java/sample/WelloTest.java
deleted file mode 100644
index 1bb9fc1..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sample/WelloTest.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample;
-
-import static java.lang.System.out;
-import static sample.Xutil.elem;
-import static sample.Xutil.elems;
-import static sample.Xutil.print;
-import static sample.Xutil.select;
-import static sample.Xutil.text;
-import static sample.Xutil.xdom;
-import static sample.Xutil.xfilter;
-import static sample.Xutil.xml;
-import static sample.Xutil.xreduce;
-
-import org.w3c.dom.Element;
-
-import sample.api.WSDL;
-import sample.api.WSDLReference;
-
-/**
- * Sample component implementation that uses WSDL interfaces.
- *
- * @version $Rev$ $Date$
- */
-@WSDL("http://sample/hello#Hello")
-public class WelloTest {
-
- @WSDL("http://sample/upper#Upper")
- WSDLReference upper;
-
- public Element call(String op, Element e) {
- out.println("WelloTest." + op + "(" + xml(e) + ")");
- final String name = xreduce(print, "", xfilter(select("name"), elems(e)));
-
- final Element ureq = xdom("http://sample/upper", "upper", elem("s", text("Hello " + name)));
- final Element ures = upper.call("upper", ureq);
-
- final String s = xreduce(print, "", xfilter(select("result"), elems(ures)));
- return xdom("http://sample/hello", "helloResponse", elem("result", text(s)));
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sample/Xutil.java b/unreleased/samples/implementation-sample-async/src/test/java/sample/Xutil.java
deleted file mode 100644
index 264ce7f..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sample/Xutil.java
+++ /dev/null
@@ -1,225 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample;
-
-import java.io.StringWriter;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.xpath.XPath;
-import javax.xml.xpath.XPathConstants;
-import javax.xml.xpath.XPathExpressionException;
-import javax.xml.xpath.XPathFactory;
-
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-/**
- * Just for fun, a little bit of magic code and utility functions to help work with XML DOM.
- */
-public class Xutil {
- public interface NodeBuilder {
- Node build(Document doc);
- }
-
- /**
- * Convert a name and a list of children to a document element.
- */
- public static Element xdom(String ns, String name, final NodeBuilder... nodes) {
- return (Element)elem(ns, name, nodes).build(db.newDocument());
- }
-
- /**
- * Convert a name and children to an element.
- */
- public static NodeBuilder elem(final String uri, final String n, final NodeBuilder... nodes) {
- return new NodeBuilder() {
- public Node build(Document doc) {
- final Element e = doc.createElementNS(uri, n);
- for(final NodeBuilder n: nodes)
- e.appendChild(n.build(doc));
- return e;
- }
- };
- }
-
- public static NodeBuilder elem(final String n, final NodeBuilder... nodes) {
- return elem(null, n, nodes);
- }
-
- /**
- * Convert a string to a text element.
- */
- public static NodeBuilder text(final String t) {
- return new NodeBuilder() {
- public Node build(final Document doc) {
- return doc.createTextNode(t);
- }
- };
- }
-
- private final static DocumentBuilder db = db();
-
- private static DocumentBuilder db() {
- try {
- return DocumentBuilderFactory.newInstance().newDocumentBuilder();
- } catch(ParserConfigurationException e) {
- throw new RuntimeException(e);
- }
- }
-
- /**
- * Convert an element to XML.
- */
- static TransformerFactory trf = TransformerFactory.newInstance();
-
- public static String xml(final Node node) {
- try {
- final StreamResult r = new StreamResult(new StringWriter());
- trf.newTransformer().transform(new DOMSource(node), r);
- return r.getWriter().toString();
- } catch(TransformerException e) {
- throw new RuntimeException(e);
- }
- }
-
- /**
- * Evaluate an xpath expression.
- */
- private static XPathFactory xpf = XPathFactory.newInstance();
-
- public static String xpath(final String expr, final Node node) {
- final XPath xp = xpf.newXPath();
- try {
- return (String)xp.evaluate(expr, node, XPathConstants.STRING);
- } catch(XPathExpressionException e) {
- throw new RuntimeException(e);
- }
- }
-
- /**
- * A pure Java FP-style alternative to xpath for DOM.
- */
- interface Mapper<T> {
- T map(final Element e);
- }
-
- static Mapper<Element> identity = new Mapper<Element>() {
- public Element map(Element e) {
- return e;
- };
- };
-
- interface Reducer<T> {
- T reduce(final T accum, final Element e);
- }
-
- public static Reducer<String> print = new Reducer<String>() {
- public String reduce(String accum, Element e) {
- return accum + e.getTextContent();
- }
- };
-
- /**
- * Apply a mapper to a list of elements.
- */
- public static <T> List<T> xmap(final Mapper<T> f, final Iterable<Element> l) {
- final List<T> v = new ArrayList<T>();
- for(Element e: l)
- v.add(f.map(e));
- return v;
- }
-
- /**
- * Apply a filter to a list of elements.
- */
- public static List<Element> xfilter(final Mapper<Boolean> f, final Iterable<Element> l) {
- final List<Element> v = new ArrayList<Element>();
- for(Element e: l)
- if(f.map(e))
- v.add(e);
- return v;
- }
-
- /**
- * Perform a reduction over a list of elements.
- */
- public static <T> T xreduce(final Reducer<T> f, final T initial, final Iterable<Element> l) {
- T accum = initial;
- for(Element e: l)
- accum = f.reduce(accum, e);
- return accum;
- }
-
- /**
- * Return a filter that selects elements by name.
- */
- public static Mapper<Boolean> select(final String name) {
- return new Mapper<Boolean>() {
- public Boolean map(Element e) {
- return name.equals(e.getLocalName());
- }
- };
- }
-
- /**
- * Return the child elements of a node.
- */
- public static Iterable<Element> elems(final Node parent) {
- final List<Element> l = new ArrayList<Element>();
- for (Node n: children(parent))
- if (n instanceof Element)
- l.add((Element)n);
- return l;
- }
-
- /**
- * An iterable over the children of a node.
- */
- private static Iterable<Node> children(Node parent) {
- final NodeList l = parent.getChildNodes();
- final int n = l.getLength();
- return new Iterable<Node>() {
- public Iterator<Node> iterator() {
- return new Iterator<Node>() {
- int i = 0;
- public boolean hasNext() {
- return i < n;
- }
- public Node next() {
- return l.item(i++);
- }
- public void remove() {
- }
- };
- }
- };
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sample/impl/EmbedTestCase.java b/unreleased/samples/implementation-sample-async/src/test/java/sample/impl/EmbedTestCase.java
deleted file mode 100644
index 292aa9c..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sample/impl/EmbedTestCase.java
+++ /dev/null
@@ -1,153 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample.impl;
-
-import static java.lang.System.out;
-import static org.junit.Assert.assertEquals;
-import static sample.impl.EmbedUtil.build;
-import static sample.impl.EmbedUtil.component;
-import static sample.impl.EmbedUtil.composite;
-import static sample.impl.EmbedUtil.contrib;
-import static sample.impl.EmbedUtil.deploy;
-import static sample.impl.EmbedUtil.embedContext;
-import static sample.impl.EmbedUtil.extensionPoints;
-import static sample.impl.EmbedUtil.implementation;
-import static sample.impl.EmbedUtil.node;
-import static sample.impl.EmbedUtil.providerFactories;
-import static sample.impl.EmbedUtil.reference;
-import static sample.impl.EmbedUtil.service;
-import static sample.impl.EmbedUtil.wsdli;
-import static sample.impl.TestUtil.here;
-
-import org.apache.tuscany.sca.assembly.Composite;
-import org.apache.tuscany.sca.contribution.Contribution;
-import org.apache.tuscany.sca.interfacedef.wsdl.WSDLInterface;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-import org.apache.tuscany.sca.provider.ImplementationProvider;
-import org.apache.tuscany.sca.provider.ProviderFactory;
-import org.apache.tuscany.sca.runtime.RuntimeComponent;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Ignore;
-import org.junit.Test;
-
-import sample.Client;
-import sample.ClientTest;
-import sample.Hello;
-import sample.JelloTest;
-import sample.Upper;
-import sample.UpperTest;
-import sample.WelloTest;
-
-/**
- * Test how to assemble a contribution, a SCDL composite and run it on an embedded
- * Tuscany runtime node. Also shows how pass in a ProviderFactory instead of having
- * it loaded and constructed by the runtime node.
- *
- * @version $Rev$ $Date$
- */
-@Ignore
-public class EmbedTestCase {
- static NodeFactory nf;
- static EmbedUtil.Context ec;
- static Node node;
-
- @SuppressWarnings("unchecked")
- @BeforeClass
- public static void setUp() throws Exception {
- nf = NodeFactory.newInstance();
- ec = embedContext(nf);
-
- // Load the test WSDL definitions (could also construct the WSDL
- // and XSD models in code but that'd be quite painful, so just
- // load them from XML for now)
- final Contribution contrib = build(contrib("test", here()), ec);
- WSDLInterface Hello_wsdl = build(wsdli("Hello.wsdl", "http://sample/hello", "Hello", contrib), ec);
- WSDLInterface Upper_wsdl = build(wsdli("Upper.wsdl", "http://sample/upper", "Upper", contrib), ec);
-
- // Assemble a test composite model (see EmbedUtil
- // for the little DSL used here, much more concise
- // than using the assembly model interfaces)
- final Composite comp =
- build(composite("http://sample", "test",
- component("client-test",
- implementation(ClientTest.class,
- service(Client.class),
- reference("jello", Hello.class),
- reference("wello", Hello_wsdl)),
- reference("jello", "jello-test"),
- reference("wello", "wello-test")),
- component("wello-test",
- implementation(WelloTest.class,
- service(Hello_wsdl),
- reference("upper", Upper_wsdl)),
- reference("upper", "upper-test")),
- component("jello-test",
- implementation(JelloTest.class,
- service(Hello.class),
- reference("upper", Upper.class)),
- reference("upper", "upper-test")),
- component("upper-test",
- implementation(UpperTest.class,
- service(Upper.class)))), ec);
-
- // Register a test instance of our sample implementation ProviderFactory
- providerFactories(ec).addProviderFactory(testProviderFactory());
-
- // Run with it
- node = node(nf, deploy(contrib, comp));
- node.start();
- }
-
- static ProviderFactory<SampleImplementation> testProviderFactory() {
- // This shows how to get called when a provider is created
- return new SampleProviderFactory(extensionPoints(ec)) {
- public ImplementationProvider createImplementationProvider(RuntimeComponent comp, SampleImplementation impl) {
- out.println("Creating a provider for component " + comp.getName());
- return super.createImplementationProvider(comp, impl);
- }};
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- node.stop();
- }
-
- @Test
- public void jello() {
- out.println("RunTestCase.jello");
- final String r = client().jello("Java");
- out.println(r);
- assertEquals("HELLO JAVA", r);
- }
-
- @Test
- public void wello() {
- out.println("RunTestCase.wello");
- final String r = client().wello("WSDL");
- out.println(r);
- assertEquals("HELLO WSDL", r);
- }
-
- static Client client() {
- return node.getService(Client.class, "client-test/Client");
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sample/impl/ReadWriteTestCase.java b/unreleased/samples/implementation-sample-async/src/test/java/sample/impl/ReadWriteTestCase.java
deleted file mode 100644
index 115ceff..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sample/impl/ReadWriteTestCase.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample.impl;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-import static sample.impl.TestUtil.here;
-
-import java.io.ByteArrayOutputStream;
-import java.io.InputStream;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-
-import org.apache.tuscany.sca.assembly.Composite;
-import org.apache.tuscany.sca.contribution.Contribution;
-import org.apache.tuscany.sca.contribution.DefaultContributionFactory;
-import org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint;
-import org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor;
-import org.apache.tuscany.sca.contribution.processor.ProcessorContext;
-import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor;
-import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessorExtensionPoint;
-import org.apache.tuscany.sca.core.DefaultExtensionPointRegistry;
-import org.junit.BeforeClass;
-import org.junit.Ignore;
-import org.junit.Test;
-
-/**
- * Test read/write Sample SCDL implementation elements.
- *
- * @version $Rev$ $Date$
- */
-@Ignore
-public class ReadWriteTestCase {
- static XMLInputFactory xif;
- static XMLOutputFactory xof;
- static StAXArtifactProcessor<Object> xproc;
- static ProcessorContext ctx;
-
- @BeforeClass
- public static void setUp() throws Exception {
- final DefaultExtensionPointRegistry ep = new DefaultExtensionPointRegistry();
- final Contribution contrib = new DefaultContributionFactory().createContribution();
- contrib.setLocation(here());
- ctx = new ProcessorContext(contrib, null);
- xif = XMLInputFactory.newInstance();
- xof = XMLOutputFactory.newInstance();
- final StAXArtifactProcessorExtensionPoint xpep = new DefaultStAXArtifactProcessorExtensionPoint(ep);
- xproc = new ExtensibleStAXArtifactProcessor(xpep, xif, xof);
- }
-
- @Test
- public void testRead() throws Exception {
- final InputStream is = getClass().getClassLoader().getResourceAsStream("test.composite");
- final Composite c = (Composite)xproc.read(xif.createXMLStreamReader(is), ctx);
- assertNotNull(c);
- assertEquals("sample.ClientTest", ((SampleImplementation)c.getComponents().get(0).getImplementation()).name);
- }
-
- @Test
- public void testReadWrite() throws Exception {
- final InputStream is = getClass().getClassLoader().getResourceAsStream("test.composite");
- final Composite c = (Composite)xproc.read(xif.createXMLStreamReader(is), ctx);
- final ByteArrayOutputStream bos = new ByteArrayOutputStream();
- xproc.write(c, xof.createXMLStreamWriter(bos), ctx);
- assertTrue(bos.toString().contains("class=\"sample.WelloTest\""));
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sample/impl/RunTestCase.java b/unreleased/samples/implementation-sample-async/src/test/java/sample/impl/RunTestCase.java
deleted file mode 100644
index 38cc558..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sample/impl/RunTestCase.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample.impl;
-
-import static java.lang.System.out;
-import static org.junit.Assert.assertEquals;
-import static sample.impl.TestUtil.here;
-
-import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Ignore;
-import org.junit.Test;
-
-import sample.Client;
-
-/**
- * Test how to run an SCA contribution containing a test composite on a
- * Tuscany runtime node.
- *
- * @version $Rev$ $Date$
- */
-@Ignore
-public class RunTestCase {
- static Node node;
-
- @BeforeClass
- public static void setUp() throws Exception {
- final NodeFactory nf = NodeFactory.newInstance();
- node = nf.createNode(new Contribution("test", here()));
- node.start();
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- node.stop();
- }
-
- @Test
- public void jello() {
- out.println("RunTestCase.jello");
- final String r = client().jello("Java");
- out.println(r);
- assertEquals("HELLO JAVA", r);
- }
-
- @Test
- public void wello() {
- out.println("RunTestCase.wello");
- final String r = client().wello("WSDL");
- out.println(r);
- assertEquals("HELLO WSDL", r);
- }
-
- static Client client() {
- return node.getService(Client.class, "client-test/Client");
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sample/impl/RunWSTestCase.java b/unreleased/samples/implementation-sample-async/src/test/java/sample/impl/RunWSTestCase.java
deleted file mode 100644
index 9eef998..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sample/impl/RunWSTestCase.java
+++ /dev/null
@@ -1,122 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample.impl;
-
-import static java.lang.System.out;
-import static org.junit.Assert.assertTrue;
-import static sample.impl.TestUtil.here;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.OutputStream;
-import java.io.OutputStreamWriter;
-import java.net.Socket;
-
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServlet;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import org.apache.tuscany.sca.core.ExtensionPointRegistry;
-import org.apache.tuscany.sca.http.jetty.JettyServer;
-import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Ignore;
-import org.junit.Test;
-
-/**
- * Test a component that provides and consumes SOAP Web services.
- *
- * @version $Rev$ $Date$
- */
-@Ignore
-public class RunWSTestCase {
- static Node node;
- static JettyServer jetty;
-
- @BeforeClass
- public static void setUp() throws Exception {
- // Start test composite on a Tuscany node
- final NodeFactory nf = NodeFactory.newInstance();
- node = nf.createNode(new Contribution("test", here()));
- node.start();
-
- // Mock up a test Web service on http://localhost:8086/wsupper
- jetty = new JettyServer((ExtensionPointRegistry)nf.getExtensionPointRegistry());
- jetty.start();
- jetty.addServletMapping("http://localhost:8086/wsupper", new HttpServlet() {
- private static final long serialVersionUID = 1L;
- protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
- assertTrue(read(req.getInputStream()).contains("Hello SOAP"));
- final String soapresp =
- "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\">" +
- "<soapenv:Body><upperResponse xmlns=\"http://sample/upper\">" +
- "<result xmlns=\"\">HELLO SOAP</result>" +
- "</upperResponse></soapenv:Body></soapenv:Envelope>";
-
- write(soapresp, resp.getOutputStream());
- }
- });
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- jetty.stop();
- node.stop();
- }
-
- @Test
- public void wsello() throws Exception {
- out.println("RunWSTestCase.wsello");
- // Send a SOAP request to the Web service provided by SCA component wsello-test
- // on http://localhost:8085/wsello
- final Socket s = new Socket("localhost", 8085);
- final String soapreq =
- "POST /wsello HTTP/1.0\r\n" +
- "Content-Type: text/xml; charset=UTF-8\r\n" +
- "Content-length: 231\r\n\r\n" +
- "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\">" +
- "<soapenv:Body><hello xmlns=\"http://sample/hello\">" +
- "<name xmlns=\"\">SOAP</name>" +
- "</hello></soapenv:Body></soapenv:Envelope>";
- write(soapreq, s.getOutputStream());
- assertTrue(read(s.getInputStream()).contains("HELLO SOAP"));
- }
-
- static void write(final String s, final OutputStream o) throws IOException {
- final OutputStreamWriter w = new OutputStreamWriter(o);
- w.write(s);
- w.flush();
- }
-
- static String read(final InputStream i) throws IOException {
- return read(new BufferedReader(new InputStreamReader(i)));
- }
-
- static String read(final BufferedReader r) throws IOException {
- final String s = r.readLine();
- return s == null? "" : s + read(r);
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sample/impl/TestUtil.java b/unreleased/samples/implementation-sample-async/src/test/java/sample/impl/TestUtil.java
deleted file mode 100644
index 6dcfb33..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sample/impl/TestUtil.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sample.impl;
-
-/**
- * A hack to determine the test contribution location.
- */
-public class TestUtil {
-
- static String here() {
- return TestUtil.class.getProtectionDomain().getCodeSource().getLocation().toString();
- }
-
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/Upper.java b/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/Upper.java
deleted file mode 100644
index 0c29cea..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/Upper.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sampleasync;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-/**
- * Sample service interface.
- *
- * @version $Rev$ $Date$
- */
-@Remotable
-public interface Upper {
-
- String upper(String s);
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/UpperAsyncReference.java b/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/UpperAsyncReference.java
deleted file mode 100644
index ad2e62f..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/UpperAsyncReference.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sampleasync;
-
-import java.util.concurrent.Future;
-
-import javax.xml.ws.AsyncHandler;
-import javax.xml.ws.Response;
-
-import org.oasisopen.sca.annotation.AsyncInvocation;
-import org.oasisopen.sca.annotation.Remotable;
-
-/**
- * Sample service interface.
- *
- * @version $Rev$ $Date$
- */
-@Remotable
-@AsyncInvocation
-public interface UpperAsyncReference {
-
- // Sync
- String upper(String s);
-
- // Aysnc Poll
- public Response<String> upperAsync(String s);
-
- // Async Callback
- public Future<String> upperAsync(String s, AsyncHandler<String> handler);
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/UpperAsyncService.java b/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/UpperAsyncService.java
deleted file mode 100644
index cb4a1c0..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/UpperAsyncService.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sampleasync;
-
-import org.oasisopen.sca.ResponseDispatch;
-import org.oasisopen.sca.annotation.AsyncInvocation;
-import org.oasisopen.sca.annotation.Remotable;
-
-/**
- * Sample service interface.
- *
- * @version $Rev$ $Date$
- */
-@Remotable
-@AsyncInvocation
-public interface UpperAsyncService {
-
- void upperAsync(String s,ResponseDispatch<String> response);
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/SampleGenericAsyncTestCase.java b/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/SampleGenericAsyncTestCase.java
deleted file mode 100644
index 36fdb76..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/SampleGenericAsyncTestCase.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sampleasync.impl;
-
-import static org.junit.Assert.assertEquals;
-
-import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-import sampleasync.Upper;
-
-/**
- * Test how to run an SCA contribution containing a test composite on a
- * Tuscany runtime node.
- *
- * @version $Rev$ $Date$
- */
-public class SampleGenericAsyncTestCase {
- static Node node;
-
- @BeforeClass
- public static void setUp() throws Exception {
- final NodeFactory nf = NodeFactory.newInstance();
- String here = SampleGenericAsyncTestCase.class.getProtectionDomain().getCodeSource().getLocation().toString();
- node = nf.createNode(new Contribution("test", here));
- node.start();
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- node.stop();
- }
-
- @Test
- public void testReference() {
- System.out.println("SampleAsyncReferenceTestCase.testReference");
- Upper upper = node.getService(Upper.class, "SampleAsyncReference");
- final String r = upper.upper("async");
- System.out.println(r);
- assertEquals("ASYNC", r);
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/SampleNativeAsyncTestCase.java b/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/SampleNativeAsyncTestCase.java
deleted file mode 100644
index bc35a63..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/SampleNativeAsyncTestCase.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sampleasync.impl;
-
-import static org.junit.Assert.assertEquals;
-
-import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-import sampleasync.Upper;
-
-/**
- * Test how to run an SCA contribution containing a test composite on a
- * Tuscany runtime node.
- *
- * @version $Rev$ $Date$
- */
-public class SampleNativeAsyncTestCase {
- static Node node;
-
- @BeforeClass
- public static void setUp() throws Exception {
- final NodeFactory nf = NodeFactory.newInstance();
- String here = SampleNativeAsyncTestCase.class.getProtectionDomain().getCodeSource().getLocation().toString();
- node = nf.createNode(new Contribution("test", here));
- node.start();
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- node.stop();
- }
-
- @Test
- public void testReference() {
- System.out.println("SampleNaiveAsyncTestCase.testReference");
- Upper upper = node.getService(Upper.class, "SampleNativeAsyncReference");
- final String r = upper.upper("async");
- System.out.println(r);
- assertEquals("ASYNC", r);
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/UpperJavaAsyncReferenceImpl.java b/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/UpperJavaAsyncReferenceImpl.java
deleted file mode 100644
index 9cf7ff9..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/UpperJavaAsyncReferenceImpl.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sampleasync.impl;
-
-import static java.lang.System.out;
-
-import java.util.concurrent.ExecutionException;
-
-import javax.xml.ws.Response;
-
-import org.oasisopen.sca.annotation.Reference;
-
-import sampleasync.Upper;
-import sampleasync.UpperAsyncReference;
-
-/**
- * Sample service interface.
- *
- * @version $Rev$ $Date$
- */
-public class UpperJavaAsyncReferenceImpl implements Upper {
-
- @Reference
- UpperAsyncReference upper;
-
- public String upper(String s) {
- out.println("UpperAsyncReferenceImpl.upper(" + s + ")");
-
- // async poll
- Response<String> response = upper.upperAsync(s);
-
- while (!response.isDone()){
- System.out.println("Waiting for poll");
- try {
- Thread.sleep(500);
- } catch (Exception ex) {
- // do nothing
- }
- }
-
- String result = null;
-
- try {
- result = response.get();
- System.out.println("Async client poll patern: result = " + result);
- } catch (InterruptedException e) {
- e.printStackTrace();
- } catch (ExecutionException e) {
- e.printStackTrace();
- }
- return result;
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/UpperJavaAsyncServiceImpl.java b/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/UpperJavaAsyncServiceImpl.java
deleted file mode 100644
index fb9ad06..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/UpperJavaAsyncServiceImpl.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sampleasync.impl;
-
-import static java.lang.System.out;
-
-import org.oasisopen.sca.ResponseDispatch;
-
-import sampleasync.UpperAsyncService;
-
-/**
- * Sample component implementation that uses Java interfaces.
- *
- * @version $Rev$ $Date$
- */
-public class UpperJavaAsyncServiceImpl implements UpperAsyncService {
-
- public void upperAsync(String s,ResponseDispatch<String> response) {
- out.println("UpperJavaAsyncServiceImpl.upperAsync(" + s + ")");
- response.sendResponse(s.toUpperCase());
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/UpperSampleAsyncReferenceImpl.java b/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/UpperSampleAsyncReferenceImpl.java
deleted file mode 100644
index 101c6a4..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/UpperSampleAsyncReferenceImpl.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sampleasync.impl;
-
-import static java.lang.System.out;
-import static sample.Xutil.elem;
-import static sample.Xutil.text;
-import static sample.Xutil.xdom;
-
-import org.w3c.dom.Element;
-
-import sample.api.Java;
-import sample.api.WSDL;
-import sample.api.WSDLReference;
-import sampleasync.Upper;
-
-/**
- * Sample component implementation that uses Java interfaces.
- *
- * @version $Rev$ $Date$
- */
-@Java(Upper.class)
-public class UpperSampleAsyncReferenceImpl {
-
- @WSDL("http://sample/upper#Upper")
- WSDLReference upper;
- Element response;
-
- public String upper(String s) {
- out.println("UpperSampleAsyncReferenceImpl.upper(" + s + ")");
-
- // TODO - I'm passing in the non-wrapped version of the parameter
- // here which doesn't seem right. If I pass in the wrapped
- // version then the databinding won't unwrap on the reference
- // side as it thinks the target Java interface is bare?
- final Element ureq = xdom("http://sample/upper", "s", text(s));
- upper.callAsync("upper", ureq);
-
- try {
- Thread.sleep(500);
- } catch (Exception ex) {
- // do nothing
- }
-
- return response.getTextContent();
- }
-
- /**
- * In this implementation the convention is that the
- * async callback arrives at an operation named
- * operationName + Callback
- */
- public void upperCallback(Element response) {
- out.println("UpperSampleAsyncReferenceImpl.upperCallback(" + response.getTextContent() + ")");
- this.response = response;
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/UpperSampleAsyncServiceImpl.java b/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/UpperSampleAsyncServiceImpl.java
deleted file mode 100644
index 41a85e4..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/java/sampleasync/impl/UpperSampleAsyncServiceImpl.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package sampleasync.impl;
-
-import static java.lang.System.out;
-import static sample.Xutil.elem;
-import static sample.Xutil.text;
-import static sample.Xutil.xdom;
-
-import org.w3c.dom.Element;
-
-import sample.api.WSDL;
-
-/**
- * Sample component implementation that uses Java interfaces.
- *
- * @version $Rev$ $Date$
- */
-@WSDL("http://sample/upper#Upper")
-public class UpperSampleAsyncServiceImpl {
-
- public Element call(String op, Element e) {
- String input = e.getTextContent();
- out.println("UpperSampleAsyncServiceImpl.upper(" + input + ")");
- String output = input.toUpperCase();
- return xdom("http://sample/upper", "upperResponse", elem("result", text(output)));
- }
-}
diff --git a/unreleased/samples/implementation-sample-async/src/test/resources/Hello.wsdl b/unreleased/samples/implementation-sample-async/src/test/resources/Hello.wsdl
deleted file mode 100644
index 360cea5..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/resources/Hello.wsdl
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<wsdl:definitions targetNamespace="http://sample/hello" xmlns:tns="http://sample/hello"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- name="Hello">
-
- <wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="http://sample/hello"
- xmlns="http://www.w3.org/2001/XMLSchema">
- <element name="hello">
- <complexType>
- <sequence>
- <element name="name" type="xsd:string" />
- </sequence>
- </complexType>
- </element>
-
- <element name="helloResponse">
- <complexType>
- <sequence>
- <element name="result" type="xsd:string" />
- </sequence>
- </complexType>
- </element>
-
- </schema>
- </wsdl:types>
-
- <wsdl:message name="helloRequest">
- <wsdl:part element="tns:hello" name="parameters" />
- </wsdl:message>
-
- <wsdl:message name="helloResponse">
- <wsdl:part element="tns:helloResponse" name="parameters" />
- </wsdl:message>
-
- <wsdl:portType name="Hello">
- <wsdl:operation name="hello">
- <wsdl:input message="tns:helloRequest" name="helloRequest" />
- <wsdl:output message="tns:helloResponse" name="helloResponse" />
- </wsdl:operation>
- </wsdl:portType>
-
-</wsdl:definitions>
diff --git a/unreleased/samples/implementation-sample-async/src/test/resources/Upper.wsdl b/unreleased/samples/implementation-sample-async/src/test/resources/Upper.wsdl
deleted file mode 100644
index dc23607..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/resources/Upper.wsdl
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<wsdl:definitions targetNamespace="http://sample/upper" xmlns:tns="http://sample/upper"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- name="Upper">
-
- <wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="http://sample/upper"
- xmlns="http://www.w3.org/2001/XMLSchema">
- <element name="upper">
- <complexType>
- <sequence>
- <element name="s" type="xsd:string" />
- </sequence>
- </complexType>
- </element>
-
- <element name="upperResponse">
- <complexType>
- <sequence>
- <element name="result" type="xsd:string" />
- </sequence>
- </complexType>
- </element>
-
- </schema>
- </wsdl:types>
-
- <wsdl:message name="upperRequest">
- <wsdl:part element="tns:upper" name="parameters" />
- </wsdl:message>
-
- <wsdl:message name="upperResponse">
- <wsdl:part element="tns:upperResponse" name="parameters" />
- </wsdl:message>
-
- <wsdl:portType name="Upper" sca:requires="sca:asyncInvocation">
- <wsdl:operation name="upper">
- <wsdl:input message="tns:upperRequest" name="upperRequest" />
- <wsdl:output message="tns:upperResponse" name="upperResponse" />
- </wsdl:operation>
- </wsdl:portType>
-
-</wsdl:definitions>
diff --git a/unreleased/samples/implementation-sample-async/src/test/resources/test.composite.off b/unreleased/samples/implementation-sample-async/src/test/resources/test.composite.off
deleted file mode 100644
index 1f5b98c0..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/resources/test.composite.off
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://test"
- name="wstest">
-
- <!-- Client test component used by the JUnit tests -->
- <component name="client-test">
- <t:implementation.sample class="sample.ClientTest"/>
- <reference name="wello" target="wello-test"/>
- <reference name="jello" target="jello-test"/>
- </component>
-
- <!-- HelloWorld test component that uses WSDL interfaces -->
- <component name="wello-test">
- <t:implementation.sample class="sample.WelloTest"/>
- <reference name="upper" target="upper-test"/>
- </component>
-
- <!-- HelloWorld test component that uses Java interfaces -->
- <component name="jello-test">
- <t:implementation.sample class="sample.JelloTest"/>
- <reference name="upper" target="upper-test"/>
- </component>
-
- <!-- HelloWorld test component that uses WSDL interfaces and SOAP Web Services -->
- <component name="Wsello-test">
- <t:implementation.sample class="sample.WelloTest"/>
- <service name="Hello">
- <binding.ws uri="http://localhost:8085/wsello"/>
- </service>
- <reference name="upper">
- <binding.ws uri="http://localhost:8086/wsupper"/>
- </reference>
- </component>
-
- <!-- Test component converts a string to uppercase -->
- <component name="upper-test">
- <t:implementation.sample class="sample.UpperTest"/>
- </component>
-
-
-</composite>
diff --git a/unreleased/samples/implementation-sample-async/src/test/resources/testgenericasync.composite b/unreleased/samples/implementation-sample-async/src/test/resources/testgenericasync.composite
deleted file mode 100644
index c289a1a..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/resources/testgenericasync.composite
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://test"
- name="testasync">
-
- <!-- SampleAsync implementation at reference with Java async at service -->
- <component name="SampleAsyncReference">
- <t:implementation.sampleasync class="sampleasync.impl.UpperSampleAsyncReferenceImpl"/>
- <reference name="upper" target="JavaAsyncService"/>
- </component>
-
- <component name="JavaAsyncService">
- <implementation.java class="sampleasync.impl.UpperJavaAsyncServiceImpl"/>
- </component>
-
- <!-- SampleAsync implementation at service with Java async at reference -->
- <component name="JavaAsyncReference">
- <implementation.java class="sampleasync.impl.UpperJavaAsyncReferenceImpl"/>
- <reference name="upper" target="SampleAsyncService"/>
- </component>
-
- <component name="SampleAsyncService">
- <t:implementation.sampleasync class="sampleasync.impl.UpperSampleAsyncServiceImpl"/>
- </component>
-
-</composite>
diff --git a/unreleased/samples/implementation-sample-async/src/test/resources/testnativeasync.composite b/unreleased/samples/implementation-sample-async/src/test/resources/testnativeasync.composite
deleted file mode 100644
index f9c077e..0000000
--- a/unreleased/samples/implementation-sample-async/src/test/resources/testnativeasync.composite
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://test"
- name="testnativeasync">
-
- <!-- SampleAsync implementation at reference with Java async at service -->
- <component name="SampleNativeAsyncReference">
- <t:implementation.sampleasync class="sampleasync.impl.UpperSampleAsyncReferenceImpl"/>
- <reference name="upper" target="SampleAsyncService"/>
- </component>
-
- <component name="SampleNativeAsyncService">
- <t:implementation.sampleasync class="sampleasync.impl.UpperSampleAsyncServiceImpl"/>
- </component>
-
-</composite>
diff --git a/unreleased/samples/jsonp-webapp/pom.xml b/unreleased/samples/jsonp-webapp/pom.xml
deleted file mode 100644
index fb4bd34..0000000
--- a/unreleased/samples/jsonp-webapp/pom.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
-
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>sample-jsonp-webapp</artifactId>
- <packaging>war</packaging>
- <version>1.0</version>
- <name>jsonp-webapp</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-base-runtime-nodep</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-jsonp-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
- <type>jar</type>
- </dependency>
- </dependencies>
-
- <build>
- <finalName>jsonp-webapp</finalName>
- </build>
-</project>
-
diff --git a/unreleased/samples/jsonp-webapp/src/main/java/sample/Location.java b/unreleased/samples/jsonp-webapp/src/main/java/sample/Location.java
deleted file mode 100644
index 1a47edf..0000000
--- a/unreleased/samples/jsonp-webapp/src/main/java/sample/Location.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package sample;
-
-public class Location {
-
- private String city;
- private String country;
- private int altitude;
-
- public String getCity() {
- return city;
- }
-
- public void setCity(String city) {
- this.city = city;
- }
-
- public String getCountry() {
- return country;
- }
-
- public void setCountry(String country) {
- this.country = country;
- }
-
- public int getAltitude() {
- return altitude;
- }
-
- public void setAltitude(int altitude) {
- this.altitude = altitude;
- }
-
-}
diff --git a/unreleased/samples/jsonp-webapp/src/main/java/sample/ShareService.java b/unreleased/samples/jsonp-webapp/src/main/java/sample/ShareService.java
deleted file mode 100644
index 3c79c6c..0000000
--- a/unreleased/samples/jsonp-webapp/src/main/java/sample/ShareService.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package sample;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-@Remotable
-public interface ShareService {
-
- String shareName(String firstName, String lastName);
-
- int shareAge(int age);
-
- Location shareLocation(Location location);
-
-}
diff --git a/unreleased/samples/jsonp-webapp/src/main/java/sample/ShareServiceImpl.java b/unreleased/samples/jsonp-webapp/src/main/java/sample/ShareServiceImpl.java
deleted file mode 100644
index 13bae36..0000000
--- a/unreleased/samples/jsonp-webapp/src/main/java/sample/ShareServiceImpl.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package sample;
-
-import org.oasisopen.sca.annotation.Service;
-
-@Service(ShareService.class)
-public class ShareServiceImpl implements ShareService {
-
- @Override
- public String shareName(String firstName, String lastName) {
- return firstName + " " + lastName;
- }
-
- @Override
- public int shareAge(int age) {
- return age;
- }
-
- @Override
- public Location shareLocation(Location location) {
- return location;
- }
-
-}
diff --git a/unreleased/samples/jsonp-webapp/src/main/webapp/META-INF/MANIFEST.MF b/unreleased/samples/jsonp-webapp/src/main/webapp/META-INF/MANIFEST.MF
deleted file mode 100644
index 58630c0..0000000
--- a/unreleased/samples/jsonp-webapp/src/main/webapp/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,2 +0,0 @@
-Manifest-Version: 1.0
-
diff --git a/unreleased/samples/jsonp-webapp/src/main/webapp/WEB-INF/web.composite b/unreleased/samples/jsonp-webapp/src/main/webapp/WEB-INF/web.composite
deleted file mode 100644
index 515c2db..0000000
--- a/unreleased/samples/jsonp-webapp/src/main/webapp/WEB-INF/web.composite
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://samples"
- name="Stock">
-
- <component name="c">
- <implementation.java class="sample.ShareServiceImpl"/>
- <service name="ShareService">
- <interface.java interface="sample.ShareService"/>
- <tuscany:binding.jsonp/>
- </service>
- </component>
-
-</composite>
\ No newline at end of file
diff --git a/unreleased/samples/jsonp-webapp/src/main/webapp/WEB-INF/web.xml b/unreleased/samples/jsonp-webapp/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 0deec29..0000000
--- a/unreleased/samples/jsonp-webapp/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:j2ee="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_3.0.xsd" version="3.0">
- <display-name>Apache Tuscany JSONP Sample</display-name>
- <filter>
- <filter-name>tuscany</filter-name>
- <filter-class>org.apache.tuscany.sca.host.webapp.TuscanyServletFilter</filter-class>
- <async-supported>true</async-supported>
- </filter>
- <filter-mapping>
- <filter-name>tuscany</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
- <welcome-file-list>
- <welcome-file>index.html</welcome-file>
- </welcome-file-list>
-</web-app>
\ No newline at end of file
diff --git a/unreleased/samples/jsonp-webapp/src/main/webapp/index.html b/unreleased/samples/jsonp-webapp/src/main/webapp/index.html
deleted file mode 100644
index 2a754e4..0000000
--- a/unreleased/samples/jsonp-webapp/src/main/webapp/index.html
+++ /dev/null
@@ -1,104 +0,0 @@
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<html>
- <head>
- <title>Apache Tuscany Comet Sample</title>
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
- <script type="text/javascript" src="http://jquery-json.googlecode.com/svn/trunk/jquery.json.min.js"></script>
- <script type="text/javascript">
- $(document).ready(function() {
- document.getElementById("shareLocationButton").onclick = function(event) {
- var location = {
- city: document.getElementById("city").value,
- country: document.getElementById("country").value,
- altitude: document.getElementById("altitude").value
- };
- $.getJSON("c/ShareService/shareLocation", "location=" + $.toJSON(location), shareLocationCallback);
- }
- });
-
- function shareNameCallback(response) {
- alert("Your name, " + response + ", has been shared.");
- }
-
- function shareAge() {
- document.getElementById("shareAgeForm").submit();
- }
-
- function shareAgeCallback(response) {
- alert("Your age, " + response + ", has been shared.");
- }
-
- function shareLocationCallback(response) {
- alert("Your location, " + response.city + " - " + response.country + " - " + response.altitude + ", has been shared.");
- }
- </script>
- </head>
- <body>
- <h2>Apache Tuscany JSONP Sample</h2>
- <h3>Share Personal Information Webapp</h3>
-
- <form method="GET" action="c/ShareService/shareName">
- <b><label>Share Full Name</label></b>
- <table>
- <tr>
- <td>First Name</td>
- <td><input type="text" name="firstName" value="John"/>
- </tr>
- <tr>
- <td>Last Name</td>
- <td><input type="text" name="lastName" value="Locke"/>
- </tr>
- </table>
- <input type="hidden" name="callback" value="shareNameCallback"/>
- <input type="submit" value="Share"/>
- </form>
-
- <form method="GET" id="shareAgeForm" action="c/ShareService/shareAge">
- <b><label>Share Age</label></b>
- <table>
- <tr>
- <td>Age</td>
- <td><input type="text" name="age" value="54"/>
- </tr>
- </table>
- <input type="hidden" name="callback" value="shareAgeCallback"/>
- <input type="submit" value="Share" onclick="shareAge()"/>
- </form>
-
- <form method="GET" >
- <b><label>Share Location</label></b>
- <table>
- <tr>
- <td>City</td>
- <td><input type="text" name="city" id="city" value="Los Angeles" />
- </tr>
- <tr>
- <td>Country</td>
- <td><input type="text" name="country" id="country" value="USA" />
- </tr>
- <tr>
- <td>Altitude</td>
- <td><input type="text" name="altitude" id="altitude" value="560" />
- </tr>
- </table>
- <input type="button" id="shareLocationButton" value="Share"/>
- </form>
- </body>
-</html>
diff --git a/unreleased/samples/launcher-embedded-jse-spec/README b/unreleased/samples/launcher-embedded-jse-spec/README
deleted file mode 100644
index 7108333..0000000
--- a/unreleased/samples/launcher-embedded-jse-spec/README
+++ /dev/null
@@ -1,20 +0,0 @@
-JSE Sample Launcher
-===================
-
-This directory contains a sample java launcher for the
-tuscany sample contributions.
-
-The README file in the <distribution-unpack-dir>/samples directory provides
-general instructions about building and running sample contributions using the
-tuscany sample launchers ( where distribution-unpack-dir is the directory in which you
-unpacked the tuscany binary distribution archive)
-
-To use this sample JSE launcher with ant excute the command
-
-ant run-<contributionname>
-
-where run-<contributionname> is one of the targets in the build.xml file
-
-To use this sample launcher to run all of the contributions as junit test cases,
-execute the command "mvn" in the launcher directory.
-
diff --git a/unreleased/samples/launcher-embedded-jse-spec/build.xml b/unreleased/samples/launcher-embedded-jse-spec/build.xml
deleted file mode 100644
index 64bad00..0000000
--- a/unreleased/samples/launcher-embedded-jse-spec/build.xml
+++ /dev/null
@@ -1,118 +0,0 @@
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project name="launcher-embedded-jse" default="run">
- <property name="tuscany.home" value="../.."/>
- <property name="jar.name" value="sample-launcher-embedded-jse.jar" />
- <property name="main.class" value="launcher.SampleJSELauncher" />
- <property name="wait.before.stopping" value="dontWaitBeforeStopping" />
-
- <echo>${tuscany.home}</echo>
-
- <target name="init">
- <delete quiet="true" includeemptydirs="true">
- <fileset dir="target"/>
- </delete>
- <mkdir dir="target/classes"/>
- </target>
-
- <target name="compile" depends="init">
- <javac srcdir="src/main/java"
- destdir="target/classes"
- debug="on"
- source="1.5"
- target="1.5"
- failonerror="true">
- <classpath>
- <fileset dir="${tuscany.home}/lib">
- <include name="tuscany-base-*.jar" />
- </fileset>
- </classpath>
- </javac>
- <jar destfile="target/${jar.name}" basedir="target/classes">
- <manifest>
- <attribute name="Main-Class" value="${main.class}" />
- </manifest>
- </jar>
- </target>
-
- <target name="run" depends="compile">
- <echo>Please use 'ant run-name-of-sample-contribution-to-run' for example, try one of</echo>
- <echo> 'ant run-contribution-binding-sca-calculator' </echo>
- <echo> 'ant run-contribution-binding-ws-calculator' </echo>
- <echo> 'ant run-contribution-binding-rmi-calculator' </echo>
- <echo> 'ant run-contribution-implementation-java-calculator' </echo>
- </target>
-
- <target name="run-contribution-binding-sca-calculator" depends="compile">
- <java classname="${main.class}"
- fork="true"
- failonerror="true">
- <classpath>
- <pathelement location="target/${jar.name}"/>
- <fileset dir="${tuscany.home}/features">
- <include name="tuscany-sca-manifest.jar" />
- </fileset>
- </classpath>
- <arg value="contribution-binding-sca-calculator"/>
- <arg value="${wait.before.stopping}"/>
- </java>
- </target>
-
- <target name="run-contribution-binding-ws-calculator" depends="compile">
- <java classname="launcher.JSELauncherBindingWSCalculator"
- fork="true"
- failonerror="true">
- <classpath>
- <pathelement location="target/${jar.name}"/>
- <fileset dir="${tuscany.home}/features">
- <include name="tuscany-sca-manifest.jar" />
- </fileset>
- </classpath>
- </java>
- </target>
-
- <target name="run-contribution-binding-rmi-calculator" depends="compile">
- <java classname="${main.class}"
- fork="true"
- failonerror="true">
- <classpath>
- <pathelement location="target/${jar.name}"/>
- <fileset dir="${tuscany.home}/features">
- <include name="tuscany-sca-manifest.jar" />
- </fileset>
- </classpath>
- <arg value="contribution-binding-rmi-calculator"/>
- </java>
- </target>
-
- <target name="run-contribution-implementation-java-calculator" depends="compile">
- <java classname="${main.class}"
- fork="true"
- failonerror="true">
- <classpath>
- <pathelement location="target/${jar.name}"/>
- <fileset dir="${tuscany.home}/features">
- <include name="tuscany-sca-manifest.jar" />
- </fileset>
- </classpath>
- <arg value="contribution-implementaton-java-calculator"/>
- </java>
- </target>
-
-</project>
diff --git a/unreleased/samples/launcher-embedded-jse-spec/pom.xml b/unreleased/samples/launcher-embedded-jse-spec/pom.xml
deleted file mode 100644
index b1f8e5c..0000000
--- a/unreleased/samples/launcher-embedded-jse-spec/pom.xml
+++ /dev/null
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
- <artifactId>sample-launcher-embedded-jse-spec</artifactId>
- <name>Apache Tuscany SCA Sample Launcher Embedded JSE Spec</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-feature-api</artifactId>
- <type>pom</type>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-feature-core</artifactId>
- <type>pom</type>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-feature-webservice</artifactId>
- <type>pom</type>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-feature-ejava</artifactId>
- <type>pom</type>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-domain-node</artifactId>
- <type>pom</type>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
- <build>
- <finalName>${artifactId}</finalName>
-
- <plugins>
-
- </plugins>
- </build>
-</project>
diff --git a/unreleased/samples/launcher-embedded-jse-spec/src/main/java/calculator/CalculatorService.java b/unreleased/samples/launcher-embedded-jse-spec/src/main/java/calculator/CalculatorService.java
deleted file mode 100644
index 12d80ff..0000000
--- a/unreleased/samples/launcher-embedded-jse-spec/src/main/java/calculator/CalculatorService.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package calculator;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-
-/**
- * The Calculator service interface.
- */
-@Remotable
-public interface CalculatorService {
-
- double add(double n1, double n2);
-
- double subtract(double n1, double n2);
-
- double multiply(double n1, double n2);
-
- double divide(double n1, double n2);
-
-}
diff --git a/unreleased/samples/launcher-embedded-jse-spec/src/main/java/launcher/JSELauncherBindingWSCalculator.java b/unreleased/samples/launcher-embedded-jse-spec/src/main/java/launcher/JSELauncherBindingWSCalculator.java
deleted file mode 100644
index 2f48e27..0000000
--- a/unreleased/samples/launcher-embedded-jse-spec/src/main/java/launcher/JSELauncherBindingWSCalculator.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package launcher;
-
-import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node2.Node;
-import org.apache.tuscany.sca.node2.NodeFactory;
-
-import calculator.CalculatorService;
-
-/**
- * This client program shows how to create an embedded SCA runtime, load a contribution,
- * start it and locate and invoke an SCA component
- */
-public class JSELauncherBindingWSCalculator {
-
- public static void main(String[] args) throws Exception {
- JSELauncherBindingWSCalculator launcher = new JSELauncherBindingWSCalculator();
- launcher.launchBindingWSCalculator();
- }
-
- /*
- * Using the Tuscany Node API to load a contribution.
- * Using the Tuscany Node API to get a local service proxy
- */
- public void launchBindingWSCalculator(){
- NodeFactory nodeFactory = NodeFactory.newInstance();
- Node node = nodeFactory.createNode("MyDomain");
-
- try {
- node.installContribution("../../../samples/contribution-binding-ws-calculator/target/sample-contribution-binding-ws-calculator.jar");
- } catch(Exception ex){
- System.out.println("Exception on installContribution");
- ex.printStackTrace();
- }
-
- //node.start();
-
- CalculatorService calculator = null;
-
- try {
- calculator = node.getService(CalculatorService.class, "CalculatorServiceComponent");
- } catch(Exception ex){
- System.out.println("Exception on getService");
- ex.printStackTrace();
- }
-
- // TODO - could use JUnit assertions but don't want to have to handle JUnit dependency from Ant script
- double result = calculator.add(3, 2);
- System.out.println("3 + 2 = " + result);
- if (result != 5.0){
- throw new SampleLauncherException();
- }
-
- node.stop();
- }
-
-}
diff --git a/unreleased/samples/launcher-embedded-jse-spec/src/main/java/launcher/SampleLauncherException.java b/unreleased/samples/launcher-embedded-jse-spec/src/main/java/launcher/SampleLauncherException.java
deleted file mode 100644
index f2ed3d4..0000000
--- a/unreleased/samples/launcher-embedded-jse-spec/src/main/java/launcher/SampleLauncherException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package launcher;
-
-/**
- * This exception signals problems in the management of SCA component execution.
- */
-public class SampleLauncherException extends RuntimeException {
- /**
- * Constructs a SampleLauncherException with no detail message.
- */
- public SampleLauncherException() {
- super();
- }
-
- /**
- * Constructs a SampleLauncherException with the specified detail
- * message.
- *
- * @param message the detail message
- */
- public SampleLauncherException(String message) {
- super(message);
- }
-
-}
diff --git a/unreleased/samples/launcher-embedded-jse-spec/src/test/java/launcher/LauncherTestCase.java b/unreleased/samples/launcher-embedded-jse-spec/src/test/java/launcher/LauncherTestCase.java
deleted file mode 100644
index 04521d3..0000000
--- a/unreleased/samples/launcher-embedded-jse-spec/src/test/java/launcher/LauncherTestCase.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package launcher;
-
-import org.junit.Test;
-
-/**
- * Test sample contributions.
- */
-public class LauncherTestCase {
-
- @Test
- public void testContributionBindingWSCalculator() throws Exception {
- JSELauncherBindingWSCalculator.main(null);
- }
-
-}
diff --git a/unreleased/samples/pom.xml b/unreleased/samples/pom.xml
deleted file mode 100644
index 1459d66..0000000
--- a/unreleased/samples/pom.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sca</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
- <artifactId>tuscany-contrib-samples</artifactId>
- <packaging>pom</packaging>
- <name>Apache Tuscany SCA Contributed Samples</name>
-
- <modules>
- <module>comet-webapp</module>
- </modules>
-
- <profiles>
- <profile>
- <id>eclipse</id>
- <build>
- <defaultGoal>org.apache.tuscany.maven.plugins:maven-bundle-plugin:eclipse</defaultGoal>
- <!--
- <plugins>
- <plugin>
- <groupId>org.apache.tuscany.maven.plugins</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>1.0.6</version>
- <extensions>true</extensions>
- <executions>
- <execution>
- <id>generate-pde</id>
- <phase>generate-resources</phase>
- <goals>
- <goal>eclipse</goal>
- </goals>
- <configuration>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- -->
- </build>
- </profile>
- </profiles>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifestFile>${basedir}/META-INF/MANIFEST.MF</manifestFile>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
-</project>
diff --git a/unreleased/samples/reporting/README b/unreleased/samples/reporting/README
deleted file mode 100644
index b33446c..0000000
--- a/unreleased/samples/reporting/README
+++ /dev/null
@@ -1,6 +0,0 @@
-Reporting Sample
-================
-
-A simple sample to motivate the implementation of some mechanisms for
-retiriving information about an active domain and it's nodes.
-
diff --git a/unreleased/samples/reporting/pom.xml b/unreleased/samples/reporting/pom.xml
deleted file mode 100644
index 103734b..0000000
--- a/unreleased/samples/reporting/pom.xml
+++ /dev/null
@@ -1,94 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-samples</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <artifactId>sample-reporting</artifactId>
- <name>Apache Tuscany SCA Sample Reporting</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-feature-api</artifactId>
- <type>pom</type>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-feature-core</artifactId>
- <type>pom</type>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-feature-webservice</artifactId>
- <type>pom</type>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-feature-ejava</artifactId>
- <type>pom</type>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-script-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-databinding-json</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
- <build>
- <finalName>${artifactId}</finalName>
-
- <plugins>
-
- </plugins>
- </build>
-</project>
diff --git a/unreleased/samples/reporting/src/main/java/calculator/CalculatorService.java b/unreleased/samples/reporting/src/main/java/calculator/CalculatorService.java
deleted file mode 100644
index 12d80ff..0000000
--- a/unreleased/samples/reporting/src/main/java/calculator/CalculatorService.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package calculator;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-
-/**
- * The Calculator service interface.
- */
-@Remotable
-public interface CalculatorService {
-
- double add(double n1, double n2);
-
- double subtract(double n1, double n2);
-
- double multiply(double n1, double n2);
-
- double divide(double n1, double n2);
-
-}
diff --git a/unreleased/samples/reporting/src/main/java/reporting/JSELauncheCalculator.java b/unreleased/samples/reporting/src/main/java/reporting/JSELauncheCalculator.java
deleted file mode 100644
index 25729ea..0000000
--- a/unreleased/samples/reporting/src/main/java/reporting/JSELauncheCalculator.java
+++ /dev/null
@@ -1,333 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package reporting;
-
-import java.io.ByteArrayOutputStream;
-import java.io.File;
-import java.io.StringWriter;
-import java.net.URI;
-import java.util.List;
-import java.util.Map;
-import java.util.Properties;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.apache.tuscany.sca.assembly.Binding;
-import org.apache.tuscany.sca.assembly.Component;
-import org.apache.tuscany.sca.assembly.ComponentReference;
-import org.apache.tuscany.sca.assembly.ComponentService;
-import org.apache.tuscany.sca.assembly.Composite;
-import org.apache.tuscany.sca.assembly.Endpoint;
-import org.apache.tuscany.sca.assembly.EndpointReference;
-import org.apache.tuscany.sca.contribution.Artifact;
-import org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor;
-import org.apache.tuscany.sca.contribution.processor.ProcessorContext;
-import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor;
-import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessorExtensionPoint;
-import org.apache.tuscany.sca.core.ExtensionPointRegistry;
-import org.apache.tuscany.sca.core.FactoryExtensionPoint;
-import org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointImpl;
-import org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointReferenceImpl;
-import org.apache.tuscany.sca.definitions.Definitions;
-import org.apache.tuscany.sca.deployment.Deployer;
-import org.apache.tuscany.sca.invocation.Interceptor;
-import org.apache.tuscany.sca.invocation.InvocationChain;
-import org.apache.tuscany.sca.invocation.Invoker;
-import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-import org.apache.tuscany.sca.node.configuration.ContributionConfiguration;
-import org.apache.tuscany.sca.node.configuration.NodeConfiguration;
-import org.apache.tuscany.sca.node.impl.NodeFactoryImpl;
-import org.apache.tuscany.sca.node.impl.NodeImpl;
-import org.apache.tuscany.sca.runtime.DomainRegistryFactory;
-import org.apache.tuscany.sca.runtime.EndpointRegistry;
-import org.apache.tuscany.sca.runtime.ExtensibleDomainRegistryFactory;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-import com.sun.jmx.remote.util.Service;
-import com.sun.xml.internal.txw2.output.IndentingXMLStreamWriter;
-
-import calculator.CalculatorService;
-
-/**
- * This client program shows how to extract useful(?) information from the Tuscany SCA runtime
- */
-public class JSELauncheCalculator {
-
- private static NodeFactory nodeFactory;
- private static Node node1;
- private static Node node2;
- private static CalculatorService calculator;
-
-
- public static void main(String[] args) throws Exception {
- JSELauncheCalculator launcher = new JSELauncheCalculator();
- launcher.setUp();
-
- launcher.callCalulator();
- launcher.listExtensions();
- launcher.listNodes();
- launcher.listNodeConfigurations();
- launcher.listContributions();
- launcher.listDomainComposite();
- launcher.listDomainDefinitions();
- launcher.listEndpoints();
- launcher.listWires();
-
- launcher.tearDown();
- }
-
- @BeforeClass
- public static void setUp() throws Exception {
- try {
-/* new
- org.apache.tuscany.sca.node2.NodeFactory nodeFactoryNew = org.apache.tuscany.sca.node2.NodeFactory.newInstance();
-
- org.apache.tuscany.sca.node2.Node node2New = nodeFactoryNew.createNode();
- node2New.installContribution("../domain/distributed-calculator/contribution-calculator/target/classes");
-
- calculator = node2New.getService(CalculatorService.class, "CalculatorServiceComponent");
-*/
-
-/* old */
- // TUSCANY-3675 - push hazelcast config into factory as adding it to URI doesn't work
- Properties properties = new Properties();
- properties.setProperty("bind", "192.168.0.2");
- nodeFactory = NodeFactory.newInstance(properties);
-
- // TUSCANY-3675 - push hazelcast config into factory as adding it to URI doesn't work
- //node2 = nodeFactory.createNode(new Contribution("c1", "../domain/distributed-calculator/contribution-calculator/target/classes"));
- //node2 = nodeFactory.createNode(URI.create("tuscany:default?listen=127.0.0.1:14820"), "../domain/distributed-calculator/contribution-calculator/target/classes");
- //node2 = nodeFactory.createNode(URI.create("tuscany:default"), "../domain/distributed-calculator/contribution-calculator/target/classes");
- node2 = nodeFactory.createNode(new File("./target/classes/node-calculator.xml").toURL());
-
- node2.start();
-
- calculator = node2.getService(CalculatorService.class, "CalculatorServiceComponent");
-
- } catch (Exception ex){
- ex.printStackTrace();
- }
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- node2.stop();
- }
-
- @Test
- public void callCalulator(){
- printTestName("callCalulator");
- double result = calculator.add(3, 2);
- System.out.println("3 + 2 = " + result);
- }
-
- @Test
- public void listExtensions(){
- printTestName("listExtensions");
- // TODO
- }
-
- @Test
- public void listNodes(){
- printTestName("listNodes");
- Map<Object, Node> nodes = ((NodeFactoryImpl)nodeFactory).getNodes();
- for (Object nodeKey : nodes.keySet()){
- System.out.println(nodeKey);
- }
- }
-
- @Test
- public void listNodeConfigurations(){
- printTestName("listNodeConfigurations");
- Map<Object, Node> nodes = ((NodeFactoryImpl)nodeFactory).getNodes();
- for (Node node : nodes.values()){
- System.out.println("Node: " + ((NodeImpl)node).getURI());
- printXML(((NodeImpl)node).getConfiguration());
- }
- }
-
- @Test
- public void listContributions(){
- printTestName("listContributions");
- Map<Object, Node> nodes = ((NodeFactoryImpl)nodeFactory).getNodes();
- for (Node node : nodes.values()){
- System.out.println("Node: " + ((NodeImpl)node).getURI());
- NodeConfiguration nodeConfiguration = ((NodeImpl)node).getConfiguration();
- for (org.apache.tuscany.sca.contribution.Contribution contribution : ((NodeImpl)node).getContributions()){
- System.out.println("Contribution: " + contribution.getURI() + " location " + contribution.getLocation());
- for (Artifact artifact : contribution.getArtifacts()){
- System.out.println(" Artifact: " + artifact.getURI() + " location " + artifact.getLocation());
- }
- }
- }
- }
-
- @Test
- public void listDomainComposite(){
- printTestName("listDomainComposite");
- Map<Object, Node> nodes = ((NodeFactoryImpl)nodeFactory).getNodes();
- for (Node node : nodes.values()){
- System.out.println("Node: " + ((NodeImpl)node).getURI());
- printXML(((NodeImpl)node).getDomainComposite());
- }
- }
-
- @Test
- public void listDomainDefinitions(){
- printTestName("listDomainDefinitions");
- Deployer deployer = ((NodeFactoryImpl)nodeFactory).getDeployer();
- Definitions systemDefinitions = deployer.getSystemDefinitions();
- printXML(systemDefinitions);
- }
-
- @Test
- public void listEndpoints(){
- printTestName("listEndpoints");
- ExtensionPointRegistry registry = ((NodeFactoryImpl)nodeFactory).getExtensionPointRegistry();
- Map<Object, Node> nodes = ((NodeFactoryImpl)nodeFactory).getNodes();
- Node firstNode = nodes.values().iterator().next();
- NodeConfiguration firstNodeConfig = ((NodeImpl)firstNode).getConfiguration();
-
- DomainRegistryFactory domainRegistryFactory = ExtensibleDomainRegistryFactory.getInstance(registry);
- // TODO - I don't understand where the scheme gets set/used
- EndpointRegistry endpointRegistry = domainRegistryFactory.getEndpointRegistry("vm:" + firstNodeConfig.getDomainRegistryURI(), firstNodeConfig.getDomainURI());
-
- for (Endpoint endpoint : endpointRegistry.getEndpoints()){
- System.out.println(endpoint);
- printEndpointXML(endpoint);
- }
- }
-
- @Test
- public void listWires(){
- printTestName("listWires");
- Map<Object, Node> nodes = ((NodeFactoryImpl)nodeFactory).getNodes();
- for (Node node : nodes.values()){
- System.out.println("Node: " + ((NodeImpl)node).getURI());
- listComponentWires(((NodeImpl)node).getDomainComposite());
- }
- }
-
- // utils
-
- private void listComponentWires(Composite composite){
- for(Component component : composite.getComponents()){
- if (component.getImplementation() instanceof Composite){
- listComponentWires((Composite)component.getImplementation());
- }
- System.out.println(" Component: " + component.getName());
-
- for(ComponentService service : component.getServices()){
- System.out.println(" Service: " + service.getName());
- for(Endpoint endpoint : service.getEndpoints()){
- System.out.println(" Endpoint: " + endpoint);
- System.out.println(" Binding: " + endpoint.getBinding().getType());
- printInvocationChains(((RuntimeEndpointImpl)endpoint).getInvocationChains());
- }
- }
- for(ComponentReference reference : component.getReferences()){
- System.out.println(" Reference: " + reference.getName());
- for(EndpointReference endpointReference : reference.getEndpointReferences()){
- System.out.println(" EndpointReference: " + endpointReference);
- Binding binding = endpointReference.getBinding();
- if (binding != null){
- System.out.println(" Binding: " + binding.getType());
- printInvocationChains(((RuntimeEndpointReferenceImpl)endpointReference).getInvocationChains());
- }
- }
- }
- }
- }
-
- private void printInvocationChains(List<InvocationChain> chains){
- for(InvocationChain chain : chains){
- System.out.println(" Operation: " + chain.getTargetOperation().getName());
- Invoker invoker = chain.getHeadInvoker();
- while(invoker != null){
- System.out.println(" Invoker: " + invoker.getClass().getName());
- if (invoker instanceof Interceptor){
- invoker = ((Interceptor)invoker).getNext();
- } else {
- invoker = null;
- }
- }
- }
- }
-
- private void printTestName(String name){
- System.out.println("=====================================================================");
- System.out.println(name);
- System.out.println("=====================================================================");
- }
-
- private void printXML(Object model){
- try {
- ExtensionPointRegistry registry = ((NodeFactoryImpl)nodeFactory).getExtensionPointRegistry();
- XMLInputFactory inputFactory = XMLInputFactory.newInstance();
-
- StAXArtifactProcessorExtensionPoint xmlProcessors = registry.getExtensionPoint(StAXArtifactProcessorExtensionPoint.class);
- StAXArtifactProcessor<Object> xmlProcessor = new ExtensibleStAXArtifactProcessor(xmlProcessors, inputFactory, null);
-
- ProcessorContext context = new ProcessorContext(registry);
-
- ByteArrayOutputStream bos = new ByteArrayOutputStream();
- XMLOutputFactory outputFactory = registry.getExtensionPoint(FactoryExtensionPoint.class).getFactory(XMLOutputFactory.class);
- XMLStreamWriter writer = new IndentingXMLStreamWriter(outputFactory.createXMLStreamWriter(bos));
-
- xmlProcessor.write(model, writer, context);
- writer.flush();
-
- System.out.println(bos.toString());
- } catch(Exception ex) {
- ex.printStackTrace();
- }
- }
-
- // TODO - we don't have a processor registered for RuntimeEndpointImpl?
- private void printEndpointXML(Endpoint model){
- try {
- ExtensionPointRegistry registry = ((NodeFactoryImpl)nodeFactory).getExtensionPointRegistry();
- XMLInputFactory inputFactory = XMLInputFactory.newInstance();
-
- StAXArtifactProcessorExtensionPoint xmlProcessors = registry.getExtensionPoint(StAXArtifactProcessorExtensionPoint.class);
- StAXArtifactProcessor<Endpoint> xmlProcessor = xmlProcessors.getProcessor(Endpoint.class);
-
- ProcessorContext context = new ProcessorContext(registry);
-
- ByteArrayOutputStream bos = new ByteArrayOutputStream();
- XMLOutputFactory outputFactory = registry.getExtensionPoint(FactoryExtensionPoint.class).getFactory(XMLOutputFactory.class);
- XMLStreamWriter writer = new IndentingXMLStreamWriter(outputFactory.createXMLStreamWriter(bos));
-
- xmlProcessor.write(model, writer, context);
- writer.flush();
-
- System.out.println(bos.toString());
- } catch(Exception ex) {
- ex.printStackTrace();
- }
- }
-
-}
diff --git a/unreleased/samples/reporting/src/main/java/reporting/JSELauncherAdd.java b/unreleased/samples/reporting/src/main/java/reporting/JSELauncherAdd.java
deleted file mode 100644
index 5351ed2..0000000
--- a/unreleased/samples/reporting/src/main/java/reporting/JSELauncherAdd.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package reporting;
-
-import java.io.ByteArrayOutputStream;
-import java.io.File;
-import java.io.StringWriter;
-import java.net.URI;
-import java.net.URL;
-import java.util.List;
-import java.util.Map;
-import java.util.Properties;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.apache.tuscany.sca.assembly.Binding;
-import org.apache.tuscany.sca.assembly.Component;
-import org.apache.tuscany.sca.assembly.ComponentReference;
-import org.apache.tuscany.sca.assembly.ComponentService;
-import org.apache.tuscany.sca.assembly.Composite;
-import org.apache.tuscany.sca.assembly.Endpoint;
-import org.apache.tuscany.sca.assembly.EndpointReference;
-import org.apache.tuscany.sca.contribution.Artifact;
-import org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor;
-import org.apache.tuscany.sca.contribution.processor.ProcessorContext;
-import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor;
-import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessorExtensionPoint;
-import org.apache.tuscany.sca.core.DefaultExtensionPointRegistry;
-import org.apache.tuscany.sca.core.ExtensionPointRegistry;
-import org.apache.tuscany.sca.core.FactoryExtensionPoint;
-import org.apache.tuscany.sca.core.UtilityExtensionPoint;
-import org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointImpl;
-import org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointReferenceImpl;
-import org.apache.tuscany.sca.definitions.Definitions;
-import org.apache.tuscany.sca.deployment.Deployer;
-import org.apache.tuscany.sca.invocation.Interceptor;
-import org.apache.tuscany.sca.invocation.InvocationChain;
-import org.apache.tuscany.sca.invocation.Invoker;
-import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-import org.apache.tuscany.sca.node.configuration.ContributionConfiguration;
-import org.apache.tuscany.sca.node.configuration.NodeConfiguration;
-import org.apache.tuscany.sca.node.impl.NodeFactoryImpl;
-import org.apache.tuscany.sca.node.impl.NodeImpl;
-import org.apache.tuscany.sca.runtime.DomainRegistryFactory;
-import org.apache.tuscany.sca.runtime.EndpointRegistry;
-import org.apache.tuscany.sca.runtime.ExtensibleDomainRegistryFactory;
-import org.apache.tuscany.sca.runtime.RuntimeProperties;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Ignore;
-import org.junit.Test;
-
-import com.sun.jmx.remote.util.Service;
-import com.sun.xml.internal.txw2.output.IndentingXMLStreamWriter;
-
-import calculator.CalculatorService;
-
-/**
- * This client program shows how to extract useful(?) information from the Tuscany SCA runtime
- */
-public class JSELauncherAdd {
-
- private static NodeFactory nodeFactory;
- private static Node node1;
- private static Node node2;
- private static CalculatorService calculator;
-
-
- public static void main(String[] args) throws Exception {
- JSELauncherAdd launcher = new JSELauncherAdd ();
- launcher.setUp();
-
- launcher.waitForInput();
-
- launcher.tearDown();
- }
-
- @BeforeClass
- public static void setUp() throws Exception {
- try {
-/* new
- org.apache.tuscany.sca.node2.NodeFactory nodeFactoryNew = org.apache.tuscany.sca.node2.NodeFactory.newInstance();
- org.apache.tuscany.sca.node2.Node node1New = nodeFactoryNew.createNode();
- node1New.installContribution("../domain/distributed-calculator/contribution-add/target/classes");
-
-*/
-
-/* old */
- // TUSCANY-3675 - push hazelcast config into factory as adding it to URI doesn't work
- Properties properties = new Properties();
- properties.setProperty("bind", "192.168.0.2");
- nodeFactory = NodeFactory.newInstance(properties);
-
- // TUSCANY-3675 - push hazelcast config into factory as adding it to URI doesn't work
- //node1 = nodeFactory.createNode(new Contribution("c1", "../domain/distributed-calculator/contribution-add/target/classes"));
- //node1 = nodeFactory.createNode(URI.create("tuscany:default?listen=127.0.0.1:14820"), "../domain/distributed-calculator/contribution-add/target/classes");
- //node1 = nodeFactory.createNode(URI.create("tuscany:default"), "../domain/distributed-calculator/contribution-add/target/classes");
- node1 = nodeFactory.createNode(new File("./target/classes/node-add.xml").toURL());
-
- node1.start();
-
- } catch (Exception ex){
- ex.printStackTrace();
- }
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- node1.stop();
- }
-
- @Test
- @Ignore
- public void waitForInput(){
- System.out.println("Press key to end");
- try {
- System.in.read();
- } catch(Exception ex){
- // do nothing
- }
- }
-
-}
diff --git a/unreleased/samples/reporting/src/main/resources/node-add.xml b/unreleased/samples/reporting/src/main/resources/node-add.xml
deleted file mode 100644
index 7a4a6d5..0000000
--- a/unreleased/samples/reporting/src/main/resources/node-add.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<node xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns="http://tuscany.apache.org/xmlns/sca/1.1"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- uri="node-add"
- domain="default"
- domainRegistry="tuscany:default">
-
- <!-- Configure the base URIs for a given binding -->
- <binding name="sca:binding.sca" baseURIs="http://localhost:8081/sca"/>
- <binding name="sca:binding.ws" baseURIs="http://localhost:8082/ws"/>
-
- <!-- Configure a list of contributions -->
- <contribution uri="contribution-add" location="../../../domain/distributed-calculator/contribution-add/target/classes"/>
-
-</node>
\ No newline at end of file
diff --git a/unreleased/samples/reporting/src/main/resources/node-calculator.xml b/unreleased/samples/reporting/src/main/resources/node-calculator.xml
deleted file mode 100644
index 31098b1..0000000
--- a/unreleased/samples/reporting/src/main/resources/node-calculator.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
--->
-<node xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns="http://tuscany.apache.org/xmlns/sca/1.1"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- uri="node-calculator"
- domain="default"
- domainRegistry="tuscany:default">
-
- <!-- Configure the base URIs for a given binding -->
- <binding name="sca:binding.sca" baseURIs="http://localhost:8083/sca"/>
- <binding name="sca:binding.ws" baseURIs="http://localhost:8084/ws"/>
-
- <!-- Configure a list of contributions -->
- <contribution uri="contribution-calculator" location="../../../domain/distributed-calculator/contribution-calculator/target/classes"/>
-
-</node>
\ No newline at end of file
diff --git a/unreleased/samples/reporting/src/test/java/reporting/JSELauncherReportingTestCase.java b/unreleased/samples/reporting/src/test/java/reporting/JSELauncherReportingTestCase.java
deleted file mode 100644
index b4cc8fa..0000000
--- a/unreleased/samples/reporting/src/test/java/reporting/JSELauncherReportingTestCase.java
+++ /dev/null
@@ -1,320 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package reporting;
-
-import java.io.ByteArrayOutputStream;
-import java.io.StringWriter;
-import java.util.List;
-import java.util.Map;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamWriter;
-
-import org.apache.tuscany.sca.assembly.Binding;
-import org.apache.tuscany.sca.assembly.Component;
-import org.apache.tuscany.sca.assembly.ComponentReference;
-import org.apache.tuscany.sca.assembly.ComponentService;
-import org.apache.tuscany.sca.assembly.Composite;
-import org.apache.tuscany.sca.assembly.Endpoint;
-import org.apache.tuscany.sca.assembly.EndpointReference;
-import org.apache.tuscany.sca.contribution.Artifact;
-import org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor;
-import org.apache.tuscany.sca.contribution.processor.ProcessorContext;
-import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor;
-import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessorExtensionPoint;
-import org.apache.tuscany.sca.core.ExtensionPointRegistry;
-import org.apache.tuscany.sca.core.FactoryExtensionPoint;
-import org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointImpl;
-import org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointReferenceImpl;
-import org.apache.tuscany.sca.definitions.Definitions;
-import org.apache.tuscany.sca.deployment.Deployer;
-import org.apache.tuscany.sca.invocation.Interceptor;
-import org.apache.tuscany.sca.invocation.InvocationChain;
-import org.apache.tuscany.sca.invocation.Invoker;
-import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-import org.apache.tuscany.sca.node.configuration.ContributionConfiguration;
-import org.apache.tuscany.sca.node.configuration.NodeConfiguration;
-import org.apache.tuscany.sca.node.impl.NodeFactoryImpl;
-import org.apache.tuscany.sca.node.impl.NodeImpl;
-import org.apache.tuscany.sca.runtime.DomainRegistryFactory;
-import org.apache.tuscany.sca.runtime.EndpointRegistry;
-import org.apache.tuscany.sca.runtime.ExtensibleDomainRegistryFactory;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-import com.sun.jmx.remote.util.Service;
-import com.sun.xml.internal.txw2.output.IndentingXMLStreamWriter;
-
-import calculator.CalculatorService;
-
-/**
- * This client program shows how to extract useful(?) information from the Tuscany SCA runtime
- */
-public class JSELauncherReportingTestCase {
-
- private static NodeFactory nodeFactory;
- private static Node node1;
- private static Node node2;
- private static CalculatorService calculator;
-
-
- public static void main(String[] args) throws Exception {
- JSELauncherReportingTestCase launcher = new JSELauncherReportingTestCase();
- launcher.setUp();
-
- launcher.callCalulator();
-/*
- launcher.listNodes();
- launcher.listNodeConfigurations();
- launcher.listContributions();
- launcher.listDomainDefinitions();
- launcher.listEndpoints();
-*/
- launcher.listWires();
- launcher.tearDown();
- }
-
- @BeforeClass
- public static void setUp() throws Exception {
- try {
-/* new
- org.apache.tuscany.sca.node2.NodeFactory nodeFactoryNew = org.apache.tuscany.sca.node2.NodeFactory.newInstance();
- org.apache.tuscany.sca.node2.Node node1New = nodeFactoryNew.createNode();
- node1New.installContribution("../domain/distributed-calculator/contribution-add/target/classes");
-
- org.apache.tuscany.sca.node2.Node node2New = nodeFactoryNew.createNode();
- node2New.installContribution("../domain/distributed-calculator/contribution-calculator/target/classes");
-
- calculator = node2New.getService(CalculatorService.class, "CalculatorServiceComponent");
-*/
-
-/* old */
- nodeFactory = NodeFactory.newInstance();
- node1 = nodeFactory.createNode(new Contribution("c1", "../domain/distributed-calculator/contribution-add/target/classes"));
- node1.start();
-
- node2 = nodeFactory.createNode(new Contribution("c1", "../domain/distributed-calculator/contribution-calculator/target/classes"));
- node2.start();
-
- calculator = node2.getService(CalculatorService.class, "CalculatorServiceComponent");
-
- } catch (Exception ex){
- ex.printStackTrace();
- }
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- node1.stop();
- node2.stop();
- }
-
- @Test
- public void callCalulator(){
- printTestName("callCalulator");
- double result = calculator.add(3, 2);
- System.out.println("3 + 2 = " + result);
- }
-
- @Test
- public void listNodes(){
- printTestName("listNodes");
- Map<Object, Node> nodes = ((NodeFactoryImpl)nodeFactory).getNodes();
- for (Object nodeKey : nodes.keySet()){
- System.out.println(nodeKey);
- }
- }
-
- @Test
- public void listNodeConfigurations(){
- printTestName("listNodeConfigurations");
- Map<Object, Node> nodes = ((NodeFactoryImpl)nodeFactory).getNodes();
- for (Node node : nodes.values()){
- System.out.println("Node: " + ((NodeImpl)node).getURI());
- printXML(((NodeImpl)node).getConfiguration());
- }
- }
-
- @Test
- public void listContributions(){
- printTestName("listContributions");
- Map<Object, Node> nodes = ((NodeFactoryImpl)nodeFactory).getNodes();
- for (Node node : nodes.values()){
- System.out.println("Node: " + ((NodeImpl)node).getURI());
- NodeConfiguration nodeConfiguration = ((NodeImpl)node).getConfiguration();
- for (org.apache.tuscany.sca.contribution.Contribution contribution : ((NodeImpl)node).getContributions()){
- System.out.println("Contribution: " + contribution.getURI() + " location " + contribution.getLocation());
- for (Artifact artifact : contribution.getArtifacts()){
- System.out.println(" Artifact: " + artifact.getURI() + " location " + artifact.getLocation());
- }
- }
- }
- }
-
- @Test
- public void listDomainComposite(){
- printTestName("listDomainComposite");
- Map<Object, Node> nodes = ((NodeFactoryImpl)nodeFactory).getNodes();
- for (Node node : nodes.values()){
- System.out.println("Node: " + ((NodeImpl)node).getURI());
- printXML(((NodeImpl)node).getDomainComposite());
- }
- }
-
- @Test
- public void listDomainDefinitions(){
- printTestName("listDomainDefinitions");
- Deployer deployer = ((NodeFactoryImpl)nodeFactory).getDeployer();
- Definitions systemDefinitions = deployer.getSystemDefinitions();
- printXML(systemDefinitions);
- }
-
- @Test
- public void listEndpoints(){
- printTestName("listEndpoints");
- ExtensionPointRegistry registry = ((NodeFactoryImpl)nodeFactory).getExtensionPointRegistry();
- Map<Object, Node> nodes = ((NodeFactoryImpl)nodeFactory).getNodes();
- Node firstNode = nodes.values().iterator().next();
- NodeConfiguration firstNodeConfig = ((NodeImpl)firstNode).getConfiguration();
-
- DomainRegistryFactory domainRegistryFactory = ExtensibleDomainRegistryFactory.getInstance(registry);
- // TODO - I don't understand where the scheme gets set/used
- EndpointRegistry endpointRegistry = domainRegistryFactory.getEndpointRegistry("vm:" + firstNodeConfig.getDomainRegistryURI(), firstNodeConfig.getDomainURI());
-
- for (Endpoint endpoint : endpointRegistry.getEndpoints()){
- System.out.println(endpoint);
- printEndpointXML(endpoint);
- }
- }
-
- @Test
- public void listWires(){
- printTestName("listWires");
- Map<Object, Node> nodes = ((NodeFactoryImpl)nodeFactory).getNodes();
- for (Node node : nodes.values()){
- System.out.println("Node: " + ((NodeImpl)node).getURI());
- listComponentWires(((NodeImpl)node).getDomainComposite());
- }
- }
-
- // utils
-
- private void listComponentWires(Composite composite){
- for(Component component : composite.getComponents()){
- if (component.getImplementation() instanceof Composite){
- listComponentWires((Composite)component.getImplementation());
- }
- System.out.println(" Component: " + component.getName());
-
- for(ComponentService service : component.getServices()){
- System.out.println(" Service: " + service.getName());
- for(Endpoint endpoint : service.getEndpoints()){
- System.out.println(" Endpoint: " + endpoint);
- System.out.println(" Binding: " + endpoint.getBinding().getType());
- printInvocationChains(((RuntimeEndpointImpl)endpoint).getInvocationChains());
- }
- }
- for(ComponentReference reference : component.getReferences()){
- System.out.println(" Reference: " + reference.getName());
- for(EndpointReference endpointReference : reference.getEndpointReferences()){
- System.out.println(" EndpointReference: " + endpointReference);
- Binding binding = endpointReference.getBinding();
- if (binding != null){
- System.out.println(" Binding: " + binding.getType());
- printInvocationChains(((RuntimeEndpointReferenceImpl)endpointReference).getInvocationChains());
- }
- }
- }
- }
- }
-
- private void printInvocationChains(List<InvocationChain> chains){
- for(InvocationChain chain : chains){
- System.out.println(" Operation: " + chain.getTargetOperation().getName());
- Invoker invoker = chain.getHeadInvoker();
- while(invoker != null){
- System.out.println(" Invoker: " + invoker.getClass().getName());
- if (invoker instanceof Interceptor){
- invoker = ((Interceptor)invoker).getNext();
- } else {
- invoker = null;
- }
- }
- }
- }
-
- private void printTestName(String name){
- System.out.println("=====================================================================");
- System.out.println(name);
- System.out.println("=====================================================================");
- }
-
- private void printXML(Object model){
- try {
- ExtensionPointRegistry registry = ((NodeFactoryImpl)nodeFactory).getExtensionPointRegistry();
- XMLInputFactory inputFactory = XMLInputFactory.newInstance();
-
- StAXArtifactProcessorExtensionPoint xmlProcessors = registry.getExtensionPoint(StAXArtifactProcessorExtensionPoint.class);
- StAXArtifactProcessor<Object> xmlProcessor = new ExtensibleStAXArtifactProcessor(xmlProcessors, inputFactory, null);
-
- ProcessorContext context = new ProcessorContext(registry);
-
- ByteArrayOutputStream bos = new ByteArrayOutputStream();
- XMLOutputFactory outputFactory = registry.getExtensionPoint(FactoryExtensionPoint.class).getFactory(XMLOutputFactory.class);
- XMLStreamWriter writer = new IndentingXMLStreamWriter(outputFactory.createXMLStreamWriter(bos));
-
- xmlProcessor.write(model, writer, context);
- writer.flush();
-
- System.out.println(bos.toString());
- } catch(Exception ex) {
- ex.printStackTrace();
- }
- }
-
- // TODO - we don't have a processor registered for RuntimeEndpointImpl?
- private void printEndpointXML(Endpoint model){
- try {
- ExtensionPointRegistry registry = ((NodeFactoryImpl)nodeFactory).getExtensionPointRegistry();
- XMLInputFactory inputFactory = XMLInputFactory.newInstance();
-
- StAXArtifactProcessorExtensionPoint xmlProcessors = registry.getExtensionPoint(StAXArtifactProcessorExtensionPoint.class);
- StAXArtifactProcessor<Endpoint> xmlProcessor = xmlProcessors.getProcessor(Endpoint.class);
-
- ProcessorContext context = new ProcessorContext(registry);
-
- ByteArrayOutputStream bos = new ByteArrayOutputStream();
- XMLOutputFactory outputFactory = registry.getExtensionPoint(FactoryExtensionPoint.class).getFactory(XMLOutputFactory.class);
- XMLStreamWriter writer = new IndentingXMLStreamWriter(outputFactory.createXMLStreamWriter(bos));
-
- xmlProcessor.write(model, writer, context);
- writer.flush();
-
- System.out.println(bos.toString());
- } catch(Exception ex) {
- ex.printStackTrace();
- }
- }
-
-}