From 76b20b650bdcc9ec807748eeea4761b06bab2fa6 Mon Sep 17 00:00:00 2001 From: Daniel Gerhardt <code@dgerhardt.net> Date: Tue, 30 Jul 2019 22:25:18 +0200 Subject: [PATCH] Add workaround for AspectJ Maven plugin to support JDK 11 This workaround can be removed when a new plugin version is released. --- pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pom.xml b/pom.xml index 4b65d3a21..c8808e4f3 100644 --- a/pom.xml +++ b/pom.xml @@ -460,6 +460,14 @@ <artifactId>aspectjtools</artifactId> <version>${org.aspectj-version}</version> </dependency> + <!-- Workaround: Override unnecessary dependency which causes compatibility issues. --> + <dependency> + <groupId>com.sun</groupId> + <artifactId>tools</artifactId> + <version>${java.version}</version> + <scope>system</scope> + <systemPath>${project.basedir}/pom.xml</systemPath> + </dependency> </dependencies> </plugin> <plugin> -- GitLab