hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r746799 - in /httpcomponents/httpclient/trunk: module-client/src/main/resources/META-INF/ module-httpmime/src/main/resources/META-INF/ module-osgi-bundle/src/main/resources/ pom.xml
Date Sun, 22 Feb 2009 18:48:08 GMT
Author: olegk
Date: Sun Feb 22 18:48:08 2009
New Revision: 746799

URL: http://svn.apache.org/viewvc?rev=746799&view=rev
Log:
Use remote resources plugin to add LICENSE and NOTICE resources to the release artifacts

Removed:
    httpcomponents/httpclient/trunk/module-client/src/main/resources/META-INF/
    httpcomponents/httpclient/trunk/module-httpmime/src/main/resources/META-INF/
    httpcomponents/httpclient/trunk/module-osgi-bundle/src/main/resources/
Modified:
    httpcomponents/httpclient/trunk/pom.xml

Modified: httpcomponents/httpclient/trunk/pom.xml
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/pom.xml?rev=746799&r1=746798&r2=746799&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/pom.xml (original)
+++ httpcomponents/httpclient/trunk/pom.xml Sun Feb 22 18:48:08 2009
@@ -87,6 +87,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