Avoid SUREFIRE-1439 by using 2.21.0-SNAPSHOT when building with JDK 10

See gh-12028
This commit is contained in:
Andy Wilkinson 2018-03-02 15:14:45 +00:00
parent f80343b2ea
commit a7d05d4276

View File

@ -776,5 +776,23 @@
</plugins>
</build>
</profile>
<profile>
<id>java10</id>
<activation>
<jdk>10</jdk>
</activation>
<properties>
<maven-surefire-plugin.version>2.21.0-SNAPSHOT</maven-surefire-plugin.version>
</properties>
<pluginRepositories>
<pluginRepository>
<id>apache-snapshots</id>
<url>https://repository.apache.org/content/groups/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
</project>