Author: mikedd
Date: Tue Mar 31 12:08:12 2009
New Revision: 760412
URL: http://svn.apache.org/viewvc?rev=760412&view=rev
Log:
OPENJPA-951
Modified:
openjpa/branches/1.3.x/pom.xml
Modified: openjpa/branches/1.3.x/pom.xml
URL:
http://svn.apache.org/viewvc/openjpa/branches/1.3.x/pom.xml?rev=760412&r1=760411&r2=760412&view=diff
==============================================================================
--- openjpa/branches/1.3.x/pom.xml (original)
+++ openjpa/branches/1.3.x/pom.xml Tue Mar 31 12:08:12 2009
@@ -340,6 +340,37 @@
<id>license-verify-profile</id>
<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>