Skip to content

Commit 30d7a45

Browse files
committed
automatic activation of java11 & 17 profiles https://github.com/ChronicleEnterprise/RootPom/issues/218
1 parent aab68da commit 30d7a45

1 file changed

Lines changed: 4 additions & 15 deletions

File tree

pom.xml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>net.openhft</groupId>
2323
<artifactId>java-parent-pom</artifactId>
24-
<version>1.1.30</version>
24+
<version>1.1.31</version>
2525
<relativePath />
2626
</parent>
2727

@@ -197,6 +197,9 @@
197197
</profile>
198198
<profile>
199199
<id>java11</id>
200+
<activation>
201+
<jdk>[11,</jdk>
202+
</activation>
200203
<properties>
201204
<maven.compiler.release>11</maven.compiler.release>
202205
</properties>
@@ -210,20 +213,6 @@
210213
<target>11</target>
211214
</configuration>
212215
</plugin>
213-
<plugin>
214-
<groupId>org.apache.maven.plugins</groupId>
215-
<artifactId>maven-surefire-plugin</artifactId>
216-
<configuration>
217-
<forkCount>1</forkCount>
218-
<reuseForks>true</reuseForks>
219-
<runOrder>hourly</runOrder>
220-
<argLine>
221-
-Duser.timezone=UTC
222-
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
223-
--add-opens=java.base/java.lang=ALL-UNNAMED
224-
</argLine>
225-
</configuration>
226-
</plugin>
227216
</plugins>
228217
</build>
229218
</profile>

0 commit comments

Comments
 (0)