You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by va...@apache.org on 2010/12/02 19:45:38 UTC

svn commit: r1041521 - in /ode/branches/ode-1.3.5.x/axis2-war: pom.xml src/main/assembly/bin.xml

Author: vanto
Date: Thu Dec  2 18:45:38 2010
New Revision: 1041521

URL: http://svn.apache.org/viewvc?rev=1041521&view=rev
Log:
fixing war packagin: wars are expected to include axis2 modules and axis2-admin.

Modified:
    ode/branches/ode-1.3.5.x/axis2-war/pom.xml
    ode/branches/ode-1.3.5.x/axis2-war/src/main/assembly/bin.xml

Modified: ode/branches/ode-1.3.5.x/axis2-war/pom.xml
URL: http://svn.apache.org/viewvc/ode/branches/ode-1.3.5.x/axis2-war/pom.xml?rev=1041521&r1=1041520&r2=1041521&view=diff
==============================================================================
--- ode/branches/ode-1.3.5.x/axis2-war/pom.xml (original)
+++ ode/branches/ode-1.3.5.x/axis2-war/pom.xml Thu Dec  2 18:45:38 2010
@@ -247,6 +247,35 @@
 
    <build>
      <plugins>
+       <plugin>
+         <groupId>org.apache.maven.plugins</groupId>
+         <artifactId>maven-dependency-plugin</artifactId>
+         <executions>
+           <execution>
+             <id>unpack-axis2-webapp</id>
+             <phase>package</phase>
+             <goals>
+               <goal>unpack</goal>
+             </goals>
+             <configuration>
+               <artifactItems>
+                 <artifactItem>
+                   <groupId>org.apache.axis2</groupId>
+                   <artifactId>axis2-webapp</artifactId>
+                   <version>${axis2.version}</version>
+                   <type>war</type>
+                   <overWrite>false</overWrite>
+                 </artifactItem>
+               </artifactItems>
+               <includes>axis2-web/**,WEB-INF/classes/org/**,WEB-INF/modules/*</includes>
+               <outputDirectory>${project.build.directory}/axis2-webapp</outputDirectory>
+               <overWriteReleases>false</overWriteReleases>
+               <overWriteSnapshots>false</overWriteSnapshots>
+             </configuration>
+           </execution>
+         </executions>
+        </plugin>
+
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>

Modified: ode/branches/ode-1.3.5.x/axis2-war/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/ode/branches/ode-1.3.5.x/axis2-war/src/main/assembly/bin.xml?rev=1041521&r1=1041520&r2=1041521&view=diff
==============================================================================
--- ode/branches/ode-1.3.5.x/axis2-war/src/main/assembly/bin.xml (original)
+++ ode/branches/ode-1.3.5.x/axis2-war/src/main/assembly/bin.xml Thu Dec  2 18:45:38 2010
@@ -26,6 +26,10 @@
   </formats>
 
   <fileSets>
+    <fileSet>
+      <directory>${project.build.directory}/axis2-webapp</directory>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
 
     <fileSet>
       <directory>src/main/webapp</directory>
@@ -177,7 +181,6 @@
 	    <include>org.apache.axis2:addressing:mar</include>
       </includes>
     </dependencySet>
-
   </dependencySets>
 
 </assembly>