Author: veithen
Date: Sat May 31 22:42:41 2014
New Revision: 1598931

URL: http://svn.apache.org/r1598931
Log:
Correctly handle the dependency on addressing.mar.

Modified:
    axis/axis2/java/core/trunk/modules/jaxws-integration/pom.xml

Modified: axis/axis2/java/core/trunk/modules/jaxws-integration/pom.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/jaxws-integration/pom.xml?rev=1598931&r1=1598930&r2=1598931&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/jaxws-integration/pom.xml (original)
+++ axis/axis2/java/core/trunk/modules/jaxws-integration/pom.xml Sat May 31 
22:42:41 2014
@@ -204,6 +204,34 @@
                 </executions>
             </plugin>
             <plugin>
+                <groupId>org.apache.axis2</groupId>
+                <artifactId>axis2-repo-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>build-repo</id>
+                        <phase>generate-test-resources</phase>
+                        <goals>
+                            <goal>create-test-repository</goal>
+                        </goals>
+                        <configuration>
+                            
<outputDirectory>${project.build.directory}/repo</outputDirectory>
+                            <modules>addressing</modules>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>build-client-repo</id>
+                        <phase>generate-test-resources</phase>
+                        <goals>
+                            <goal>create-test-repository</goal>
+                        </goals>
+                        <configuration>
+                            
<outputDirectory>${project.build.directory}/client-repo</outputDirectory>
+                            <modules>addressing</modules>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-antrun-plugin</artifactId>
                 <executions>
@@ -467,14 +495,6 @@
                                 <property name="services.dir" 
value="${repo.dir}/services" />
                                 <property name="servicejars.dir" 
value="${repo.dir}/servicejars" />
 
-                                <!-- Enable Addressing on the client side -->
-                                <mkdir dir="./target/client-repo/modules/" />
-                                <copy 
file="../addressing/target/addressing-${project.version}.mar" 
tofile="./target/client-repo/modules/addressing-${project.version}.mar" />
-
-                                <!-- Enable Addressing on the server side -->
-                                <mkdir dir="${repo.dir}/modules/" />
-                                <copy 
file="../addressing/target/addressing-${project.version}.mar" 
tofile="${repo.dir}/modules/addressing-${project.version}.mar" />
-
                                 <!-- 
================================================================ -->
                                 <!-- Non-JAXWS services -->
                                 <!-- 
================================================================ -->


Reply via email to