Skip to content
Snippets Groups Projects
Commit 9cfe210e authored by Vincent Massol's avatar Vincent Massol
Browse files

XWIKI-11745: Fail the build when unit test output content to stdout or stderr

* Exclude a file since it makes jacoco fail
parent 3718d0c7
No related branches found
No related tags found
No related merge requests found
...@@ -161,6 +161,18 @@ ...@@ -161,6 +161,18 @@
</excludes> </excludes>
</configuration> </configuration>
</plugin> </plugin>
<!-- Don't run Jacoco on com/steadystate/css/parser/SACParserCSS21TokenManager since it generates an error,
see http://stackoverflow.com/questions/14559117/how-do-i-disable-jacoco-agent-after-jacocoreport
TODO: remove when https://sourceforge.net/p/cssparser/bugs/53/ is fixed -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>**com.steadystate.css.parser.SACParserCSS21TokenManager</exclude>
</excludes>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment