You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2009/02/22 19:48:08 UTC

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

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>