|
243 | 243 | <maven.plugin.scalatest.include.tags></maven.plugin.scalatest.include.tags>
|
244 | 244 | <maven.plugin.scalatest.debug.enabled>false</maven.plugin.scalatest.debug.enabled>
|
245 | 245 | <maven.plugin.spotless.version>2.30.0</maven.plugin.spotless.version>
|
246 |
| - <maven.plugin.jacoco.version>0.8.7</maven.plugin.jacoco.version> |
| 246 | + <maven.plugin.surefire.version>3.2.1</maven.plugin.surefire.version> |
| 247 | + <maven.plugin.surefire.argLine></maven.plugin.surefire.argLine> |
| 248 | + <maven.plugin.jacoco.version>0.8.11</maven.plugin.jacoco.version> |
247 | 249 | <maven.plugin.scalastyle.version>1.0.0</maven.plugin.scalastyle.version>
|
248 | 250 | <maven.plugin.shade.version>3.4.1</maven.plugin.shade.version>
|
249 | 251 | <maven.plugin.silencer.version>1.7.13</maven.plugin.silencer.version>
|
|
273 | 275 | <distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
|
274 | 276 | <distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
|
275 | 277 |
|
276 |
| - <extraJavaTestArgs>-XX:+IgnoreUnrecognizedVMOptions |
277 |
| - --add-opens=java.base/java.lang=ALL-UNNAMED |
278 |
| - --add-opens=java.base/java.lang.invoke=ALL-UNNAMED |
279 |
| - --add-opens=java.base/java.lang.reflect=ALL-UNNAMED |
280 |
| - --add-opens=java.base/java.io=ALL-UNNAMED |
281 |
| - --add-opens=java.base/java.net=ALL-UNNAMED |
282 |
| - --add-opens=java.base/java.nio=ALL-UNNAMED |
283 |
| - --add-opens=java.base/java.util=ALL-UNNAMED |
284 |
| - --add-opens=java.base/java.util.concurrent=ALL-UNNAMED |
285 |
| - --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED |
286 |
| - --add-opens=java.base/sun.nio.ch=ALL-UNNAMED |
287 |
| - --add-opens=java.base/sun.nio.cs=ALL-UNNAMED |
288 |
| - --add-opens=java.base/sun.security.action=ALL-UNNAMED |
289 |
| - --add-opens=java.base/sun.security.tools.keytool=ALL-UNNAMED |
290 |
| - --add-opens=java.base/sun.security.x509=ALL-UNNAMED |
291 |
| - --add-opens=java.base/sun.util.calendar=ALL-UNNAMED |
292 |
| - -Djdk.reflect.useDirectMethodHandle=false |
293 |
| - -Dio.netty.tryReflectionSetAccessible=true</extraJavaTestArgs> |
294 | 278 | <debugArgLine>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005</debugArgLine>
|
295 | 279 | </properties>
|
296 | 280 |
|
|
1697 | 1681 | <configuration>
|
1698 | 1682 | <skipTests>true</skipTests>
|
1699 | 1683 | <failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
|
1700 |
| - <argLine>${extraJavaTestArgs}</argLine> |
| 1684 | + <argLine>${maven.plugin.surefire.argLine}</argLine> |
1701 | 1685 | </configuration>
|
1702 | 1686 | </plugin>
|
1703 | 1687 | <!-- enable scalatest -->
|
|
1709 | 1693 | <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
|
1710 | 1694 | <junitxml>.</junitxml>
|
1711 | 1695 | <filereports>TestSuite.txt</filereports>
|
1712 |
| - <argLine>${extraJavaTestArgs}</argLine> |
| 1696 | + <argLine>${maven.plugin.surefire.argLine}</argLine> |
1713 | 1697 | <environmentVariables>
|
1714 | 1698 | <KYUUBI_WORK_DIR_ROOT>${project.build.directory}/work</KYUUBI_WORK_DIR_ROOT>
|
1715 | 1699 | </environmentVariables>
|
|
2135 | 2119 | </properties>
|
2136 | 2120 | </profile>
|
2137 | 2121 |
|
| 2122 | + <profile> |
| 2123 | + <id>java-17</id> |
| 2124 | + <activation> |
| 2125 | + <jdk>17</jdk> |
| 2126 | + </activation> |
| 2127 | + <properties> |
| 2128 | + <java.version>17</java.version> |
| 2129 | + <maven.compiler.source></maven.compiler.source> |
| 2130 | + <maven.compiler.target></maven.compiler.target> |
| 2131 | + <maven.compiler.release>${java.version}</maven.compiler.release> |
| 2132 | + <maven.plugin.surefire.argLine>-XX:+IgnoreUnrecognizedVMOptions |
| 2133 | + --add-opens=java.base/java.lang=ALL-UNNAMED |
| 2134 | + --add-opens=java.base/java.lang.invoke=ALL-UNNAMED |
| 2135 | + --add-opens=java.base/java.lang.reflect=ALL-UNNAMED |
| 2136 | + --add-opens=java.base/java.io=ALL-UNNAMED |
| 2137 | + --add-opens=java.base/java.net=ALL-UNNAMED |
| 2138 | + --add-opens=java.base/java.nio=ALL-UNNAMED |
| 2139 | + --add-opens=java.base/java.util=ALL-UNNAMED |
| 2140 | + --add-opens=java.base/java.util.concurrent=ALL-UNNAMED |
| 2141 | + --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED |
| 2142 | + --add-opens=java.base/sun.nio.ch=ALL-UNNAMED |
| 2143 | + --add-opens=java.base/sun.nio.cs=ALL-UNNAMED |
| 2144 | + --add-opens=java.base/sun.security.action=ALL-UNNAMED |
| 2145 | + --add-opens=java.base/sun.security.tools.keytool=ALL-UNNAMED |
| 2146 | + --add-opens=java.base/sun.security.x509=ALL-UNNAMED |
| 2147 | + --add-opens=java.base/sun.util.calendar=ALL-UNNAMED |
| 2148 | + -Djdk.reflect.useDirectMethodHandle=false |
| 2149 | + -Dio.netty.tryReflectionSetAccessible=true</maven.plugin.surefire.argLine> |
| 2150 | + </properties> |
| 2151 | + </profile> |
| 2152 | + |
2138 | 2153 | <!-- For development only, not generally applicable for all modules -->
|
2139 | 2154 | <profile>
|
2140 | 2155 | <id>scala-2.13</id>
|
|
0 commit comments