From: Alexander Kriegisch Date: Sat, 8 May 2021 12:59:06 +0000 (+0700) Subject: Migrate deployment from GitHub Packages to aspectj.dev X-Git-Tag: V1_9_7_M2~16^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F49%2Fhead;p=aspectj.git Migrate deployment from GitHub Packages to aspectj.dev Signed-off-by: Alexander Kriegisch --- diff --git a/asm-renamed/pom.xml b/asm-renamed/pom.xml index 965e7fed5..a94b1863c 100644 --- a/asm-renamed/pom.xml +++ b/asm-renamed/pom.xml @@ -19,19 +19,12 @@ using Maven Shade Plugin. In order to avoid committing the binary to the AspectJ SCM repository and using it as a system-scoped dependency, we - deploy it to GitHub Packages. + deploy it to aspectj.dev. Whenever it is necessary to upgrade to a new ASM version in order to make AspectJ compatible with a new Java - version, please build and deploy this module after upgrading property 'asm.version'. Make sure you have a GitHub - token with the necessary access rights and section like this in your settings.xml: - - - github - MY_GITHUB_USER - MY_GITHUB_TOKEN - - ]]> + version, please build and deploy this module after upgrading property 'asm.version'. Make sure you have the + credentials for write access to the aspectj.dev Maven repository WebDAV share and the correct server, profile and + property entries in settings.xml. Then you should be able to run 'mvn clean deploy' for this module and be fine. @@ -46,21 +39,6 @@ false - - - github - GitHub Packages Release - https://maven.pkg.github.com/kriegaex/aspectj-packages - false - - - github - GitHub Packages Snapshot - https://maven.pkg.github.com/kriegaex/aspectj-packages - true - - - diff --git a/pom.xml b/pom.xml index 515518f6a..17342e9b6 100644 --- a/pom.xml +++ b/pom.xml @@ -11,12 +11,16 @@ AspectJ Parent Project + 1.9.7.BUILD-SNAPSHOT + UTF-8 UTF-8 true + 3.25.0-SNAPSHOT + 9.1 1.6.3 2.6.2 1.2 @@ -28,25 +32,97 @@ DIGESTER_1_3 1.0.1 LOGGING_1_0_1 - 9.1 + + + aspectj-dev-deploy + AspectJ.dev WebDAV Releases + + ${aspectj.dev.webdav.share} + false + + + aspectj-dev-deploy + AspectJ.dev WebDAV Snapshots + + ${aspectj.dev.webdav.share} + true + + + + 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. + --> + + central + Central Repository + https://repo.maven.apache.org/maven2 + default + + false + + + true + never + + - github - GitHub Packages - https://maven.pkg.github.com/kriegaex/aspectj-packages + aspectj-dev + AspectJ artifacts on aspectj.dev + https://aspectj.dev/maven + default true + always + + true + never + + + + + central + Central Repository + https://repo.maven.apache.org/maven2 + default + + false + + + true + never + + + + aspectj-dev + AspectJ artifacts on aspectj.dev + https://aspectj.dev/maven + default + + true + always + + + true + never + + + + lib util