[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:
parent
cf2cf60fb0
commit
ac7373bbc0
@ -63,18 +63,13 @@
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-testCompile</id>
|
||||
<phase>test-compile</phase>
|
||||
<goals>
|
||||
<goal>testCompile</goal>
|
||||
</goals>
|
||||
|
||||
<execution>
|
||||
<id>java-test-compile</id>
|
||||
<!-- Have test-compile produce parameter metadata for reflection tests -->
|
||||
<configuration>
|
||||
<parameters>true</parameters>
|
||||
</configuration>
|
||||
</execution>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user