From f00f547d7b37647880e7f8fc030f9f96dbad9848 Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Mon, 12 Apr 2021 13:16:29 +0700 Subject: Clean up Maven dependencies using 'dependency:analyze' goal Notably, this change involves a partial revert of @4a5660b3, because we are not using JUnit Jupiter yet but still JUnit 4 tests. See discussion under commit at https://github.com/eclipse/org.aspectj/commit/4a5660b3. Many other warnings - concerning both used undeclared and unused declared dependencies - were eliminated by adding or removing the corresponding dependencies from the POMs. Furthermore, I tried to make sure that some clearly test-scoped dependencies are now actually declared as such, so as to avoid unwanted transitivity bleeding into compile scope and maybe unwanted classes ending up in uber JARs via Maven Shade or Maven Assembly. TODO: I am not so sure why modules other than 'run-all-unit-tests' would depend on test JARs. I hope I broke nothing essential there. As of today, the other modules where I found 'test-jar' dependencies are: - ajde - testing - testing-drivers - tests - weaver Signed-off-by: Alexander Kriegisch --- testing/pom.xml | 39 +++++++++++---------------------------- 1 file changed, 11 insertions(+), 28 deletions(-) (limited to 'testing') diff --git a/testing/pom.xml b/testing/pom.xml index 0f1089e1f..89877c9e9 100644 --- a/testing/pom.xml +++ b/testing/pom.xml @@ -24,16 +24,6 @@ bridge ${project.version} - - org.aspectj - ajde - ${project.version} - - - org.aspectj - runtime - ${project.version} - org.aspectj asm @@ -54,6 +44,10 @@ bcel-builder ${project.version} + + org.aspectj + asm-renamed + org.aspectj testing-client @@ -90,12 +84,6 @@ ant ${lib.ant.version} - - - regexp - regexp - ${lib.regexp.version} - org.aspectj ajde.core @@ -114,17 +102,6 @@ xmlParserAPIs ${lib.ant.xerces.version} - - - xerces - xercesImpl - ${lib.ant.xerces.version} - - - junit - junit - 4.13 - commons-digester commons-digester @@ -132,7 +109,13 @@ org.aspectj - org.eclipse.jdt.core + ajdoc + ${project.version} + + + commons-logging + commons-logging + ${lib.commons.logging.version} -- cgit v1.2.3