Skip to content

Commit

Permalink
Add JaCoco agent in stream module when using code-coverage profile
Browse files Browse the repository at this point in the history
  • Loading branch information
eolivelli committed Aug 5, 2018
1 parent 2b14458 commit 1147b65
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion stream/pom.xml
Expand Up @@ -85,7 +85,25 @@
</plugins>
</build>
</profile>
<profile>
<!-- profile used by jenkins CI -->
<id>code-coverage</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- @{argLine} is a variable injected by JaCoCo-->
<argLine>@{argLine} -Xmx2G -Djava.net.preferIPv4Stack=true</argLine>
<reuseForks>false</reuseForks>
<!-- we want build to complete even in case of failures -->
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit 1147b65

Please sign in to comment.