axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sume...@apache.org
Subject svn commit: r553689 - in /webservices/axis2/trunk/java/modules/distribution: pom.xml src/main/assembly/bin-assembly.xml
Date Fri, 06 Jul 2007 01:29:42 GMT
Author: sumedha
Date: Thu Jul  5 18:29:41 2007
New Revision: 553689

URL: http://svn.apache.org/viewvc?view=rev&rev=553689
Log:
generating modules.list & services.list

Modified:
    webservices/axis2/trunk/java/modules/distribution/pom.xml
    webservices/axis2/trunk/java/modules/distribution/src/main/assembly/bin-assembly.xml

Modified: webservices/axis2/trunk/java/modules/distribution/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/distribution/pom.xml?view=diff&rev=553689&r1=553688&r2=553689
==============================================================================
--- webservices/axis2/trunk/java/modules/distribution/pom.xml (original)
+++ webservices/axis2/trunk/java/modules/distribution/pom.xml Thu Jul  5 18:29:41 2007
@@ -233,14 +233,55 @@
                         <configuration>
                             <finalName>axis2-${version}</finalName>
                             <descriptors>
-                                <descriptor>src/main/assembly/src-assembly.xml</descriptor>
-                                <descriptor>src/main/assembly/bin-assembly.xml</descriptor>
+                                <descriptor>src/main/assembly/bin-assembly.xml</descriptor>

                                 <descriptor>src/main/assembly/war-assembly.xml</descriptor>
+                                <descriptor>src/main/assembly/src-assembly.xml</descriptor>
                             </descriptors>
                         </configuration>
                     </execution>
                 </executions>
             </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <version>1.1</version>
+                <inherited>false</inherited>
+                <executions>
+                    <execution>
+                        <id>service-module-list-generation</id>
+                        <phase>package</phase>
+                        <configuration>
+                            <tasks>
+				<mkdir dir="tmp-repository"/>
+				<mkdir dir="tmp-repository/modules"/>
+				<mkdir dir="tmp-repository/services"/>
+
+				<copy file="../../modules/soapmonitor/target/soapmonitor-${version}.mar" todir="tmp-repository/modules"/>
+				<copy file="../../modules/addressing/target/addressing-${version}.mar" todir="tmp-repository/modules"/>
+				<copy file="../../modules/ping/target/ping-${version}.mar" todir="tmp-repository/modules"/>
+				<copy file="../../modules/mex-mar/target/mex-${version}.mar" todir="tmp-repository/modules"/>
+				<!-- generate modules.list -->			        
+				<echo file="tmp-repository/modules/modules.list" append="false">
+				soapmonitor-${version}.mar
+				addressing-${version}.mar
+				ping-${version}.mar
+				mex-${version}.mar
+			        </echo>
+
+				<copy file="../../modules/samples/target/toWar/services/version.aar" todir="tmp-repository/services"/>
+				<!-- generate services.list -->			        
+			        <echo file="tmp-repository/services/services.list" append="false">
+				version.aar
+			        </echo>
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+	     </plugin>
         </plugins>
     </build>
 

Modified: webservices/axis2/trunk/java/modules/distribution/src/main/assembly/bin-assembly.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/distribution/src/main/assembly/bin-assembly.xml?view=diff&rev=553689&r1=553688&r2=553689
==============================================================================
--- webservices/axis2/trunk/java/modules/distribution/src/main/assembly/bin-assembly.xml (original)
+++ webservices/axis2/trunk/java/modules/distribution/src/main/assembly/bin-assembly.xml Thu
Jul  5 18:29:41 2007
@@ -10,45 +10,11 @@
 
     <fileSets>
         <!--********************** creating the repository ********************** -->
-        <!-- copy the soapmonitor mar -->
         <fileSet>
-            <directory>../../modules/soapmonitor/target</directory>
-            <outputDirectory>repository/modules</outputDirectory>
-            <includes>
-                <include>soapmonitor-${version}.mar</include>
-            </includes>
-        </fileSet>
-        <!-- copy the addressing mar -->
-        <fileSet>
-            <directory>../../modules/addressing/target</directory>
-            <outputDirectory>repository/modules</outputDirectory>
-            <includes>
-                <include>addressing-${version}.mar</include>
-            </includes>
-        </fileSet>
-        <!-- copy the ping mar -->
-        <fileSet>
-            <directory>../../modules/ping/target</directory>
-            <outputDirectory>repository/modules</outputDirectory>
-            <includes>
-                <include>ping-${version}.mar</include>
-            </includes>
-        </fileSet>
-        <!-- copy the mex mar -->
-        <fileSet>
-            <directory>../../modules/mex-mar/target</directory>
-            <outputDirectory>repository/modules</outputDirectory>
-            <includes>
-                <include>mex-${version}.mar</include>
-            </includes>
-        </fileSet>
-
-        <!-- copy the sample services -->
-        <fileSet>
-            <directory>../../modules/samples/target/toWar/services</directory>
-            <outputDirectory>repository/services</outputDirectory>
+            <directory>tmp-repository</directory>
+            <outputDirectory>repository</outputDirectory>
             <includes>
-                <include>version.aar</include>
+                <include>**/*</include>
             </includes>
         </fileSet>
 
@@ -274,17 +240,17 @@
             </includes>
         </fileSet>
 
-		<!-- TODO: Need to rename this file to INSTALL.txt -->
-		<fileSet>
+	<!-- TODO: Need to rename this file to INSTALL.txt -->
+	<fileSet>
             <directory>../../release-docs/readme-files/</directory>
             <outputDirectory></outputDirectory>
             <includes>
                 <include>installation-std-bin.txt</include>
             </includes>
-		</fileSet>
+	</fileSet>
 
-		<!-- TODO: Need to add filters to update the version strings within the files -->
-		<fileSet>
+	<!-- TODO: Need to add filters to update the version strings within the files -->
+	<fileSet>
             <directory>../../</directory>
             <outputDirectory></outputDirectory>
             <includes>
@@ -293,7 +259,7 @@
                 <include>README.txt</include>
                 <include>release-notes.html</include>
             </includes>
-		</fileSet>
+	</fileSet>
 
         <!-- copy samples -->
         <fileSet>
@@ -348,9 +314,9 @@
                  <exclude>org.apache.geronimo.specs:geronimo-j2ee-jacc_1.0_spec:jar</exclude>
                  <exclude>org.apache.geronimo.specs:geronimo-j2ee-management_1.0_spec:jar</exclude>
                  <exclude>org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar</exclude>
-<!--
+                 <!--
                  <exclude>org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar</exclude>
--->
+                 -->
                  <exclude>org.apache.geronimo.specs:geronimo-jsp_2.0_spec:jar</exclude>
                  <exclude>org.apache.activemq:activemq-console:jar</exclude>
                  <exclude>org.apache.activemq:activemq-core:jar</exclude>
@@ -358,7 +324,9 @@
                  <exclude>org.apache.activemq:activemq-optional:jar</exclude>
                  <exclude>org.apache.activemq:activemq-optional:jar</exclude>
                  <exclude>org.apache.activemq:activemq-web:jar</exclude>
+		 <!--
                  <exclude>org.apache.activemq:activemq:jar</exclude>
+		 -->
                  <exclude>org.apache.activemq:activemq-web-demo:war</exclude>
                  <exclude>xstream:xstream:jar</exclude>
                  <exclude>xom:xom:jar</exclude>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message