From 4ef0430519e276c2bdecea75f7a0f42f49f0cf30 Mon Sep 17 00:00:00 2001 From: lresende Date: Wed, 11 Nov 2009 23:08:37 +0000 Subject: Moving 1.x branches git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835132 13f79535-47bb-0310-9956-ffa450edef68 --- .../store/store-db/META-INF/sca-contribution.xml | 27 +++++ .../sca-java-1.5/tutorials/store/store-db/pom.xml | 128 +++++++++++++++++++++ .../tutorials/store/store-db/store-db.composite | 75 ++++++++++++ 3 files changed, 230 insertions(+) create mode 100644 sca-java-1.x/branches/sca-java-1.5/tutorials/store/store-db/META-INF/sca-contribution.xml create mode 100644 sca-java-1.x/branches/sca-java-1.5/tutorials/store/store-db/pom.xml create mode 100644 sca-java-1.x/branches/sca-java-1.5/tutorials/store/store-db/store-db.composite (limited to 'sca-java-1.x/branches/sca-java-1.5/tutorials/store/store-db') diff --git a/sca-java-1.x/branches/sca-java-1.5/tutorials/store/store-db/META-INF/sca-contribution.xml b/sca-java-1.x/branches/sca-java-1.5/tutorials/store/store-db/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..7a5d5613be --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5/tutorials/store/store-db/META-INF/sca-contribution.xml @@ -0,0 +1,27 @@ + + + + + + + + + \ No newline at end of file diff --git a/sca-java-1.x/branches/sca-java-1.5/tutorials/store/store-db/pom.xml b/sca-java-1.x/branches/sca-java-1.5/tutorials/store/store-db/pom.xml new file mode 100644 index 0000000000..88441bc868 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5/tutorials/store/store-db/pom.xml @@ -0,0 +1,128 @@ + + + + 4.0.0 + + org.apache.tuscany.sca + tuscany-tutorial-store + 1.5-SNAPSHOT + ../pom.xml + + tutorial-store-db + Apache Tuscany SCA Store Tutorial Online Store Using DB + + + + apache.incubator + http://people.apache.org/repo/m2-incubating-repository + + + + + + org.apache.tuscany.sca + tuscany-sca-api + 1.5-SNAPSHOT + + + + + ${artifactId} + ${basedir} + + + ${basedir} + + **/*.java + **/.*/** + pom.xml + build.xml + target/** + + + + + + org.apache.tuscany.sca + tuscany-maven-ant-generator + 1.5-SNAPSHOT + + + + ../../.. + + + generate + + + + + + org.codehaus.mojo + sql-maven-plugin + 1.3 + + + + org.apache.derby + derby + 10.3.1.4 + + + + + + create-db + generate-resources + + execute + + + org.apache.derby.jdbc.EmbeddedDriver + jdbc:derby:${basedir}/target/cart-db;create=true + true + continue + skip + ; + + ${basedir}/../assets/services/db/cart.sql + + + + + + + shutdown-database-sothat-test-can-run + process-test-resources + + execute + + + org.apache.derby.jdbc.EmbeddedDriver + jdbc:derby:${basedir}/target/cart-db;shutdown=true + true + + + + + + + + diff --git a/sca-java-1.x/branches/sca-java-1.5/tutorials/store/store-db/store-db.composite b/sca-java-1.x/branches/sca-java-1.5/tutorials/store/store-db/store-db.composite new file mode 100644 index 0000000000..03094be5ad --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.5/tutorials/store/store-db/store-db.composite @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + USD + + + + + + + + + + + + + USD + + + + + + ../store-db/target/cart-db + + + + + + + + + + + + + -- cgit v1.2.3