summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-04-14 15:21:35 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-04-14 15:21:35 +0000
commit66fe5f700fe38c7254dc08722a5c52c9ebd554fa (patch)
tree093c68bd853195afa9247fd18b26974a487bc8c0
parentcf676b68bdb22f56d1e0fc1a37c7707ce3d1c703 (diff)
Remove binary distro from mvn build (TUSCANY-3528)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@933986 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sca-java-1.x/trunk/tutorials/travelsample/distribution/pom.xml34
-rw-r--r--sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/assembly/src.xml8
2 files changed, 32 insertions, 10 deletions
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 cf87578add..0f8f681c64 100644
--- a/sca-java-1.x/trunk/tutorials/travelsample/distribution/pom.xml
+++ b/sca-java-1.x/trunk/tutorials/travelsample/distribution/pom.xml
@@ -31,10 +31,32 @@
<name>Apache Tuscany SCA Tours Distribution</name>
<packaging>pom</packaging>
- <modules>
- <module>bundle</module>
- <module>jaxws</module>
- <module>ode</module>
- <module>openejb</module>
- </modules>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>distribution-package</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/src.xml</descriptor>
+ </descriptors>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ <archiveBaseDirectory>.</archiveBaseDirectory>
+ <outputDirectory>target</outputDirectory>
+ <finalName>apache-tuscany-scatours-${version}</finalName>
+ <appendAssemblyId>true</appendAssemblyId>
+ <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/assembly/src.xml b/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/assembly/src.xml
index 72863f4020..f0c8ba379f 100644
--- a/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/assembly/src.xml
+++ b/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/assembly/src.xml
@@ -19,15 +19,15 @@
-->
<assembly>
<!-- id typically identifies the "type" (src vs bin etc) of the assembly -->
- <id>src</id>
+ <id></id>
<includeBaseDirectory>true</includeBaseDirectory>
- <baseDirectory>tuscany-scatours-${version}-src</baseDirectory>
+ <baseDirectory>tuscany-scatours-${version}</baseDirectory>
<formats>
+<!-- nash
<format>dir</format>
-<!--
+-->
<format>tar.gz</format>
<format>zip</format>
--->
</formats>
<fileSets>