Open GoogleCodeExporter opened 9 years ago
A work-around to this issue is to configure assertions in Maven as follows:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- This does the trick -->
<argLine>-ea</argLine>
</configuration>
</plugin>
</plugins>
</build>
Beware: using the tag <enableAssertions> does NOT work.
Original comment by willianc...@gmail.com
on 15 Jul 2015 at 1:50
Original issue reported on code.google.com by
drvdijk
on 12 Mar 2012 at 11:20Attachments: