From: Alexander Kriegisch Date: Wed, 28 Apr 2021 06:54:33 +0000 (+0700) Subject: Fix missing dependencies in module 'run-all-junit-tests' X-Git-Tag: V1_9_7_M2~20^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3f127347ceeb042f6624c9ce956cc31555bc376d;p=aspectj.git Fix missing dependencies in module 'run-all-junit-tests' Some runtime dependencies are reported as unused in Maven Dependency Plugin goal 'dependency:analyze', but actually they are needed. I noticed by chance when running RunTheseBeforeYouCommitTests in IntelliJ IDEA for the first time after a while and dependency modules could not find classes. Signed-off-by: Alexander Kriegisch --- diff --git a/ajdoc/pom.xml b/ajdoc/pom.xml index 22252b570..787f27600 100644 --- a/ajdoc/pom.xml +++ b/ajdoc/pom.xml @@ -18,7 +18,7 @@ maven-dependency-plugin - + com.github.olivergondza:maven-jdk-tools-wrapper @@ -27,6 +27,7 @@ + org.aspectj util @@ -47,12 +48,6 @@ org.aspectj.ajdt.core ${project.version} - - - com.github.olivergondza - maven-jdk-tools-wrapper - 0.1 - org.aspectj asm-renamed @@ -64,5 +59,16 @@ test + + + + com.github.olivergondza + maven-jdk-tools-wrapper + 0.1 + + diff --git a/run-all-junit-tests/pom.xml b/run-all-junit-tests/pom.xml index fe7d15dfb..fb21ee685 100644 --- a/run-all-junit-tests/pom.xml +++ b/run-all-junit-tests/pom.xml @@ -12,10 +12,7 @@ run-all-junit-tests - - org.aspectj - asm-renamed - + org.aspectj util @@ -142,6 +139,41 @@ test-jar test + + + + ant + ant-launcher + ${lib.ant.version} + test + + + org.aspectj + asm-renamed + test + + + org.aspectj + ajde + ${project.version} + test + + + org.aspectj + build + ${project.version} + test + + + org.aspectj + tests + ${project.version} + test + + @@ -200,6 +232,20 @@ + + org.apache.maven.plugins + maven-dependency-plugin + + + + ant:ant-launcher + org.aspectj:asm-renamed + org.aspectj:ajde + org.aspectj:build + org.aspectj:tests + + + diff --git a/tests/pom.xml b/tests/pom.xml index 353945550..ae2fbcca4 100644 --- a/tests/pom.xml +++ b/tests/pom.xml @@ -12,6 +12,7 @@ tests + org.aspectj util @@ -83,13 +84,18 @@ ${project.version} test + + - ant ant-launcher ${lib.ant.version} test + @@ -110,7 +116,7 @@ maven-dependency-plugin - + ant:ant-launcher