diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-13 15:38:48 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-13 15:38:48 +0000 |
commit | 47968edde85283c57e1a4fe03284c9857f784821 (patch) | |
tree | 1079b8eb3dc0448b50c716a0b64edf23c2cf5267 /sca-java-2.x/trunk/samples/helloworld | |
parent | 71d3854ffcb1a2e97e6d881a214dd7f3b42eafc5 (diff) |
Update to use the zip plugin
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@898800 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/helloworld')
-rw-r--r-- | sca-java-2.x/trunk/samples/helloworld/pom.xml | 64 |
1 files changed, 30 insertions, 34 deletions
diff --git a/sca-java-2.x/trunk/samples/helloworld/pom.xml b/sca-java-2.x/trunk/samples/helloworld/pom.xml index d7621b50fa..e1e8786cdc 100644 --- a/sca-java-2.x/trunk/samples/helloworld/pom.xml +++ b/sca-java-2.x/trunk/samples/helloworld/pom.xml @@ -26,6 +26,7 @@ <relativePath>../../pom.xml</relativePath>
</parent>
+ <packaging>zip</packaging>
<artifactId>sample-helloworld</artifactId>
<name>Apache Tuscany SCA Sample Helloworld</name>
@@ -45,39 +46,34 @@ </dependencies>
<build>
- <finalName>${artifactId}</finalName>
- <plugins>
- <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>
+ <finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.tuscany.maven.plugins</groupId>
+ <artifactId>maven-zip-plugin</artifactId>
+ <version>alpha1</version>
+ <extensions>true</extensions>
+ </plugin>
+ <!-- plugin>
+ <groupId>org.apache.tuscany.maven.plugins</groupId>
+ <artifactId>maven-tuscany-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>start-container</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>start</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>stop-container</id>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>stop</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin -->
+ </plugins>
</build>
</project>
|