mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
added java10 and java11 profiles
This commit is contained in:
@@ -408,6 +408,45 @@
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>java10</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.21.0</version>
|
||||
<configuration>
|
||||
<jvm>${JAVA_10_HOME}/bin/java</jvm>
|
||||
<argLine>--add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-exports
|
||||
java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.base/sun.nio.ch=ALL-UNNAMED
|
||||
</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>java11</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.21.0</version>
|
||||
<configuration>
|
||||
<jvm>${JAVA_11_HOME}/bin/java</jvm>
|
||||
<argLine>--add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-exports
|
||||
java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.base/sun.nio.ch=ALL-UNNAMED
|
||||
</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<scm>
|
||||
<url>scm:git:git@github.com:OpenHFT/Chronicle-Map.git</url>
|
||||
<connection>scm:git:git@github.com:OpenHFT/Chronicle-Map.git</connection>
|
||||
|
||||
Reference in New Issue
Block a user