You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by rd...@apache.org on 2008/11/17 23:14:51 UTC

svn commit: r718410 - /james/protocols/imap/trunk/pom.xml

Author: rdonkin
Date: Mon Nov 17 14:14:50 2008
New Revision: 718410

URL: http://svn.apache.org/viewvc?rev=718410&view=rev
Log:
Include NOTICE and LICENSE in jars

Modified:
    james/protocols/imap/trunk/pom.xml

Modified: james/protocols/imap/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/protocols/imap/trunk/pom.xml?rev=718410&r1=718409&r2=718410&view=diff
==============================================================================
--- james/protocols/imap/trunk/pom.xml (original)
+++ james/protocols/imap/trunk/pom.xml Mon Nov 17 14:14:50 2008
@@ -91,6 +91,28 @@
           </descriptorRefs>
         </configuration>
       </plugin>
+     <!-- Add NOTICE and LICENSE to generated JAR -->
+      <plugin>
+        <artifactId>maven-remote-resources-plugin</artifactId>
+        <version>1.0-alpha-5</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>process</goal>
+            </goals>
+            <configuration>
+              <resourceBundles>
+                <resourceBundle>org.apache:apache-jar-resource-bundle:1.2</resourceBundle>
+              </resourceBundles>
+              <properties>
+	              <!--  <preProjectText>PRE PROCESS TEXT</preProjectText>  -->
+	              <postProjectText>This file is automatically generated by dependencies declared in pom.xml</postProjectText>
+	              <addLicense>true</addLicense>
+              </properties>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <repositories>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org