From 3c7c4a749baafcf375f4785a7668d3a25c9063e3 Mon Sep 17 00:00:00 2001 From: lresende Date: Fri, 13 Nov 2009 01:42:27 +0000 Subject: Moving 1.x trunk git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835700 13f79535-47bb-0310-9956-ffa450edef68 --- .../store/store-db/META-INF/sca-contribution.xml | 27 +++++ .../trunk/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/trunk/tutorials/store/store-db/META-INF/sca-contribution.xml create mode 100644 sca-java-1.x/trunk/tutorials/store/store-db/pom.xml create mode 100644 sca-java-1.x/trunk/tutorials/store/store-db/store-db.composite (limited to 'sca-java-1.x/trunk/tutorials/store/store-db') diff --git a/sca-java-1.x/trunk/tutorials/store/store-db/META-INF/sca-contribution.xml b/sca-java-1.x/trunk/tutorials/store/store-db/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..7a5d5613be --- /dev/null +++ b/sca-java-1.x/trunk/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/trunk/tutorials/store/store-db/pom.xml b/sca-java-1.x/trunk/tutorials/store/store-db/pom.xml new file mode 100644 index 0000000000..e007c73a49 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/store/store-db/pom.xml @@ -0,0 +1,128 @@ + + + + 4.0.0 + + org.apache.tuscany.sca + tuscany-tutorial-store + 1.6-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.6-SNAPSHOT + + + + + ${artifactId} + ${basedir} + + + ${basedir} + + **/*.java + **/.*/** + pom.xml + build.xml + target/** + + + + + + org.apache.tuscany.sca + tuscany-maven-ant-generator + 1.6-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/trunk/tutorials/store/store-db/store-db.composite b/sca-java-1.x/trunk/tutorials/store/store-db/store-db.composite new file mode 100644 index 0000000000..03094be5ad --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/store/store-db/store-db.composite @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + USD + + + + + + + + + + + + + USD + + + + + + ../store-db/target/cart-db + + + + + + + + + + + + + -- cgit v1.2.3