Skip to content

Commit 4f17f15

Browse files
committed
Remove com.sun:tools and antrun tools.jar extraction from debugger module
1 parent 744b8e2 commit 4f17f15

1 file changed

Lines changed: 2 additions & 24 deletions

File tree

debugger/pom.xml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,7 @@
4040
<groupId>com.google.guava</groupId>
4141
<artifactId>guava</artifactId>
4242
</dependency>
43-
<dependency>
44-
<groupId>com.sun</groupId>
45-
<artifactId>tools</artifactId>
46-
<scope>system</scope>
47-
<systemPath>${java.home}/../lib/tools.jar</systemPath>
48-
</dependency>
43+
<!-- com.sun:tools removed - JDI classes are in jdk.jdi module in JDK 9+ -->
4944
<dependency>
5045
<groupId>info.picocli</groupId>
5146
<artifactId>picocli</artifactId>
@@ -77,24 +72,7 @@
7772
</archive>
7873
</configuration>
7974
</plugin>
80-
<plugin>
81-
<artifactId>maven-antrun-plugin</artifactId>
82-
<version>1.8</version>
83-
<executions>
84-
<execution>
85-
<phase>generate-resources</phase>
86-
<configuration>
87-
<tasks>
88-
<echo message="unzipping tools.jar" />
89-
<unzip src="${java.home}/../lib/tools.jar" dest="${project.build.directory}/classes" />
90-
</tasks>
91-
</configuration>
92-
<goals>
93-
<goal>run</goal>
94-
</goals>
95-
</execution>
96-
</executions>
97-
</plugin>
75+
<!-- antrun tools.jar extraction removed - JDI classes are in jdk.jdi module in JDK 9+ -->
9876
<plugin>
9977
<groupId>org.apache.maven.plugins</groupId>
10078
<artifactId>maven-assembly-plugin</artifactId>

0 commit comments

Comments
 (0)