Skip to content

Commit 68813b7

Browse files
committed
[pom] Update jdk16 profile to 17 and rework how we handle argline
1 parent 1dd10a0 commit 68813b7

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

pom.xml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -121,24 +121,13 @@
121121

122122
<profiles>
123123
<profile>
124-
<id>jdk16on</id>
124+
<id>jdk17on</id>
125125
<activation>
126-
<jdk>[16,)</jdk>
126+
<jdk>[17,)</jdk>
127127
</activation>
128-
<build>
129-
<pluginManagement>
130-
<plugins>
131-
<plugin>
132-
<groupId>org.apache.maven.plugins</groupId>
133-
<artifactId>maven-surefire-plugin</artifactId>
134-
<configuration>
135-
<fork>true</fork>
136-
<argLine>${argLine} -Djdk.attach.allowAttachSelf --add-opens java.base/java.util=ALL-UNNAMED</argLine>
137-
</configuration>
138-
</plugin>
139-
</plugins>
140-
</pluginManagement>
141-
</build>
128+
<properties>
129+
<argLine>-Djdk.attach.allowAttachSelf --add-opens java.base/java.util=ALL-UNNAMED</argLine>
130+
</properties>
142131
</profile>
143132
</profiles>
144133

0 commit comments

Comments
 (0)