You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2008/01/20 19:43:35 UTC

svn commit: r613647 - /myfaces/myfaces-build-tools/trunk/maven2-plugins/pom.xml

Author: skitching
Date: Sun Jan 20 10:43:34 2008
New Revision: 613647

URL: http://svn.apache.org/viewvc?rev=613647&view=rev
Log:
Automatically copy NOTICE.txt and LICENSE.txt from module root dir to jar META-INF.

Modified:
    myfaces/myfaces-build-tools/trunk/maven2-plugins/pom.xml

Modified: myfaces/myfaces-build-tools/trunk/maven2-plugins/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-plugins/pom.xml?rev=613647&r1=613646&r2=613647&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-plugins/pom.xml (original)
+++ myfaces/myfaces-build-tools/trunk/maven2-plugins/pom.xml Sun Jan 20 10:43:34 2008
@@ -51,6 +51,19 @@
   <inceptionYear>2001</inceptionYear>
 
   <build>
+    <resources>
+      <resource>
+        <directory>${basedir}</directory>
+        <targetPath>META-INF</targetPath>
+        <includes>
+          <include>NOTICE.txt</include>
+          <include>LICENSE.txt</include>
+        </includes>
+      </resource>
+      <resource>
+        <directory>${basedir}/src/main/resources</directory>
+      </resource>
+    </resources>
     <pluginManagement>
       <plugins>
         <plugin>
@@ -67,7 +80,6 @@
       </plugins>
     </pluginManagement>
   </build>
-
   <reporting>
     <plugins>
       <plugin>