This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-wrapper.git
The following commit(s) were added to refs/heads/master by this push:
new 3f37268 fix build on jdk8
3f37268 is described below
commit 3f37268d4d14edd1bc93505bae96dffdbe92ce97
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Thu Dec 9 18:13:35 2021 +0100
fix build on jdk8
---
maven-wrapper/pom.xml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/maven-wrapper/pom.xml b/maven-wrapper/pom.xml
index e351e71..e313e3e 100644
--- a/maven-wrapper/pom.xml
+++ b/maven-wrapper/pom.xml
@@ -74,6 +74,15 @@ under the License.
<artifactId>ant</artifactId>
<version>1.10.11</version>
<scope>test</scope>
+ <exclusions>
+ <!-- workaround for provided dependency to com:sun:tools on jdk8 -->
+ <!-- this brake enforceBytecodeVersion -->
+ <!-- can be removed after switch to jdk8 -->
+ <exclusion>
+ <groupId>com.sun</groupId>
+ <artifactId>tools</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
</dependencies>