You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by fr...@apache.org on 2009/09/07 22:34:05 UTC

svn commit: r812267 - /incubator/empire-db/trunk/pom.xml

Author: francisdb
Date: Mon Sep  7 20:34:05 2009
New Revision: 812267

URL: http://svn.apache.org/viewvc?rev=812267&view=rev
Log:
add a DISCLAIMER to each jar's META-INF

Modified:
    incubator/empire-db/trunk/pom.xml

Modified: incubator/empire-db/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/pom.xml?rev=812267&r1=812266&r2=812267&view=diff
==============================================================================
--- incubator/empire-db/trunk/pom.xml (original)
+++ incubator/empire-db/trunk/pom.xml Mon Sep  7 20:34:05 2009
@@ -37,6 +37,7 @@
 		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 		<maven.compile.source>1.5</maven.compile.source>
 		<maven.compile.target>1.5</maven.compile.target>
+		<disclaimer.dir>{project.basedir}</disclaimer.dir>
 	</properties>
 	
 	<profiles>
@@ -47,8 +48,8 @@
 			</activation>
 			<modules>
 				<module>empire-db</module>
-    				<module>empire-db-struts2</module>
-    				<module>empire-db-examples</module>
+				<module>empire-db-struts2</module>
+				<module>empire-db-examples</module>
 			</modules>
 		</profile>
 		<profile>
@@ -256,8 +257,28 @@
 
 	<build>
 		<defaultGoal>install</defaultGoal>
+	
 		<plugins>
+		 	<plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-remote-resources-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>process</goal>
+                        </goals>
+                        <configuration>
+                            <resourceBundles>
+                                <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
+                                <!-- add the DISCLAIMER -->
+                                <resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.1</resourceBundle>
+                            </resourceBundles>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
+        
 		<pluginManagement>
 			<plugins>
 				<!-- Release Audit Tool mvn rat:check -->