Repository: ant
Updated Branches:
  refs/heads/master f3837f017 -> 3690ab246


Fix “javac missing on Java 8” issue with Surefire

Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/3690ab24
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/3690ab24
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/3690ab24

Branch: refs/heads/master
Commit: 3690ab246ddfaa1333db642b30abe2a0e40a1aaf
Parents: f3837f0
Author: Gintas Grigelionis <[email protected]>
Authored: Thu Oct 25 19:05:39 2018 +0200
Committer: Gintas Grigelionis <[email protected]>
Committed: Thu Oct 25 19:05:39 2018 +0200

----------------------------------------------------------------------
 src/etc/poms/pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/3690ab24/src/etc/poms/pom.xml
----------------------------------------------------------------------
diff --git a/src/etc/poms/pom.xml b/src/etc/poms/pom.xml
index 7595492..8347950 100644
--- a/src/etc/poms/pom.xml
+++ b/src/etc/poms/pom.xml
@@ -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>

Reply via email to