Skip to content
Snippets Groups Projects
Commit 5a045c19 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 8d81d152
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,6 @@
<artifactId>xwiki-rendering-syntax-confluence</artifactId>
<version>${rendering.version}</version>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>org.xwiki.commons</groupId>
......@@ -90,7 +89,6 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
......@@ -104,6 +102,18 @@
</excludes>
</configuration>
</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>
</build>
</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