[JAVA-18138] Moved java-jdi to jdk9-and-above profile (#13846)

* [JAVA-18138] Moved java-jdi to jdk9-and-above profile
This commit is contained in:
panos-kakos 2023-04-21 12:09:19 +03:00 committed by GitHub
parent e606682a0b
commit d3ee65e0eb
2 changed files with 19 additions and 14 deletions

View File

@ -15,13 +15,7 @@
</parent> </parent>
<dependencies> <dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>${tools.version}</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
</dependencies> </dependencies>
<build> <build>
@ -32,10 +26,25 @@
<filtering>true</filtering> <filtering>true</filtering>
</resource> </resource>
</resources> </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${maven.compiler.source.version}</source>
<target>${maven.compiler.target.version}</target>
<compilerArgs>
<arg>--add-exports=jdk.jdi/com.sun.jdi=ALL-UNNAMED</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</build> </build>
<properties> <properties>
<tools.version>1.8</tools.version> <maven.compiler.source.version>17</maven.compiler.source.version>
<maven.compiler.target.version>17</maven.compiler.target.version>
</properties> </properties>
</project> </project>

View File

@ -354,8 +354,6 @@
<!-- <module>grails</module> --> <!-- Not a maven project --> <!-- <module>grails</module> --> <!-- Not a maven project -->
<!-- <module>guest</module> --> <!-- not to be built as its for guest articles --> <!-- <module>guest</module> --> <!-- not to be built as its for guest articles -->
<module>java-jdi</module>
<module>jetbrains</module> <module>jetbrains</module>
<!-- <module>lagom</module> --> <!-- Not a maven project --> <!-- <module>lagom</module> --> <!-- Not a maven project -->
<module>language-interop</module> <module>language-interop</module>
@ -547,8 +545,6 @@
<!-- <module>grails</module> --> <!-- Not a maven project --> <!-- <module>grails</module> --> <!-- Not a maven project -->
<!-- <module>guest</module> --> <!-- not to be built as its for guest articles --> <!-- <module>guest</module> --> <!-- not to be built as its for guest articles -->
<module>java-jdi</module>
<!-- <module>lagom</module> --> <!-- Not a maven project --> <!-- <module>lagom</module> --> <!-- Not a maven project -->
<module>language-interop</module> <module>language-interop</module>
@ -868,7 +864,7 @@
<module>hystrix</module> <module>hystrix</module>
<module>jackson-simple</module> <module>jackson-simple</module>
<module>java-blockchain</module> <module>java-blockchain</module>
<module>java-jdi</module>
<module>java-rmi</module> <module>java-rmi</module>
<module>java-spi</module> <module>java-spi</module>
<module>javax-sound</module> <module>javax-sound</module>
@ -1123,7 +1119,7 @@
<module>hystrix</module> <module>hystrix</module>
<module>jackson-simple</module> <module>jackson-simple</module>
<module>java-blockchain</module> <module>java-blockchain</module>
<module>java-jdi</module>
<module>java-rmi</module> <module>java-rmi</module>
<module>java-spi</module> <module>java-spi</module>
<module>javax-sound</module> <module>javax-sound</module>