You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2008/01/22 20:21:00 UTC
svn commit: r614288 -
/myfaces/myfaces-build-tools/trunk/maven2-plugins/pom.xml
Author: skitching
Date: Tue Jan 22 11:20:58 2008
New Revision: 614288
URL: http://svn.apache.org/viewvc?rev=614288&view=rev
Log:
Ensure NOTICE.txt and LICENSE.txt are added to javadoc jars.
Modified:
myfaces/myfaces-build-tools/trunk/maven2-plugins/pom.xml
Modified: myfaces/myfaces-build-tools/trunk/maven2-plugins/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-plugins/pom.xml?rev=614288&r1=614287&r2=614288&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-plugins/pom.xml (original)
+++ myfaces/myfaces-build-tools/trunk/maven2-plugins/pom.xml Tue Jan 22 11:20:58 2008
@@ -64,6 +64,7 @@
<directory>${basedir}/src/main/resources</directory>
</resource>
</resources>
+
<pluginManagement>
<plugins>
<plugin>
@@ -79,7 +80,38 @@
</plugin>
</plugins>
</pluginManagement>
+
+ <plugins>
+ <plugin>
+ <!--
+ - Copy LICENSE.txt and NOTICE.txt so that they are included
+ - in the -javadoc jar file for the component.
+ -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>javadoc.resources</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <copy todir="${project.build.directory}/apidocs/META-INF">
+ <fileset dir="${basedir}">
+ <include name="LICENSE.txt" />
+ <include name="NOTICE.txt" />
+ </fileset>
+ </copy>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
</build>
+
<reporting>
<plugins>
<plugin>