Make tools.jar system dependency, since classpath property is readonly.

This commit is contained in:
Ilya Gorbunov
2016-11-23 18:34:00 +03:00
committed by Yan Zhulanow
parent fcafaf5500
commit 4d3d8463dc
@@ -56,6 +56,13 @@
<version>1.1.0</version> <version>1.1.0</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency>
<groupId>jdk</groupId>
<artifactId>tools</artifactId>
<scope>system</scope>
<version>1.8</version>
<systemPath>${env.JDK_18}/lib/tools.jar</systemPath>
</dependency>
</dependencies> </dependencies>
<build> <build>
@@ -131,9 +138,6 @@
<version>${project.version}</version> <version>${project.version}</version>
<configuration> <configuration>
<jdkHome>${env.JDK_18}</jdkHome> <jdkHome>${env.JDK_18}</jdkHome>
<classpath>
<classpathEntry>${env.JDK_18}/lib/tools.jar</classpathEntry>
</classpath>
<annotationPaths> <annotationPaths>
<annotationPath>${basedir}/kotlinAnnotation</annotationPath> <annotationPath>${basedir}/kotlinAnnotation</annotationPath>
</annotationPaths> </annotationPaths>