Switch to using maven-jdk-tools-wrapper to find tools.jar.

This is in different locations on JDK 9 and up.  maven-jdk-tools-wrapper
does the right thing on all JDK releases.

This was mentioned in a side comment on PR #2280.
This commit is contained in:
Ewan Mellor 2018-11-07 13:49:35 -08:00
parent f261c36bc4
commit 8e9b6f1147
No known key found for this signature in database
GPG Key ID: 7CE1C6BC9EC8645D
1 changed files with 3 additions and 5 deletions

View File

@ -18,11 +18,9 @@
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.4.2</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
<groupId>com.github.olivergondza</groupId>
<artifactId>maven-jdk-tools-wrapper</artifactId>
<version>0.1</version>
</dependency>
<dependency>
<groupId>org.antlr</groupId>