summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/tutorials/travelsample/util
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-02-18 11:33:27 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-02-18 11:33:27 +0000
commit65f90a3a577cee5b20a0a76508b4419e9eca518d (patch)
tree1bfd5dc9c1787b7c176a2abf098fdb6f8a2df07b /sca-java-1.x/trunk/tutorials/travelsample/util
parent1038ce1a06920824211b4167db8f36b1e23d234c (diff)
Exclude Tuscany runtime dependencies from the travel sample distribution default build (TUSCANY-3462)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@911338 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk/tutorials/travelsample/util')
-rw-r--r--sca-java-1.x/trunk/tutorials/travelsample/util/launcher-common/pom.xml2
-rw-r--r--sca-java-1.x/trunk/tutorials/travelsample/util/openejb-runtime/pom.xml32
2 files changed, 17 insertions, 17 deletions
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/util/launcher-common/pom.xml b/sca-java-1.x/trunk/tutorials/travelsample/util/launcher-common/pom.xml
index 29ee3edf1e..a499139eff 100644
--- a/sca-java-1.x/trunk/tutorials/travelsample/util/launcher-common/pom.xml
+++ b/sca-java-1.x/trunk/tutorials/travelsample/util/launcher-common/pom.xml
@@ -46,7 +46,7 @@
<configuration>
<archive>
<manifest>
- <addClasspath>true</addClasspath>
+ <addClasspath>${scatours.selfContained}</addClasspath>
<classpathPrefix>../lib/</classpathPrefix>
</manifest>
</archive>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/util/openejb-runtime/pom.xml b/sca-java-1.x/trunk/tutorials/travelsample/util/openejb-runtime/pom.xml
index 074d0984dd..b78fd646d6 100644
--- a/sca-java-1.x/trunk/tutorials/travelsample/util/openejb-runtime/pom.xml
+++ b/sca-java-1.x/trunk/tutorials/travelsample/util/openejb-runtime/pom.xml
@@ -31,8 +31,8 @@
<profiles>
<profile>
- <!-- The default profile produces a self-contained distribution with all
- library dependencies included. -->
+ <!-- The default profile produces a subset distribution which excludes
+ libraries that are present in the Tuscany SCA binary distro. -->
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
@@ -43,20 +43,6 @@
<artifactId>openejb-ejbd</artifactId>
<version>3.1.2</version>
<scope>runtime</scope>
- </dependency>
- </dependencies>
- </profile>
-
- <profile>
- <!-- Use mvn -Psubsetdist to produce a subset distribution that excludes
- OpenEJB libraries that are present in the Tuscany SCA binary distro. -->
- <id>subsetdist</id>
- <dependencies>
- <dependency>
- <groupId>org.apache.openejb</groupId>
- <artifactId>openejb-ejbd</artifactId>
- <version>3.1.2</version>
- <scope>runtime</scope>
<!-- exclude the following because they are part of the Tuscany SCA binary distro -->
<exclusions>
<exclusion>
@@ -155,6 +141,20 @@
</dependency>
</dependencies>
</profile>
+
+ <profile>
+ <!-- Use mvn -Pselfcontained to produce a self-contained distribution
+ with all library dependencies included. -->
+ <id>selfcontained</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>openejb-ejbd</artifactId>
+ <version>3.1.2</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+ </profile>
</profiles>
<build>