You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by mi...@apache.org on 2009/03/31 14:03:28 UTC
svn commit: r760411 - /openjpa/branches/1.0.x/pom.xml
Author: mikedd
Date: Tue Mar 31 12:03:25 2009
New Revision: 760411
URL: http://svn.apache.org/viewvc?rev=760411&view=rev
Log:
OPENJPA-951
Modified:
openjpa/branches/1.0.x/pom.xml
Modified: openjpa/branches/1.0.x/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/branches/1.0.x/pom.xml?rev=760411&r1=760410&r2=760411&view=diff
==============================================================================
--- openjpa/branches/1.0.x/pom.xml (original)
+++ openjpa/branches/1.0.x/pom.xml Tue Mar 31 12:03:25 2009
@@ -141,6 +141,37 @@
</modules>
<build>
<plugins>
+ <plugin>
+ <!--
+ javadoc plugin doesn't copy resources like the normal jar plugin.
+ Unzip license,etc from normal jar and add to javadoc jar.
+ -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>javadoc.resources</id>
+ <phase>package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <!-- create output dir for nested parent poms -->
+ <mkdir dir="${project.build.directory}" />
+ <unzip dest="${project.build.directory}/apidocs">
+ <patternset>
+ <include name="META-INF/*.txt" />
+ </patternset>
+ <fileset dir="${project.build.directory}">
+ <include name="${artifactId}-${pom.version}.jar" />
+ </fileset>
+ </unzip>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rat-maven-plugin</artifactId>