aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2021-04-09 13:55:33 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2021-04-09 13:55:33 +0700
commitfe91fe26245d1f20b9ee1b4bb163969a89993a3f (patch)
treea006f835e521a96e5f21d770ae7c5702797c605b /pom.xml
parentd98f01fb7e8f275395214f78d64e03733e6b3970 (diff)
downloadaspectj-fe91fe26245d1f20b9ee1b4bb163969a89993a3f.tar.gz
aspectj-fe91fe26245d1f20b9ee1b4bb163969a89993a3f.zip
Replace JDT Core system dependency by deployed one
Get rid of system paths. Instead, rely on JDT Core Shadows to deploy both binary and source JARs to GitHub Packages. The former module directory was deleted completely. Instead, the JARs are redundantly copied into 'libs/jdtcore-aj' in order to be found there by tests and other Ant scripts. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 7c6788f1b..09acc2be6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,6 +13,7 @@
<properties>
<revision>1.9.7.BUILD-SNAPSHOT</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <jdt.core.version>3.25.0-SNAPSHOT</jdt.core.version>
<lib.ant.version>1.6.3</lib.ant.version>
<lib.ant.xerces.version>2.6.2</lib.ant.xerces.version>
<lib.regexp.version>1.2</lib.regexp.version>
@@ -28,6 +29,22 @@
<lib.directory>${maven.multiModuleProjectDirectory}/libx</lib.directory>
</properties>
+ <repositories>
+ <!--
+ Separately built dependencies unavailable on Maven Central, e.g.:
+ - org.aspectj:asm-renamed
+ - org.aspectj:org.eclipse.jdt.core
+ -->
+ <repository>
+ <id>github</id>
+ <name>GitHub Packages</name>
+ <url>https://maven.pkg.github.com/kriegaex/aspectj-packages</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+
<modules>
<module>util</module>
<module>bridge</module>
@@ -218,6 +235,7 @@
<file>${lib.directory}/ant/lib/junit.jar</file>
<file>${lib.directory}/commons/commons.jar</file>
<file>${lib.directory}/jarjar/jarjar-1.3.jar</file>
+ <file>${lib.directory}/jdtcore-aj/jdtcore-for-aspectj.jar</file>
<file>${lib.directory}/junit/junit.jar</file>
<file>${lib.directory}/regexp/jakarta-regexp-1.2.jar</file>
<file>${lib.directory}/saxon/saxon.jar</file>
@@ -244,6 +262,11 @@
<scope>import</scope>
</dependency>
<dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>org.eclipse.jdt.core</artifactId>
+ <version>${jdt.core.version}</version>
+ </dependency>
+ <dependency>
<!-- Because commons-digester:commons-digester:1.3 refers to version 1.4-dev -->
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>