summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples/helloworld/pom.xml
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-11-27 10:29:05 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-11-27 10:29:05 +0000
commit57e05151e165824a3be21ad83164a5686664d8aa (patch)
tree4024643b2cf737ddba25531c034cdd1386f8c349 /sca-java-2.x/trunk/samples/helloworld/pom.xml
parent152dade0956825d343d5da6ce90238500dd603df (diff)
Change helloworld sample to be a zip contribution
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@884824 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/samples/helloworld/pom.xml35
1 files changed, 31 insertions, 4 deletions
diff --git a/sca-java-2.x/trunk/samples/helloworld/pom.xml b/sca-java-2.x/trunk/samples/helloworld/pom.xml
index f829695b33..d7621b50fa 100644
--- a/sca-java-2.x/trunk/samples/helloworld/pom.xml
+++ b/sca-java-2.x/trunk/samples/helloworld/pom.xml
@@ -47,10 +47,37 @@
<build>
<finalName>${artifactId}</finalName>
<plugins>
- <plugin>
- <groupId>org.apache.tuscany.maven.plugins</groupId>
- <artifactId>maven-tuscany-plugin</artifactId>
- </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-3</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-zip-contribution-descriptor</artifactId>
+ <version>2.0-M4</version>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <appendAssemblyId>false</appendAssemblyId>
+ <!-- This is where we use our shared assembly descriptor -->
+ <descriptors>
+ <descriptor>tuscany-zip-contribution.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.tuscany.maven.plugins</groupId>
+ <artifactId>maven-tuscany-plugin</artifactId>
+ </plugin>
</plugins>
</build>
</project>