Author: allee8285
Date: Mon Sep 13 18:46:44 2010
New Revision: 996637
URL: http://svn.apache.org/viewvc?rev=996637&view=rev
Log:
OPENJPA-1791 Collect test base classes in daytrader module.
Modified:
openjpa/trunk/openjpa-integration/daytrader/pom.xml
Modified: openjpa/trunk/openjpa-integration/daytrader/pom.xml
URL:
http://svn.apache.org/viewvc/openjpa/trunk/openjpa-integration/daytrader/pom.xml?rev=996637&r1=996636&r2=996637&view=diff
==============================================================================
--- openjpa/trunk/openjpa-integration/daytrader/pom.xml (original)
+++ openjpa/trunk/openjpa-integration/daytrader/pom.xml Mon Sep 13 18:46:44 2010
@@ -94,6 +94,33 @@
<build>
<plugins>
+ <!-- Collect the common test support files from
o-p-j-persistence-jdbc.tests.jar -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>test-compile</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.openjpa</groupId>
+
<artifactId>openjpa-persistence-jdbc</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+
<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
+
<includes>org/apache/openjpa/persistence/test/*.class</includes>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
<!-- old way of using antrun to enhance classes
<plugin>
<groupId>org.apache.maven.plugins</groupId>