Release 3.0.0-RC1 - Added generated test classes to the test source

paths in Maven
This commit is contained in:
Lukas Eder 2013-02-18 11:54:45 +01:00
parent 66470bc6c9
commit 4a8ffaea3b
2 changed files with 25 additions and 3 deletions

View File

@ -63,7 +63,7 @@
</execution>
</executions>
</plugin>
<!-- The jOOQ code generator plugin for Postgres / Sybase ASE / MySQL -->
<plugin>
<groupId>org.jooq</groupId>
@ -113,7 +113,7 @@
</dependency>
</dependencies>
</plugin>
<!-- The Scala compiler plugin -->
<plugin>
<groupId>org.scala-tools</groupId>
@ -128,7 +128,7 @@
</execution>
</executions>
</plugin>
<!-- The jar plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>

22
pom.xml
View File

@ -215,6 +215,28 @@
<useDefaultExcludes>true</useDefaultExcludes>
</configuration>
</plugin>
<!-- If generated test sources are available, attach them to the
test source path -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>add-test-sources</id>
<phase>generate-test-sources</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}/generated-test-sources/jooq-h2</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>