aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2021-05-08 19:59:06 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2021-05-11 12:48:20 +0700
commite27f605eb49f830286a4e115a44b24ff1d676ff8 (patch)
treeecc5cf2f6287226fbb01909424f4e858ff4817b4 /pom.xml
parent1fc5195245883d306e2da3877b4fe4362ff0def9 (diff)
downloadaspectj-e27f605eb49f830286a4e115a44b24ff1d676ff8.tar.gz
aspectj-e27f605eb49f830286a4e115a44b24ff1d676ff8.zip
Migrate deployment from GitHub Packages to aspectj.dev
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml92
1 files changed, 84 insertions, 8 deletions
diff --git a/pom.xml b/pom.xml
index 515518f6a..17342e9b6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,12 +11,16 @@
<name>AspectJ Parent Project</name>
<properties>
+ <!-- TODO: Do we still need this? -->
<revision>1.9.7.BUILD-SNAPSHOT</revision>
+ <!-- Basic build properties -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- By default, do not deploy artifacts - override for the ones which actually should be deployed -->
<maven.deploy.skip>true</maven.deploy.skip>
+ <!-- Dependency versions -->
<jdt.core.version>3.25.0-SNAPSHOT</jdt.core.version>
+ <asm.version>9.1</asm.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,25 +32,97 @@
<lib.commons.digester.tag>DIGESTER_1_3</lib.commons.digester.tag>
<lib.commons.logging.version>1.0.1</lib.commons.logging.version>
<lib.commons.logging.tag>LOGGING_1_0_1</lib.commons.logging.tag>
- <asm.version>9.1</asm.version>
</properties>
+ <distributionManagement>
+ <repository>
+ <id>aspectj-dev-deploy</id>
+ <name>AspectJ.dev WebDAV Releases</name>
+ <!-- Please specify the local mount point for the WebDAV share in your settings.xml -->
+ <url>${aspectj.dev.webdav.share}</url>
+ <uniqueVersion>false</uniqueVersion>
+ </repository>
+ <snapshotRepository>
+ <id>aspectj-dev-deploy</id>
+ <name>AspectJ.dev WebDAV Snapshots</name>
+ <!-- Please specify the local mount point for the WebDAV share in your settings.xml -->
+ <url>${aspectj.dev.webdav.share}</url>
+ <uniqueVersion>true</uniqueVersion>
+ </snapshotRepository>
+ </distributionManagement>
+
<repositories>
<!--
- Separately built dependencies unavailable on Maven Central, e.g.:
- - org.aspectj:asm-renamed
- - org.aspectj:org.eclipse.jdt.core
- -->
+ Repeat Central definition from super POM https://maven.apache.org/ref/3.6.3/maven-model-builder/super-pom.html.
+ Define it as the first repository to search at, otherwise Maven would always search any other repositories defined
+ in the POM or in settings.xml first, slowing down the build, because most artifacts reside at Maven Central. See
+ https://maven.apache.org/guides/mini/guide-multiple-repositories.html#repository-order for more details.
+ -->
+ <repository>
+ <id>central</id>
+ <name>Central Repository</name>
+ <url>https://repo.maven.apache.org/maven2</url>
+ <layout>default</layout>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ </repository>
<repository>
- <id>github</id>
- <name>GitHub Packages</name>
- <url>https://maven.pkg.github.com/kriegaex/aspectj-packages</url>
+ <id>aspectj-dev</id>
+ <name>AspectJ artifacts on aspectj.dev</name>
+ <url>https://aspectj.dev/maven</url>
+ <layout>default</layout>
<snapshots>
<enabled>true</enabled>
+ <updatePolicy>always</updatePolicy>
</snapshots>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
</repository>
</repositories>
+ <pluginRepositories>
+ <!--
+ Repeat Central definition from super POM https://maven.apache.org/ref/3.6.3/maven-model-builder/super-pom.html.
+ Define it as the first repository to search at, otherwise Maven would always search any other repositories defined
+ in the POM or in settings.xml first, slowing down the build, because most artifacts reside at Maven Central. See
+ https://maven.apache.org/guides/mini/guide-multiple-repositories.html#repository-order for more details.
+ -->
+ <pluginRepository>
+ <id>central</id>
+ <name>Central Repository</name>
+ <url>https://repo.maven.apache.org/maven2</url>
+ <layout>default</layout>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ </pluginRepository>
+ <pluginRepository>
+ <id>aspectj-dev</id>
+ <name>AspectJ artifacts on aspectj.dev</name>
+ <url>https://aspectj.dev/maven</url>
+ <layout>default</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>always</updatePolicy>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
+
<modules>
<module>lib</module>
<module>util</module>