[java] Compile test sources only once
In the parent pom, the "default-testCompile" execution is disabled in favor of "java-test-compile". Just override the configuration for "java-test-compile" instead of re-adding the default execution.
This commit is contained in:
@@ -63,18 +63,13 @@
|
|||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>default-testCompile</id>
|
<id>java-test-compile</id>
|
||||||
<phase>test-compile</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>testCompile</goal>
|
|
||||||
</goals>
|
|
||||||
|
|
||||||
<!-- Have test-compile produce parameter metadata for reflection tests -->
|
<!-- Have test-compile produce parameter metadata for reflection tests -->
|
||||||
<configuration>
|
<configuration>
|
||||||
<parameters>true</parameters>
|
<parameters>true</parameters>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user