You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by al...@apache.org on 2009/12/01 22:35:28 UTC

svn commit: r885942 - in /openjpa/trunk: openjpa-persistence-jdbc/pom.xml openjpa-persistence-locking/pom.xml pom.xml

Author: allee8285
Date: Tue Dec  1 21:35:28 2009
New Revision: 885942

URL: http://svn.apache.org/viewvc?rev=885942&view=rev
Log:
OPENJPA-1408 - Add test binary and source jars to modules.

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/pom.xml
    openjpa/trunk/openjpa-persistence-locking/pom.xml
    openjpa/trunk/pom.xml

Modified: openjpa/trunk/openjpa-persistence-jdbc/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/pom.xml?rev=885942&r1=885941&r2=885942&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/pom.xml (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/pom.xml Tue Dec  1 21:35:28 2009
@@ -826,9 +826,11 @@
                 <executions>
                     <execution>
                         <goals>
-                            <goal>test-jar</goal>
+                            <goal>jar</goal>
                         </goals>
                         <configuration>
+                            <classifier>test-base</classifier>
+                            <classesDirectory>${project.build.testOutputDirectory}</classesDirectory>
                             <includes>
                                 <!-- Note: Including entities in this jar will
                                      cause problems for any modules that need

Modified: openjpa/trunk/openjpa-persistence-locking/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-locking/pom.xml?rev=885942&r1=885941&r2=885942&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-locking/pom.xml (original)
+++ openjpa/trunk/openjpa-persistence-locking/pom.xml Tue Dec  1 21:35:28 2009
@@ -763,7 +763,7 @@
             <groupId>org.apache.openjpa</groupId>
             <artifactId>openjpa-persistence-jdbc</artifactId>
             <version>${pom.version}</version>
-            <classifier>tests</classifier>
+            <classifier>test-base</classifier>
             <scope>test</scope>
         </dependency>
         <dependency>

Modified: openjpa/trunk/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/pom.xml?rev=885942&r1=885941&r2=885942&view=diff
==============================================================================
--- openjpa/trunk/pom.xml (original)
+++ openjpa/trunk/pom.xml Tue Dec  1 21:35:28 2009
@@ -838,11 +838,25 @@
                         <phase>verify</phase>
                         <goals>
                             <goal>jar</goal>
+                            <goal>test-jar</goal>
                         </goals>
                     </execution>
                 </executions>
             </plugin>
-	</plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>attach-tests</id>
+                        <phase>verify</phase>
+                        <goals>
+                            <goal>test-jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+	    </plugins>
     </build>
 
     <reporting>