You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kato-commits@incubator.apache.org by mo...@apache.org on 2009/11/09 13:32:25 UTC

svn commit: r834057 - /incubator/kato/trunk/org.apache.kato/pom.xml

Author: monteith
Date: Mon Nov  9 13:32:22 2009
New Revision: 834057

URL: http://svn.apache.org/viewvc?rev=834057&view=rev
Log:
Add LICENSE, NOTICE and DISCLAIMER.txt to jar files.

Modified:
    incubator/kato/trunk/org.apache.kato/pom.xml

Modified: incubator/kato/trunk/org.apache.kato/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/pom.xml?rev=834057&r1=834056&r2=834057&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/pom.xml (original)
+++ incubator/kato/trunk/org.apache.kato/pom.xml Mon Nov  9 13:32:22 2009
@@ -44,7 +44,29 @@
 					<target>1.6</target>
 				</configuration>
 			</plugin>
+
+
 		</plugins>
+
+        <resources>
+            <!-- Add NOTICEs, etc. to jars under META-INF directory. -->
+            <resource>
+                <targetPath>META-INF</targetPath>
+                    <directory>${basedir}/..</directory>
+                    <includes>
+                        <include>DISCLAIMER.txt</include>
+                        <include>LICENSE</include>
+                        <include>NOTICE</include>
+                    </includes>
+            </resource>
+
+            <!-- Previous resource would override default behavour - this restores it -->
+            <resource>
+                <targetPath>.</targetPath>
+                <directory>${basedir}/src/main/resources</directory>
+            </resource>
+        </resources>
+
 	</build>
 	
 	 <reporting>
@@ -59,4 +81,4 @@
     </plugins>
   </reporting>
 	
-</project>
\ No newline at end of file
+</project>