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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to