add jdk11 profile

Signed-off-by: olivier lamy <olamy@webtide.com>
This commit is contained in:
olivier lamy 2018-03-16 12:23:20 +10:00
parent 0b44f47b45
commit 98875c3097
1 changed files with 46 additions and 1 deletions

47
pom.xml
View File

@ -1006,7 +1006,7 @@
</dependencyManagement>
<profiles>
<!-- use last snapshot of jacoco and failsafe for jdk10 -->
<!-- use last snapshot of jacoco for jdk10 -->
<profile>
<id>jdk10</id>
<activation>
@ -1050,6 +1050,51 @@
</pluginRepository>
</pluginRepositories>
</profile>
<profiles>
<!-- use last snapshot of jacoco for jdk11 -->
<profile>
<id>jdk11</id>
<activation>
<jdk>11</jdk>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.1-SNAPSHOT</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<pluginRepositories>
<pluginRepository>
<id>oss.snapshots</id>
<name>OSS Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>apache.snapshots</id>
<url>https://repository.apache.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>errorprone</id>
<build>