Author: mikedd
Date: Tue Mar 3 17:02:14 2009
New Revision: 749659
URL: http://svn.apache.org/viewvc?rev=749659&view=rev
Log:
OPENJPA-951
Modified:
openjpa/branches/1.2.x/pom.xml
Modified: openjpa/branches/1.2.x/pom.xml
URL:
http://svn.apache.org/viewvc/openjpa/branches/1.2.x/pom.xml?rev=749659&r1=749658&r2=749659&view=diff
==============================================================================
--- openjpa/branches/1.2.x/pom.xml (original)
+++ openjpa/branches/1.2.x/pom.xml Tue Mar 3 17:02:14 2009
@@ -107,6 +107,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.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>