Avoid problems with Surefire when building samples with JDK 10

See gh-12028
pull/12337/head
Andy Wilkinson 7 years ago
parent 1f5143de70
commit 1bd0313c3d

@ -247,4 +247,24 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<profiles>
<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> </project>

Loading…
Cancel
Save