From: Alexander Kriegisch Date: Mon, 12 Apr 2021 06:39:56 +0000 (+0700) Subject: Fix undetected runtime dependency usage problem from previous commit X-Git-Tag: V1_9_7_M2~21^2~12 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ce3b936892d215a25dbf6e04cf2e6eb143ac291e;p=aspectj.git Fix undetected runtime dependency usage problem from previous commit In module 'ajdoc', our tests need tools.jar when running on JDK 8 in order to dynamically compile during runtime. Hence, dependency com.github.olivergondza:maven-jdk-tools-wrapper was re-added to the POM (with test scope this time) and Maven Dependency plugin configured to regard it as a used dependency and not falsely report it as unused. Signed-off-by: Alexander Kriegisch --- diff --git a/ajdoc/pom.xml b/ajdoc/pom.xml index dee6a59ca..28076699d 100644 --- a/ajdoc/pom.xml +++ b/ajdoc/pom.xml @@ -13,6 +13,21 @@ jar ajdoc + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + com.github.olivergondza:maven-jdk-tools-wrapper + + + + + + org.aspectj @@ -34,6 +49,12 @@ org.aspectj.ajdt.core ${project.version} + + + com.github.olivergondza + maven-jdk-tools-wrapper + 0.1 + org.aspectj asm-renamed diff --git a/pom.xml b/pom.xml index 81b26d744..8ba2e0299 100644 --- a/pom.xml +++ b/pom.xml @@ -255,11 +255,16 @@ org.apache.maven.plugins maven-dependency-plugin - 3.1.2