From e21c17e0b66d2b7768ec22fa69b55aea8c37a5d8 Mon Sep 17 00:00:00 2001 From: nash Date: Thu, 25 Feb 2010 05:52:27 +0000 Subject: Add ODE runtime database to travel sample binary distro (TUSCANY-3461) git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916135 13f79535-47bb-0310-9956-ffa450edef68 --- .../contributions/payment-bpel/pom.xml | 4 +- .../travelsample/distribution/ode/pom.xml | 73 ++++++++++++++++++++++ .../tutorials/travelsample/distribution/pom.xml | 1 + .../distribution/src/main/assembly/bin-ode.xml | 36 +++++++++++ .../distribution/src/main/components/bin-ode.xml | 36 +++++++++++ .../travelsample/launchers/payment-bpel/build.xml | 6 ++ .../travelsample/launchers/payment-bpel/pom.xml | 27 +------- 7 files changed, 155 insertions(+), 28 deletions(-) create mode 100644 sca-java-1.x/trunk/tutorials/travelsample/distribution/ode/pom.xml create mode 100644 sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/assembly/bin-ode.xml create mode 100644 sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/components/bin-ode.xml (limited to 'sca-java-1.x/trunk/tutorials/travelsample') diff --git a/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel/pom.xml b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel/pom.xml index 1d062cd68d..3cf859b5eb 100644 --- a/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel/pom.xml +++ b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel/pom.xml @@ -206,10 +206,10 @@ org.apache.ode ode-dao-jpa-ojpa-derby - 1.1 + 1.1.1 zip true - ${project.build.directory}/classes/ + ${project.build.directory}/test-classes/ diff --git a/sca-java-1.x/trunk/tutorials/travelsample/distribution/ode/pom.xml b/sca-java-1.x/trunk/tutorials/travelsample/distribution/ode/pom.xml new file mode 100644 index 0000000000..4641976fba --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/distribution/ode/pom.xml @@ -0,0 +1,73 @@ + + + + 4.0.0 + + org.apache.tuscany.sca + scatours + 1.0-SNAPSHOT + ../../pom.xml + + 1.0-SNAPSHOT + + + scatours-distribution-ode + Apache Tuscany SCA Tours Distribution ODE Database + pom + + + + org.apache.ode + ode-dao-jpa-ojpa-derby + zip + 1.1.1 + + + + + + + org.apache.maven.plugins + maven-assembly-plugin + + + distribution-package + package + + single + + + ../target + + ../src/main/assembly/bin-ode.xml + + gnu + .. + ../target + apache-tuscany-scatours-${version} + true + true + + + + + + + diff --git a/sca-java-1.x/trunk/tutorials/travelsample/distribution/pom.xml b/sca-java-1.x/trunk/tutorials/travelsample/distribution/pom.xml index 461f08cdb2..cf87578add 100644 --- a/sca-java-1.x/trunk/tutorials/travelsample/distribution/pom.xml +++ b/sca-java-1.x/trunk/tutorials/travelsample/distribution/pom.xml @@ -34,6 +34,7 @@ bundle jaxws + ode openejb diff --git a/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/assembly/bin-ode.xml b/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/assembly/bin-ode.xml new file mode 100644 index 0000000000..1965c7f16e --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/assembly/bin-ode.xml @@ -0,0 +1,36 @@ + + + + + + true + tuscany-scatours-${version} + + dir + + + + + ../src/main/components/bin-ode.xml + + diff --git a/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/components/bin-ode.xml b/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/components/bin-ode.xml new file mode 100644 index 0000000000..884a8fdb84 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/components/bin-ode.xml @@ -0,0 +1,36 @@ + + + + + + + false + ode + true + + runtime + + + + diff --git a/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-bpel/build.xml b/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-bpel/build.xml index 8e3156e8b7..f9d839c17e 100644 --- a/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-bpel/build.xml +++ b/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-bpel/build.xml @@ -24,9 +24,15 @@ + + + + + + diff --git a/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-bpel/pom.xml b/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-bpel/pom.xml index 0483766f74..498ee1eb53 100644 --- a/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-bpel/pom.xml +++ b/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-bpel/pom.xml @@ -131,7 +131,7 @@ - ../util/scatours-util-launcher-common.jar + ../util/scatours-util-launcher-common.jar ../ode/ ${scatours.selfContained} @@ -141,31 +141,6 @@ - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack - test-compile - - unpack - - - - - org.apache.ode - ode-dao-jpa-ojpa-derby - 1.1 - zip - true - ${project.build.directory}/classes/ - - - - - - -- cgit v1.2.3