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/19 12:11:17 UTC
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
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>