You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by dw...@apache.org on 2010/07/28 00:09:13 UTC

svn commit: r979890 - /openjpa/tools/trunk/pom.xml

Author: dwoods
Date: Tue Jul 27 22:09:12 2010
New Revision: 979890

URL: http://svn.apache.org/viewvc?rev=979890&view=rev
Log:
OPENJPA-1747 create javadoc and sources jars during all builds

Modified:
    openjpa/tools/trunk/pom.xml

Modified: openjpa/tools/trunk/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/tools/trunk/pom.xml?rev=979890&r1=979889&r2=979890&view=diff
==============================================================================
--- openjpa/tools/trunk/pom.xml (original)
+++ openjpa/tools/trunk/pom.xml Tue Jul 27 22:09:12 2010
@@ -308,6 +308,34 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-source-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>attach-sources</id>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <configuration>
+                    <encoding>${project.build.sourceEncoding}</encoding>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>attach-javadocs</id>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
             <!-- Don't include in all builds for now
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>