aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pom.xml
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2021-04-28 13:54:33 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2021-04-28 13:54:33 +0700
commit3f127347ceeb042f6624c9ce956cc31555bc376d (patch)
treed9c66f89753913e10226a318ea6236990ce7b41c /tests/pom.xml
parent48e1b14cb46f389ed7cb78312d8c8ab61f1fba05 (diff)
downloadaspectj-3f127347ceeb042f6624c9ce956cc31555bc376d.tar.gz
aspectj-3f127347ceeb042f6624c9ce956cc31555bc376d.zip
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 <Alexander@Kriegisch.name>
Diffstat (limited to 'tests/pom.xml')
-rw-r--r--tests/pom.xml10
1 files changed, 8 insertions, 2 deletions
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 @@
<artifactId>tests</artifactId>
<dependencies>
+
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>util</artifactId>
@@ -83,13 +84,18 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
+
+ <!--
+ The tests need these during runtime, even though no direct usage is in our classes.
+ See also 'usedDependencies' in maven-dependency-plugin configuration.
+ -->
<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>
<build>
@@ -110,7 +116,7 @@
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<usedDependencies>
- <!-- The tests need this during runtime, even though no direct usage is in our classes -->
+ <!-- The tests need these during runtime, even though no direct usage is in our classes -->
<usedDependency>ant:ant-launcher</usedDependency>
</usedDependencies>
</configuration>