Skip to content

Commit f37da9b

Browse files
committed
Remove deprecated profile
1 parent 482f1e0 commit f37da9b

File tree

1 file changed

+53
-87
lines changed

1 file changed

+53
-87
lines changed

pom.xml

Lines changed: 53 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -139,95 +139,52 @@
139139
<logback.version>1.2.3</logback.version>
140140
<netty.version>4.1.118.Final</netty.version>
141141
<netty-tcnative-boringssl.version>2.0.69.Final</netty-tcnative-boringssl.version>
142+
<javadoc.opts>-Xdoclint:none</javadoc.opts>
143+
<java.surefire.options>
144+
-Xmx1g
145+
--add-opens java.base/java.lang=ALL-UNNAMED
146+
--add-opens java.base/java.lang.module=ALL-UNNAMED
147+
--add-opens java.base/java.lang.reflect=ALL-UNNAMED
148+
--add-opens java.base/java.util=ALL-UNNAMED
149+
--add-opens java.base/java.net=ALL-UNNAMED
150+
--add-opens java.base/java.io=ALL-UNNAMED
151+
--add-opens java.base/java.util.regex=ALL-UNNAMED
152+
--add-opens java.base/java.security=ALL-UNNAMED
153+
--add-opens java.naming/javax.naming.spi=ALL-UNNAMED
154+
--add-opens java.base/javax.security.auth.login=ALL-UNNAMED
155+
--add-opens java.base/java.nio.charset=ALL-UNNAMED
156+
--add-opens java.base/java.security.cert=ALL-UNNAMED
157+
--add-opens java.base/jdk.internal.loader=ALL-UNNAMED
158+
--add-opens java.base/jdk.internal.ref=ALL-UNNAMED
159+
--add-opens java.base/jdk.internal.reflect=ALL-UNNAMED
160+
--add-opens java.base/jdk.internal.math=ALL-UNNAMED
161+
--add-opens java.base/jdk.internal.module=ALL-UNNAMED
162+
--add-opens java.base/jdk.internal.util.jar=ALL-UNNAMED
163+
--add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED
164+
--add-opens java.base/sun.nio.ch=ALL-UNNAMED
165+
--add-opens java.base/java.util.concurrent=ALL-UNNAMED
166+
--add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED
167+
--add-opens java.base/java.nio=ALL-UNNAMED
168+
--add-opens java.logging/java.util.logging=ALL-UNNAMED
169+
170+
--add-exports java.base/jdk.internal.ref=ALL-UNNAMED
171+
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED
172+
--add-exports java.base/sun.nio.ch=ALL-UNNAMED
173+
--add-exports java.security.jgss/sun.security.krb5=ALL-UNNAMED
174+
--add-exports java.base/sun.security.util=ALL-UNNAMED
175+
--add-exports java.base/sun.security.jca=ALL-UNNAMED
176+
--add-exports java.base/sun.security.x509=ALL-UNNAMED
177+
--add-exports java.base/jdk.internal.util.random=ALL-UNNAMED
178+
--add-exports java.base/sun.security.tools.keytool=ALL-UNNAMED
179+
--add-exports java.management.rmi/com.sun.jmx.remote.internal.rmi=ALL-UNNAMED
180+
--add-exports java.rmi/sun.rmi.registry=ALL-UNNAMED
181+
--add-exports java.rmi/sun.rmi.server=ALL-UNNAMED
182+
--add-exports java.sql/java.sql=ALL-UNNAMED
183+
</java.surefire.options>
184+
<javadoc.options>-J-Xmx2g</javadoc.options>
142185
</properties>
143186
<!-- Profiles -->
144187
<profiles>
145-
<profile>
146-
<id>set-compiler-release</id>
147-
<activation>
148-
<jdk>[11,)</jdk>
149-
</activation>
150-
<build>
151-
<pluginManagement>
152-
<plugins>
153-
<plugin>
154-
<groupId>org.apache.maven.plugins</groupId>
155-
<artifactId>maven-compiler-plugin</artifactId>
156-
<version>3.14.0</version>
157-
<configuration>
158-
<fork>true</fork>
159-
<compilerArgs>
160-
<arg>-XDignore.symbol.file</arg>
161-
<arg>-Xlint:unchecked</arg>
162-
<arg>--add-exports</arg>
163-
<arg>java.base/sun.security.util=ALL-UNNAMED</arg>
164-
<arg>--add-exports</arg>
165-
<arg>java.base/sun.security.x509=ALL-UNNAMED</arg>
166-
<arg>--add-exports</arg>
167-
<arg>java.base/sun.net.www.protocol.https=ALL-UNNAMED</arg>
168-
<arg>--add-exports</arg>
169-
<arg>java.security.jgss/sun.security.krb5=ALL-UNNAMED</arg>
170-
</compilerArgs>
171-
</configuration>
172-
</plugin>
173-
</plugins>
174-
</pluginManagement>
175-
</build>
176-
</profile>
177-
<profile>
178-
<id>jdk11.options</id>
179-
<activation>
180-
<jdk>[11,)</jdk>
181-
</activation>
182-
<properties>
183-
<!-- Disable Doclint on JDK8+ -->
184-
<javadoc.opts>-Xdoclint:none</javadoc.opts>
185-
<!-- Surefire Argument Line -->
186-
<java.surefire.options>
187-
-Xmx1g
188-
--add-opens java.base/java.lang=ALL-UNNAMED
189-
--add-opens java.base/java.lang.module=ALL-UNNAMED
190-
--add-opens java.base/java.lang.reflect=ALL-UNNAMED
191-
--add-opens java.base/java.util=ALL-UNNAMED
192-
--add-opens java.base/java.net=ALL-UNNAMED
193-
--add-opens java.base/java.io=ALL-UNNAMED
194-
--add-opens java.base/java.util.regex=ALL-UNNAMED
195-
--add-opens java.base/java.security=ALL-UNNAMED
196-
--add-opens java.naming/javax.naming.spi=ALL-UNNAMED
197-
--add-opens java.base/javax.security.auth.login=ALL-UNNAMED
198-
--add-opens java.base/java.nio.charset=ALL-UNNAMED
199-
--add-opens java.base/java.security.cert=ALL-UNNAMED
200-
--add-opens java.base/jdk.internal.loader=ALL-UNNAMED
201-
--add-opens java.base/jdk.internal.ref=ALL-UNNAMED
202-
--add-opens java.base/jdk.internal.reflect=ALL-UNNAMED
203-
--add-opens java.base/jdk.internal.math=ALL-UNNAMED
204-
--add-opens java.base/jdk.internal.module=ALL-UNNAMED
205-
--add-opens java.base/jdk.internal.util.jar=ALL-UNNAMED
206-
--add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED
207-
--add-opens java.base/sun.nio.ch=ALL-UNNAMED
208-
--add-opens java.base/java.util.concurrent=ALL-UNNAMED
209-
--add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED
210-
--add-opens java.base/java.nio=ALL-UNNAMED
211-
--add-opens java.logging/java.util.logging=ALL-UNNAMED
212-
213-
--add-exports java.base/jdk.internal.ref=ALL-UNNAMED
214-
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED
215-
--add-exports java.base/sun.nio.ch=ALL-UNNAMED
216-
--add-exports java.security.jgss/sun.security.krb5=ALL-UNNAMED
217-
--add-exports java.base/sun.security.util=ALL-UNNAMED
218-
--add-exports java.base/sun.security.jca=ALL-UNNAMED
219-
--add-exports java.base/sun.security.x509=ALL-UNNAMED
220-
--add-exports java.base/jdk.internal.util.random=ALL-UNNAMED
221-
--add-exports java.base/sun.security.tools.keytool=ALL-UNNAMED
222-
--add-exports java.management.rmi/com.sun.jmx.remote.internal.rmi=ALL-UNNAMED
223-
--add-exports java.rmi/sun.rmi.registry=ALL-UNNAMED
224-
--add-exports java.rmi/sun.rmi.server=ALL-UNNAMED
225-
--add-exports java.sql/java.sql=ALL-UNNAMED
226-
</java.surefire.options>
227-
<!-- JavaDoc Setting Properties -->
228-
<javadoc.options>-J-Xmx2g</javadoc.options>
229-
</properties>
230-
</profile>
231188
<profile>
232189
<id>release-sign-artifacts</id>
233190
<activation>
@@ -2158,7 +2115,16 @@
21582115
<configuration>
21592116
<fork>true</fork>
21602117
<compilerArgs>
2161-
<arg>-XDignore.symbol.file=true</arg>
2118+
<arg>-XDignore.symbol.file</arg>
2119+
<arg>-Xlint:unchecked</arg>
2120+
<arg>--add-exports</arg>
2121+
<arg>java.base/sun.security.util=ALL-UNNAMED</arg>
2122+
<arg>--add-exports</arg>
2123+
<arg>java.base/sun.security.x509=ALL-UNNAMED</arg>
2124+
<arg>--add-exports</arg>
2125+
<arg>java.base/sun.net.www.protocol.https=ALL-UNNAMED</arg>
2126+
<arg>--add-exports</arg>
2127+
<arg>java.security.jgss/sun.security.krb5=ALL-UNNAMED</arg>
21622128
</compilerArgs>
21632129
</configuration>
21642130
</plugin>

0 commit comments

Comments
 (0)