You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2011/04/03 12:54:33 UTC
svn commit: r1088251 -
/axis/axis2/java/core/trunk/modules/samples/jaxws-samples/pom.xml
Author: veithen
Date: Sun Apr 3 10:54:32 2011
New Revision: 1088251
URL: http://svn.apache.org/viewvc?rev=1088251&view=rev
Log:
jaxws-samples is meant to build a WAR, so changed the packaging type to war (otherwise it will build a JAR that is not deployable). Also changed the POM to use maven-dependency-plugin to copy the modules.
Modified:
axis/axis2/java/core/trunk/modules/samples/jaxws-samples/pom.xml
Modified: axis/axis2/java/core/trunk/modules/samples/jaxws-samples/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/samples/jaxws-samples/pom.xml?rev=1088251&r1=1088250&r2=1088251&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/samples/jaxws-samples/pom.xml (original)
+++ axis/axis2/java/core/trunk/modules/samples/jaxws-samples/pom.xml Sun Apr 3 10:54:32 2011
@@ -25,7 +25,7 @@
<artifactId>jaxws-samples</artifactId>
<name>JAXWS Samples - Echo, Ping, MTOM</name>
<version>1.7.0-SNAPSHOT</version>
-
+ <packaging>war</packaging>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
@@ -112,6 +112,23 @@
</configuration>
</plugin>
<plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.2</version>
+ <executions>
+ <execution>
+ <id>copy-modules</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.directory}/modules</outputDirectory>
+ <includeTypes>mar</includeTypes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
@@ -123,8 +140,7 @@
</archive>
<webResources>
<resource>
- <!-- Designed to work under the axis2 bin dist directory structure, edit if needed -->
- <directory>${basedir}/../../repository/modules/</directory>
+ <directory>${project.build.directory}/modules/</directory>
<targetPath>WEB-INF/lib</targetPath>
<includes>
<include>addressing*.mar</include>