axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sume...@apache.org
Subject svn commit: r551955 - in /webservices/axis2/trunk/java: etc/maven2-src-assembly.xml pom.xml
Date Fri, 29 Jun 2007 16:53:29 GMT
Author: sumedha
Date: Fri Jun 29 09:53:28 2007
New Revision: 551955

URL: http://svn.apache.org/viewvc?view=rev&rev=551955
Log:
Maven2 Build script changes for creating src distribution artifact.Known issues : content
filtering is not working

Added:
    webservices/axis2/trunk/java/etc/maven2-src-assembly.xml   (with props)
Modified:
    webservices/axis2/trunk/java/pom.xml

Added: webservices/axis2/trunk/java/etc/maven2-src-assembly.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/etc/maven2-src-assembly.xml?view=auto&rev=551955
==============================================================================
--- webservices/axis2/trunk/java/etc/maven2-src-assembly.xml (added)
+++ webservices/axis2/trunk/java/etc/maven2-src-assembly.xml Fri Jun 29 09:53:28 2007
@@ -0,0 +1,106 @@
+<assembly>
+    <id>src</id>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <formats>
+	<!-- <format>tar.gz</format> -->
+        <format>zip</format>
+    </formats>
+
+    <fileSets>
+        <fileSet>
+            <directory>.</directory>
+            <outputDirectory>axis2-${version}-src</outputDirectory>
+            <includes>
+                <include>**/etc/**</include>
+                <include>**/modules/adb/**</include>
+                <include>**/modules/adb-codegen/**</include>
+                <include>**/modules/addressing/**</include>
+                <include>**/modules/clustering/**</include>
+                <include>**/modules/codegen/**</include>
+                <include>**/modules/fastinfoset/**</include>
+                <include>**/modules/integration/**</include>
+                <include>**/modules/java2wsdl/**</include>
+                <include>**/modules/jaxbri/**</include>
+                <include>**/modules/jaxws/**</include>
+                <include>**/modules/jaxws-api/**</include>
+                <include>**/modules/jibx/**</include>
+                <include>**/modules/json/**</include>
+                <include>**/modules/jws-api/**</include>
+                <include>**/modules/kernel/**</include>
+                <include>**/modules/metadata/**</include>
+                <include>**/modules/mex/**</include>
+                <include>**/modules/mex-mar/**</include>
+                <include>**/modules/mtompolicy/**</include>
+                <include>**/modules/ping/**</include>
+                <include>**/modules/saaj/**</include>
+                <include>**/modules/saaj-api/**</include>
+                <include>**/modules/samples/**</include>
+                <include>**/modules/scripting/**</include>
+                <include>**/modules/soapmonitor/**</include>
+                <include>**/modules/spring/**</include>
+                <include>**/modules/tool/**</include>
+                <include>**/modules/webapp/**</include>
+                <include>**/modules/xmlbeans/**</include>
+            </includes>
+
+	    <excludes>
+		<exclude>**/SameServiceAddingTest.java</exclude>
+		<exclude>**/target/**</exclude>
+		<exclude>**/modules/samples/eventing/**</exclude>
+		<exclude>**/modules/samples/security/**</exclude>
+		<exclude>xdocs/**</exclude>
+		<!-- 
+		<exclude>**/*class*/**</exclude> 
+		Above prevents following class being copied.
+		/modules/kernel/src/org/apache/axis2/classloader/MultiParentClassLoader.java
+		-->
+		<exclude>**/.svn/**</exclude>
+		<exclude>**/bin/**</exclude>
+		<exclude>**/*.log</exclude>
+		<exclude>.*</exclude>
+		<exclude>**/*.license</exclude>
+		<exclude>**/*.iml</exclude>
+	    </excludes>
+
+        </fileSet>
+
+
+	<!-- TODO : (start) copy following files with filtering on -->
+        <fileSet>
+            <directory>./etc</directory>
+            <outputDirectory>axis2-${version}-src/etc</outputDirectory>
+            <includes>
+                <include>project.properties</include>
+            </includes>
+        </fileSet>
+        <fileSet>
+            <directory>.</directory>
+            <outputDirectory>axis2-${version}-src</outputDirectory>
+            <includes>
+                <include>NOTICE.txt</include>
+            </includes>
+        </fileSet>
+	<!-- TODO : Copy the release documents -->
+
+	<!-- TODO : (end) copy following files with filtering on -->
+
+        <fileSet>
+            <directory>.</directory>
+            <outputDirectory>axis2-${version}-src</outputDirectory>
+            <includes>
+                <include>LICENSE.txt</include>
+            </includes>
+        </fileSet>
+
+        <fileSet>
+            <directory>.</directory>
+            <outputDirectory>axis2-${version}-src</outputDirectory>
+            <includes>
+                <include>project.xml</include>
+                <include>maven.xml</include>
+                <include>pom.xml</include>
+            </includes>
+        </fileSet>
+
+    </fileSets>
+</assembly>

Propchange: webservices/axis2/trunk/java/etc/maven2-src-assembly.xml
------------------------------------------------------------------------------
    svn:executable = *

Modified: webservices/axis2/trunk/java/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/pom.xml?view=diff&rev=551955&r1=551954&r2=551955
==============================================================================
--- webservices/axis2/trunk/java/pom.xml (original)
+++ webservices/axis2/trunk/java/pom.xml Fri Jun 29 09:53:28 2007
@@ -174,7 +174,34 @@
 						</configuration>
 					</execution>
 				</executions>
-			</plugin>
+			</plugin>
+			<!-- 
+				Distribution Packaging for maven2 is still in preliminarily stage.
+				Please uncomment following section, if you are interested to see
+				the current status. 
+			-->
+			<!--
+		        <plugin>
+			            <groupId>org.apache.maven.plugins</groupId>
+				    <artifactId>maven-assembly-plugin</artifactId>
+			            <version>2.1</version>
+			            <executions>
+			                <execution>
+        	        		    <id>distribution-package</id>
+			                    <phase>install</phase>
+			                    <goals>
+			                        <goal>single</goal>
+        	        		    </goals>
+			                    <configuration>
+        	        		        <descriptors>
+        	        		            <descriptor>etc/maven2-src-assembly.xml</descriptor>
+        	        		        </descriptors>
+        	        		        <finalName>axis2-${version}</finalName>
+        	        		    </configuration>
+        	        		</execution>
+			            </executions>
+		        </plugin>
+			-->
 		</plugins>
 	</build>
 </project>



---------------------------------------------------------------------
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