Browse Source

Fix “javac missing on Java 8” issue with Surefire

master
Gintas Grigelionis 6 years ago
parent
commit
3690ab246d
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      src/etc/poms/pom.xml

+ 17
- 0
src/etc/poms/pom.xml View File

@@ -158,4 +158,21 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<profiles>
<profile>
<id>javac-8</id>
<activation>
<jdk>1.8</jdk>
</activation>
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.8.0</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
</dependencies>
</profile>
</profiles>
</project>

Loading…
Cancel
Save