Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Commit

Permalink
test: deny illegal access in java >= 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Norberg committed Aug 13, 2018
1 parent 3674469 commit 7502cb6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,25 @@
</build>

<profiles>
<profile>
<id>java-9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.21.0</version>
<configuration>
<argLine>--illegal-access=deny</argLine>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<id>coverage</id>
<build>
Expand Down

0 comments on commit 7502cb6

Please sign in to comment.