axis-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r922983 - /axis/axis2/java/core/trunk/modules/soapmonitor/module/pom.xml
Date Sun, 14 Mar 2010 22:17:48 GMT
Author: veithen
Date: Sun Mar 14 22:17:47 2010
New Revision: 922983

URL: http://svn.apache.org/viewvc?rev=922983&view=rev
Log:
Use maven-remote-resources-plugin to copy legal files (see also r777934).

Modified:
    axis/axis2/java/core/trunk/modules/soapmonitor/module/pom.xml

Modified: axis/axis2/java/core/trunk/modules/soapmonitor/module/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/soapmonitor/module/pom.xml?rev=922983&r1=922982&r2=922983&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/soapmonitor/module/pom.xml (original)
+++ axis/axis2/java/core/trunk/modules/soapmonitor/module/pom.xml Sun Mar 14 22:17:47 2010
@@ -45,21 +45,24 @@
         </dependency>
     </dependencies>
     <build>
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-            </resource>
-            <resource>
-                <directory>../../..</directory>
-                <includes>
-                    <include>NOTICE.txt</include>
-                    <include>LICENSE.txt</include>
-                </includes>
-                <filtering>false</filtering>
-            </resource>
-        </resources>
         <plugins>
             <plugin>
+                <artifactId>maven-remote-resources-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>legal-files</id>
+                        <goals>
+                            <goal>process</goal>
+                        </goals>
+                        <configuration>
+                            <resourceBundles>
+                                <resourceBundle>org.apache.axis2:axis2-resource-bundle:${pom.version}</resourceBundle>
+                            </resourceBundles>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
                 <groupId>org.apache.axis2</groupId>
                 <artifactId>axis2-mar-maven-plugin</artifactId>
                 <version>${mar.plugin.version}</version>



Mime
View raw message