move Jacoco-specific Surefire configuration to the Jacoco profile
This is so that the Jacoco-specific configuration doesn't have to
be commented out. It had to be commented out because if it wasn't,
IntelliJ IDEA wasn't able to run tests correctly [1].
[1]
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.org.apache.maven.plugins.maven-surefire-plugin}</version>
- <configuration>
- <!-- http://maven.apache.org/surefire/maven-surefire-plugin/faq.html#late-property-evaluation -->
- <!--<argLine>@{jacoco.argLine}</argLine>-->
- </configuration>
</plugin>
</plugins>
</pluginManagement>
<id>jacoco</id>
<build>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <!-- http://maven.apache.org/surefire/maven-surefire-plugin/faq.html#late-property-evaluation -->
+ <argLine>@{jacoco.argLine}</argLine>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
