Modified: tuscany/sca-java-1.x/trunk/tutorials/travelsample/services/smsgateway-jaxws/pom.xml URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/tutorials/travelsample/services/smsgateway-jaxws/pom.xml?rev=911338&r1=911337&r2=911338&view=diff ============================================================================== --- tuscany/sca-java-1.x/trunk/tutorials/travelsample/services/smsgateway-jaxws/pom.xml (original) +++ tuscany/sca-java-1.x/trunk/tutorials/travelsample/services/smsgateway-jaxws/pom.xml Thu Feb 18 11:33:27 2010 @@ -47,7 +47,7 @@ <configuration> <archive> <manifest> - <addClasspath>true</addClasspath> + <addClasspath>${scatours.selfContained}</addClasspath> <classpathPrefix>../lib/</classpathPrefix> <mainClass>com.tuscanyscatours.smsgateway.SMSGatewayServiceBootstrap</mainClass> </manifest>
Modified: tuscany/sca-java-1.x/trunk/tutorials/travelsample/services/smsgateway-jms/pom.xml URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/tutorials/travelsample/services/smsgateway-jms/pom.xml?rev=911338&r1=911337&r2=911338&view=diff ============================================================================== --- tuscany/sca-java-1.x/trunk/tutorials/travelsample/services/smsgateway-jms/pom.xml (original) +++ tuscany/sca-java-1.x/trunk/tutorials/travelsample/services/smsgateway-jms/pom.xml Thu Feb 18 11:33:27 2010 @@ -92,7 +92,7 @@ <configuration> <archive> <manifest> - <addClasspath>true</addClasspath> + <addClasspath>${scatours.selfContained}</addClasspath> <classpathPrefix>../lib/</classpathPrefix> <mainClass>scatours.smsgateway.SMSGatewayJMSServiceBootstrap</mainClass> </manifest> Modified: tuscany/sca-java-1.x/trunk/tutorials/travelsample/services/smsgateway-rmi/pom.xml URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/tutorials/travelsample/services/smsgateway-rmi/pom.xml?rev=911338&r1=911337&r2=911338&view=diff ============================================================================== --- tuscany/sca-java-1.x/trunk/tutorials/travelsample/services/smsgateway-rmi/pom.xml (original) +++ tuscany/sca-java-1.x/trunk/tutorials/travelsample/services/smsgateway-rmi/pom.xml Thu Feb 18 11:33:27 2010 @@ -47,7 +47,7 @@ <configuration> <archive> <manifest> - <addClasspath>true</addClasspath> + <addClasspath>${scatours.selfContained}</addClasspath> <classpathPrefix>../lib/</classpathPrefix> <mainClass>com.tuscanyscatours.smsgateway.SMSGatewayRMIServiceBootstrap</mainClass> </manifest> Modified: tuscany/sca-java-1.x/trunk/tutorials/travelsample/util/launcher-common/pom.xml URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/tutorials/travelsample/util/launcher-common/pom.xml?rev=911338&r1=911337&r2=911338&view=diff ============================================================================== --- tuscany/sca-java-1.x/trunk/tutorials/travelsample/util/launcher-common/pom.xml (original) +++ tuscany/sca-java-1.x/trunk/tutorials/travelsample/util/launcher-common/pom.xml Thu Feb 18 11:33:27 2010 @@ -46,7 +46,7 @@ <configuration> <archive> <manifest> - <addClasspath>true</addClasspath> + <addClasspath>${scatours.selfContained}</addClasspath> <classpathPrefix>../lib/</classpathPrefix> </manifest> </archive> Modified: tuscany/sca-java-1.x/trunk/tutorials/travelsample/util/openejb-runtime/pom.xml URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/tutorials/travelsample/util/openejb-runtime/pom.xml?rev=911338&r1=911337&r2=911338&view=diff ============================================================================== --- tuscany/sca-java-1.x/trunk/tutorials/travelsample/util/openejb-runtime/pom.xml (original) +++ tuscany/sca-java-1.x/trunk/tutorials/travelsample/util/openejb-runtime/pom.xml Thu Feb 18 11:33:27 2010 @@ -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>
