OPENJPA-1408 - Add test binary and source jars to modules.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885942 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Albert Lee 2009-12-01 21:35:28 +00:00
parent 110cb20e79
commit eea93c8346
3 changed files with 19 additions and 3 deletions

View File

@ -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

View File

@ -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>

16
pom.xml
View File

@ -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>