diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-24 12:40:17 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-24 12:40:17 +0000 |
commit | 0f974e6c66a16d4f0cde94e9f9cbee3205642154 (patch) | |
tree | 2377c71eaefcbb16253f60d1652fe4219abbaef5 /sca-java-2.x/trunk/itest/distribution/pom.xml | |
parent | 9609737d78c824a2412b94bdbd9667d4388ef81e (diff) |
Set the default maven build to not generate distribution archives but generate a directory instead. To run a build that generates the archives use mvn -Pdistribution instead.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@883670 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/itest/distribution/pom.xml | 67 |
1 files changed, 50 insertions, 17 deletions
diff --git a/sca-java-2.x/trunk/itest/distribution/pom.xml b/sca-java-2.x/trunk/itest/distribution/pom.xml index f8809b5ab2..9db949c937 100644 --- a/sca-java-2.x/trunk/itest/distribution/pom.xml +++ b/sca-java-2.x/trunk/itest/distribution/pom.xml @@ -28,23 +28,56 @@ <packaging>pom</packaging> <artifactId>itest-distribution</artifactId> <name>Apache Tuscany SCA iTest Distribution</name> - - <build> - <defaultGoal>install</defaultGoal> - </build> - <modules> - <module>bin-distro-unzip</module> - <module>binding-ws-calculator</module> - <module>calculator-rmi</module> - <module>implementation-java-calculator</module> - <module>legal-checks</module> - <module>webapp-helloworld</module> - <module>webapp-helloworld-bpel</module> - <module>webapp-helloworld-js-client</module> - <module>webapp-helloworld-jsp</module> - <module>webapp-helloworld-servlet</module> - <module>webapp-helloworld-stripes</module> - </modules> + <dependencies> + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-distribution-all</artifactId> + <type>pom</type> + <version>2.0-SNAPSHOT</version> + </dependency> + </dependencies> + + <profiles> + <profile> + <id>default</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <modules> + <module>binding-ws-calculator</module> + <module>calculator-rmi</module> + <module>implementation-java-calculator</module> + <module>legal-checks</module> + <module>webapp-helloworld</module> + <module>webapp-helloworld-bpel</module> + <module>webapp-helloworld-js-client</module> + <module>webapp-helloworld-jsp</module> + <module>webapp-helloworld-servlet</module> + <module>webapp-helloworld-stripes</module> + </modules> + </profile> + + <profile> + <id>distribution</id> + <modules> + <module>bin-distro-unzip</module> + <module>binding-ws-calculator</module> + <module>calculator-rmi</module> + <module>implementation-java-calculator</module> + <module>legal-checks</module> + <module>webapp-helloworld</module> + <module>webapp-helloworld-bpel</module> + <module>webapp-helloworld-js-client</module> + <module>webapp-helloworld-jsp</module> + <module>webapp-helloworld-servlet</module> + <module>webapp-helloworld-stripes</module> + </modules> + </profile> + </profiles> + + <build> + <defaultGoal>install</defaultGoal> + </build> </project> |