aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ajbrowser/pom.xml22
-rw-r--r--ajde.core/pom.xml10
-rw-r--r--ajde/pom.xml10
-rw-r--r--ajdoc/pom.xml34
-rw-r--r--ajdoc/src/main/java/org/aspectj/tools/ajdoc/CompilerWrapper.java22
-rw-r--r--build/pom.xml6
-rw-r--r--loadtime/pom.xml52
-rw-r--r--org.aspectj.ajdt.core/pom.xml11
-rw-r--r--org.aspectj.lib/pom.xml1
-rw-r--r--org.aspectj.matcher/pom.xml1
-rw-r--r--pom.xml45
-rw-r--r--run-all-junit-tests/pom.xml130
-rw-r--r--runtime/pom.xml8
-rw-r--r--taskdefs/pom.xml12
-rw-r--r--testing-drivers/pom.xml25
-rw-r--r--testing-util/pom.xml3
-rw-r--r--testing/pom.xml39
-rw-r--r--tests/pom.xml37
-rw-r--r--weaver/pom.xml1
19 files changed, 117 insertions, 352 deletions
diff --git a/ajbrowser/pom.xml b/ajbrowser/pom.xml
index 009bc2f77..78041e7c3 100644
--- a/ajbrowser/pom.xml
+++ b/ajbrowser/pom.xml
@@ -36,35 +36,13 @@
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
- <artifactId>taskdefs</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>ajdoc</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>loadtime</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
<artifactId>ajde.core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
- <artifactId>weaver</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
<artifactId>org.aspectj.ajdt.core</artifactId>
<version>${project.version}</version>
- <type>test-jar</type>
- <scope>test</scope>
</dependency>
</dependencies>
</project>
diff --git a/ajde.core/pom.xml b/ajde.core/pom.xml
index 8ed061954..22ec19759 100644
--- a/ajde.core/pom.xml
+++ b/ajde.core/pom.xml
@@ -38,5 +38,15 @@
<groupId>org.aspectj</groupId>
<artifactId>org.eclipse.jdt.core</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>asm-renamed</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>testing-util</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project>
diff --git a/ajde/pom.xml b/ajde/pom.xml
index 42c9e10c4..2c3ad63be 100644
--- a/ajde/pom.xml
+++ b/ajde/pom.xml
@@ -36,6 +36,10 @@
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
+ <artifactId>asm-renamed</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.aspectj</groupId>
<artifactId>org.aspectj.ajdt.core</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
@@ -50,5 +54,11 @@
<artifactId>ajde.core</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>testing-util</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project>
diff --git a/ajdoc/pom.xml b/ajdoc/pom.xml
index f7ae7ab00..dee6a59ca 100644
--- a/ajdoc/pom.xml
+++ b/ajdoc/pom.xml
@@ -35,40 +35,8 @@
<version>${project.version}</version>
</dependency>
<dependency>
- <!-- enables easy dependency on tools.jar -->
- <groupId>com.github.olivergondza</groupId>
- <artifactId>maven-jdk-tools-wrapper</artifactId>
- <version>0.1</version>
- </dependency>
-
- <!-- Dependencies needed for running tests in this module independently of complete reactor build -->
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>org.eclipse.jdt.core</artifactId>
- </dependency>
- <dependency>
<groupId>org.aspectj</groupId>
- <artifactId>org.aspectj.matcher</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>weaver</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>bcel-builder</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>runtime</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
+ <artifactId>asm-renamed</artifactId>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
diff --git a/ajdoc/src/main/java/org/aspectj/tools/ajdoc/CompilerWrapper.java b/ajdoc/src/main/java/org/aspectj/tools/ajdoc/CompilerWrapper.java
index f27d3b166..5af5610a9 100644
--- a/ajdoc/src/main/java/org/aspectj/tools/ajdoc/CompilerWrapper.java
+++ b/ajdoc/src/main/java/org/aspectj/tools/ajdoc/CompilerWrapper.java
@@ -1,25 +1,25 @@
/* *******************************************************************
* Copyright (c) 2003 Contributors.
- * All rights reserved.
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Mik Kersten initial implementation
+ * All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Mik Kersten initial implementation
* ******************************************************************/
package org.aspectj.tools.ajdoc;
import org.aspectj.asm.AsmManager;
import org.aspectj.bridge.IMessage;
-
+import org.aspectj.tools.ajc.Main;
/**
* Wrapper for ajdoc's use of the AspectJ compiler.
- *
+ *
* @author Mik Kersten
*/
-public class CompilerWrapper extends org.aspectj.tools.ajc.Main {
+public class CompilerWrapper extends Main {
private static CompilerWrapper INSTANCE = null;
diff --git a/build/pom.xml b/build/pom.xml
index 6fa02a049..0592f41c1 100644
--- a/build/pom.xml
+++ b/build/pom.xml
@@ -15,12 +15,6 @@
<dependencies>
<dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>testing-util</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
<!-- Identical to lib/ant/lib/ant.jar, a former system-scoped dependency -->
<groupId>ant</groupId>
<artifactId>ant</artifactId>
diff --git a/loadtime/pom.xml b/loadtime/pom.xml
index 7c03455e5..f7aae7160 100644
--- a/loadtime/pom.xml
+++ b/loadtime/pom.xml
@@ -16,11 +16,6 @@
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
- <artifactId>asm</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
<artifactId>bridge</artifactId>
<version>${project.version}</version>
</dependency>
@@ -46,56 +41,19 @@
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
+ <artifactId>asm-renamed</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.aspectj</groupId>
<artifactId>testing-util</artifactId>
<version>${project.version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>bcel-builder</artifactId>
<version>${project.version}</version>
</dependency>
- <dependency>
- <!-- Identical to lib/ant/lib/xml-apis.jar, a former system-scoped dependency -->
- <groupId>xerces</groupId>
- <artifactId>xmlParserAPIs</artifactId>
- <version>${lib.ant.xerces.version}</version>
- </dependency>
- <dependency>
- <!-- Identical to lib/ant/lib/xercesImpl.jar, a former system-scoped dependency -->
- <groupId>xerces</groupId>
- <artifactId>xercesImpl</artifactId>
- <version>${lib.ant.xerces.version}</version>
- </dependency>
- <dependency>
- <!-- Identical to lib/ant/lib/ant.jar, a former system-scoped dependency -->
- <groupId>ant</groupId>
- <artifactId>ant</artifactId>
- <version>${lib.ant.version}</version>
- </dependency>
</dependencies>
-<!--
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>3.0.1</version>
- <configuration>
- </configuration>
- <executions>
- <execution>
- <id>javadoc</id>
- <phase>package</phase>
- <goals>
- <goal>javadoc</goal>
- </goals>
- <configuration>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
--->
</project>
diff --git a/org.aspectj.ajdt.core/pom.xml b/org.aspectj.ajdt.core/pom.xml
index 165d81505..5e9664987 100644
--- a/org.aspectj.ajdt.core/pom.xml
+++ b/org.aspectj.ajdt.core/pom.xml
@@ -48,11 +48,7 @@
<groupId>org.aspectj</groupId>
<artifactId>testing-util</artifactId>
<version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>testing-client</artifactId>
- <version>${project.version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
@@ -60,13 +56,12 @@
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
- <artifactId>loadtime</artifactId>
+ <artifactId>org.aspectj.matcher</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
- <artifactId>org.aspectj.matcher</artifactId>
- <version>${project.version}</version>
+ <artifactId>asm-renamed</artifactId>
</dependency>
</dependencies>
diff --git a/org.aspectj.lib/pom.xml b/org.aspectj.lib/pom.xml
index 2589f1e65..0fa2d2e2c 100644
--- a/org.aspectj.lib/pom.xml
+++ b/org.aspectj.lib/pom.xml
@@ -18,6 +18,7 @@
<groupId>org.aspectj</groupId>
<artifactId>testing-util</artifactId>
<version>${project.version}</version>
+ <scope>test</scope>
</dependency>
</dependencies>
diff --git a/org.aspectj.matcher/pom.xml b/org.aspectj.matcher/pom.xml
index 650dfa3ed..89deb5abf 100644
--- a/org.aspectj.matcher/pom.xml
+++ b/org.aspectj.matcher/pom.xml
@@ -28,6 +28,7 @@
<groupId>org.aspectj</groupId>
<artifactId>testing-util</artifactId>
<version>${project.version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
diff --git a/pom.xml b/pom.xml
index e94ede8c5..81b26d744 100644
--- a/pom.xml
+++ b/pom.xml
@@ -206,6 +206,11 @@
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>3.1.2</version>
+ </plugin>
</plugins>
</pluginManagement>
@@ -247,6 +252,22 @@
<artifactId>maven-help-plugin</artifactId>
</plugin>
+ <!--
+ This plugin is nice to have in the POM, because then it is easy to double-click a goal such as 'analyze' or
+ 'tree' from a modern IDE in order to inspect dependency management in the project.
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>3.1.2</version>
+ <configuration>
+ <ignoredUnusedDeclaredDependencies>
+ <!-- Declared in parent POM for convenience, but not used in every module -->
+ <ignoredUnusedDeclaredDependency>junit:junit:jar</ignoredUnusedDeclaredDependency>
+ </ignoredUnusedDeclaredDependencies>
+ </configuration>
+ </plugin>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
@@ -303,6 +324,12 @@
<scope>import</scope>
</dependency>
<dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.13.2</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>org.aspectj</groupId>
<artifactId>org.eclipse.jdt.core</artifactId>
<version>${jdt.core.version}</version>
@@ -327,19 +354,13 @@
</dependencyManagement>
<dependencies>
+ <!--
+ Actually, it would be cleaner to only define JUnit only it modules which actually use it. But since this comprises
+ the majority, we can afford to be a little bit unclean here with regard to dependency management.
+ -->
<dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-api</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-engine</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.vintage</groupId>
- <artifactId>junit-vintage-engine</artifactId>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/run-all-junit-tests/pom.xml b/run-all-junit-tests/pom.xml
index 1b159f47e..7d7c2959f 100644
--- a/run-all-junit-tests/pom.xml
+++ b/run-all-junit-tests/pom.xml
@@ -16,225 +16,133 @@
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
- <artifactId>bcel-builder</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>util</artifactId>
- <version>${project.version}</version>
+ <artifactId>asm-renamed</artifactId>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>util</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>ajde</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>ajde.core</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>asm</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>bridge</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>loadtime</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>runtime</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>ajdoc</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>weaver</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>taskdefs</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>testing-client</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>testing-drivers</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>testing-util</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>org.aspectj.matcher</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>build</artifactId>
- <version>${project.version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>build</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
- </dependency>
-
-
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>bridge</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>asm</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>runtime</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>taskdefs</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>testing</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>testing-client</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>testing-drivers</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>testing-util</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>weaver</artifactId>
- <version>${project.version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>tests</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>org.aspectj.ajdt.core</artifactId>
- <version>${project.version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>org.aspectj.ajdt.core</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
- <artifactId>org.eclipse.jdt.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>ajdoc</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>loadtime</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>ajde.core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>org.aspectj.matcher</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>ajde</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>ajbrowser</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.aspectj</groupId>
<artifactId>testing</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
- </dependency>
- <dependency>
- <!-- Identical to lib/ant/lib/ant.jar, a former system-scoped dependency -->
- <groupId>ant</groupId>
- <artifactId>ant</artifactId>
- <version>${lib.ant.version}</version>
- </dependency>
- <dependency>
- <!-- Identical to lib/ant/lib/ant-launcher.jar, a former system-scoped dependency -->
- <groupId>ant</groupId>
- <artifactId>ant-launcher</artifactId>
- <version>${lib.ant.version}</version>
+ <scope>test</scope>
</dependency>
</dependencies>
diff --git a/runtime/pom.xml b/runtime/pom.xml
index 554f74a62..4f3230c2f 100644
--- a/runtime/pom.xml
+++ b/runtime/pom.xml
@@ -13,14 +13,6 @@
<packaging>jar</packaging>
<name>runtime</name>
- <dependencies>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>testing-util</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
<build>
<plugins>
<plugin>
diff --git a/taskdefs/pom.xml b/taskdefs/pom.xml
index 74abf20a6..f5f35b2d9 100644
--- a/taskdefs/pom.xml
+++ b/taskdefs/pom.xml
@@ -35,16 +35,8 @@
<version>${project.version}</version>
</dependency>
<dependency>
- <!-- Identical to lib/ant/lib/xml-apis.jar, a former system-scoped dependency -->
- <groupId>xerces</groupId>
- <artifactId>xmlParserAPIs</artifactId>
- <version>${lib.ant.xerces.version}</version>
- </dependency>
- <dependency>
- <!-- Identical to lib/ant/lib/xercesImpl.jar, a former system-scoped dependency -->
- <groupId>xerces</groupId>
- <artifactId>xercesImpl</artifactId>
- <version>${lib.ant.xerces.version}</version>
+ <groupId>org.aspectj</groupId>
+ <artifactId>asm-renamed</artifactId>
</dependency>
<dependency>
<!-- Identical to lib/ant/lib/ant.jar, a former system-scoped dependency -->
diff --git a/testing-drivers/pom.xml b/testing-drivers/pom.xml
index 5ab5f35ec..0132a4441 100644
--- a/testing-drivers/pom.xml
+++ b/testing-drivers/pom.xml
@@ -21,27 +21,13 @@
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
- <artifactId>weaver</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
<artifactId>testing</artifactId>
<version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>testing-util</artifactId>
- <version>${project.version}</version>
+ <type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
- <artifactId>testing-client</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
<artifactId>util</artifactId>
<version>${project.version}</version>
</dependency>
@@ -52,14 +38,7 @@
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
- <artifactId>asm</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>testing</artifactId>
- <version>${project.version}</version>
- <type>test-jar</type>
+ <artifactId>asm-renamed</artifactId>
</dependency>
</dependencies>
diff --git a/testing-util/pom.xml b/testing-util/pom.xml
index 1b8da6666..34e821665 100644
--- a/testing-util/pom.xml
+++ b/testing-util/pom.xml
@@ -34,7 +34,8 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.13</version>
+ <!-- Yes, not 'test' here -->
+ <scope>compile</scope>
</dependency>
<dependency>
<!-- Identical to lib/jdiff/jdiff.jar, a former system-scoped dependency. Now to be found on GitHub Packages. -->
diff --git a/testing/pom.xml b/testing/pom.xml
index 0f1089e1f..89877c9e9 100644
--- a/testing/pom.xml
+++ b/testing/pom.xml
@@ -26,16 +26,6 @@
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
- <artifactId>ajde</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>runtime</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
<artifactId>asm</artifactId>
<version>${project.version}</version>
</dependency>
@@ -56,6 +46,10 @@
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
+ <artifactId>asm-renamed</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.aspectj</groupId>
<artifactId>testing-client</artifactId>
<version>${project.version}</version>
</dependency>
@@ -91,12 +85,6 @@
<version>${lib.ant.version}</version>
</dependency>
<dependency>
- <!-- Identical to lib/regexp/jakarta-regexp-1.2.jar, a former system-scoped dependency -->
- <groupId>regexp</groupId>
- <artifactId>regexp</artifactId>
- <version>${lib.regexp.version}</version>
- </dependency>
- <dependency>
<groupId>org.aspectj</groupId>
<artifactId>ajde.core</artifactId>
<version>${project.version}</version>
@@ -115,24 +103,19 @@
<version>${lib.ant.xerces.version}</version>
</dependency>
<dependency>
- <!-- Identical to lib/ant/lib/xercesImpl.jar, a former system-scoped dependency -->
- <groupId>xerces</groupId>
- <artifactId>xercesImpl</artifactId>
- <version>${lib.ant.xerces.version}</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.13</version>
- </dependency>
- <dependency>
<groupId>commons-digester</groupId>
<artifactId>commons-digester</artifactId>
<version>${lib.commons.digester.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
- <artifactId>org.eclipse.jdt.core</artifactId>
+ <artifactId>ajdoc</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>${lib.commons.logging.version}</version>
</dependency>
</dependencies>
diff --git a/tests/pom.xml b/tests/pom.xml
index cc0e602a6..a8d5b27aa 100644
--- a/tests/pom.xml
+++ b/tests/pom.xml
@@ -36,8 +36,7 @@
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
- <artifactId>runtime</artifactId>
- <version>${project.version}</version>
+ <artifactId>asm-renamed</artifactId>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
@@ -51,34 +50,22 @@
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
- <artifactId>asm-renamed</artifactId>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
<artifactId>org.aspectj.ajdt.core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
- <artifactId>org.eclipse.jdt.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
<artifactId>org.aspectj.ajdt.core</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
- </dependency>
- <dependency>
- <!-- Identical to lib/ant/lib/ant.jar, a former system-scoped dependency -->
- <groupId>ant</groupId>
- <artifactId>ant</artifactId>
- <version>${lib.ant.version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>ajde.core</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
@@ -89,28 +76,14 @@
<groupId>org.aspectj</groupId>
<artifactId>testing</artifactId>
<version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>testing</artifactId>
- <version>${project.version}</version>
<type>test-jar</type>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>testing-drivers</artifactId>
- <version>${project.version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>testing-util</artifactId>
<version>${project.version}</version>
- </dependency>
- <dependency>
- <!-- Identical to lib/ant/lib/ant-launcher.jar, a former system-scoped dependency -->
- <groupId>ant</groupId>
- <artifactId>ant-launcher</artifactId>
- <version>${lib.ant.version}</version>
+ <scope>test</scope>
</dependency>
</dependencies>
diff --git a/weaver/pom.xml b/weaver/pom.xml
index 9eaf8f3d1..16f2ccfd9 100644
--- a/weaver/pom.xml
+++ b/weaver/pom.xml
@@ -28,6 +28,7 @@
<groupId>org.aspectj</groupId>
<artifactId>testing-util</artifactId>
<version>${project.version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>