hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r745817 - in /httpcomponents/httpcore/trunk: module-main/src/main/resources/META-INF/ module-nio/src/main/resources/META-INF/ module-osgi-bundle/src/main/resources/ pom.xml
Date Thu, 19 Feb 2009 11:11:17 GMT
Author: olegk
Date: Thu Feb 19 11:11:16 2009
New Revision: 745817

URL: http://svn.apache.org/viewvc?rev=745817&view=rev
Log:
Use remote resources plugin to automatically add NOTICE and LICENSE files to all artifacts

Removed:
    httpcomponents/httpcore/trunk/module-main/src/main/resources/META-INF/
    httpcomponents/httpcore/trunk/module-nio/src/main/resources/META-INF/
    httpcomponents/httpcore/trunk/module-osgi-bundle/src/main/resources/
Modified:
    httpcomponents/httpcore/trunk/pom.xml

Modified: httpcomponents/httpcore/trunk/pom.xml
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/pom.xml?rev=745817&r1=745816&r2=745817&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/pom.xml (original)
+++ httpcomponents/httpcore/trunk/pom.xml Thu Feb 19 11:11:16 2009
@@ -77,6 +77,26 @@
 
   <build>
     <plugins>
+      <!-- Add NOTICE and LICENSE to generated JAR -->
+      <plugin>
+        <artifactId>maven-remote-resources-plugin</artifactId>
+        <version>1.0</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>process</goal>
+            </goals>
+            <configuration>
+              <resourceBundles>
+                <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
+              </resourceBundles>
+              <properties>
+                  <addLicense>true</addLicense>
+              </properties>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <artifactId>maven-source-plugin</artifactId>
         <executions>



Mime
View raw message