From de12ea9f2c59f4654c36e291e1f8160948d533eb Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Wed, 12 May 2021 12:03:33 +0700 Subject: [PATCH] Add information required by Maven Central to public artifact POMs This is another step away from manual deployment towards Maven-triggered deployment for both releases and snapshots. The 5 main POMs (matcher, runtime, weaver, tools, installer) now contain information required by Sonatype for Maven Central deployments according to: https://central.sonatype.org/publish/requirements/ TODO: - Add corresponding 'distributionManagement' section and necessary release plugins for Sonatype OSS repositories to parent POM. - Enable Maven to also use Install plugin in order to automatically set release versions, commit to Git and tag releases, then upgrade to a new snapshot afterwards. - Make sure that Flatten Maven plugin does not strip off the required tags we just added to the POMs. It looks as if the chosen flattenMode=oss already retains the exact tags we need, only slightly reformatting (hence "uglifying") the POM. But an ugly POM does not block Maven Central deployments, as long as it is complete. So it looks as if this to-do item is already done. Signed-off-by: Alexander Kriegisch --- aspectjmatcher/pom.xml | 37 +++++++++++- aspectjrt/pom.xml | 36 +++++++++++- aspectjtools/pom.xml | 38 ++++++++++++- aspectjweaver/pom.xml | 36 +++++++++++- installer/aspectjinstaller-assembly.xml | 1 + installer/pom.xml | 75 +++++++++++++++++++++++-- 6 files changed, 211 insertions(+), 12 deletions(-) diff --git a/aspectjmatcher/pom.xml b/aspectjmatcher/pom.xml index 0cba8cae9..e0cd44e8a 100644 --- a/aspectjmatcher/pom.xml +++ b/aspectjmatcher/pom.xml @@ -1,6 +1,5 @@ - 4.0.0 @@ -11,7 +10,41 @@ aspectjmatcher + AspectJ Matcher + + The AspectJ matcher can be used for matching pointcuts independently of any AspectJ compilation or weaving steps. + Most notably, this can be used by frameworks such as Spring AOP which utilise the @AspectJ pointcut syntax but + implement aspect weaving in a way independent of AspectJ, e.g. using dynamic proxies. + + https://www.eclipse.org/aspectj/ + + + + Eclipse Public License - v 1.0 + http://www.eclipse.org/legal/epl-v10.html + repo + + + + + + aclement + Andy Clement + aclement@vmware.com + + + kriegaex + Alexander Kriegisch + kriegaex@aspectj.dev + + + + + https://github.com/eclipse/org.aspectj + scm:git:https://github.com/eclipse/org.aspectj.git + scm:git:ssh://git@github.com:eclipse/org.aspectj.git + diff --git a/aspectjrt/pom.xml b/aspectjrt/pom.xml index 12571720c..0d6808a4d 100644 --- a/aspectjrt/pom.xml +++ b/aspectjrt/pom.xml @@ -1,6 +1,5 @@ - 4.0.0 @@ -11,7 +10,40 @@ aspectjrt + AspectJ Runtime + + The AspectJ runtime is a small library necessary to run Java programs enhanced by AspectJ aspects during a previous + compile-time or post-compile-time (binary weaving) build step. + + https://www.eclipse.org/aspectj/ + + + + Eclipse Public License - v 1.0 + http://www.eclipse.org/legal/epl-v10.html + repo + + + + + + aclement + Andy Clement + aclement@vmware.com + + + kriegaex + Alexander Kriegisch + kriegaex@aspectj.dev + + + + + https://github.com/eclipse/org.aspectj + scm:git:https://github.com/eclipse/org.aspectj.git + scm:git:ssh://git@github.com:eclipse/org.aspectj.git + diff --git a/aspectjtools/pom.xml b/aspectjtools/pom.xml index edd60f711..2941aab3e 100644 --- a/aspectjtools/pom.xml +++ b/aspectjtools/pom.xml @@ -1,6 +1,5 @@ - 4.0.0 @@ -11,7 +10,42 @@ aspectjtools + AspectJ Tools (Compiler) + + AspectJ tools most notably contains the AspectJ compiler (AJC). AJC applies aspects to Java classes during + compilation, fully replacing Javac for plain Java classes and also compiling native AspectJ or annotation-based + @AspectJ syntax. Furthermore, AJC can weave aspects into existing class files in a post-compile binary weaving step. + This library is a superset of AspectJ weaver and hence also of AspectJ runtime. + + https://www.eclipse.org/aspectj/ + + + + Eclipse Public License - v 1.0 + http://www.eclipse.org/legal/epl-v10.html + repo + + + + + + aclement + Andy Clement + aclement@vmware.com + + + kriegaex + Alexander Kriegisch + kriegaex@aspectj.dev + + + + + https://github.com/eclipse/org.aspectj + scm:git:https://github.com/eclipse/org.aspectj.git + scm:git:ssh://git@github.com:eclipse/org.aspectj.git + diff --git a/aspectjweaver/pom.xml b/aspectjweaver/pom.xml index a9147dd14..806622208 100644 --- a/aspectjweaver/pom.xml +++ b/aspectjweaver/pom.xml @@ -1,6 +1,5 @@ - 4.0.0 @@ -11,7 +10,40 @@ aspectjweaver + AspectJ Weaver + + The AspectJ weaver applies aspects to Java classes. It can be used as a Java agent in order to apply load-time + weaving (LTW) during class-loading and also contains the AspectJ runtime classes. + + https://www.eclipse.org/aspectj/ + + + + Eclipse Public License - v 1.0 + http://www.eclipse.org/legal/epl-v10.html + repo + + + + + + aclement + Andy Clement + aclement@vmware.com + + + kriegaex + Alexander Kriegisch + kriegaex@aspectj.dev + + + + + https://github.com/eclipse/org.aspectj + scm:git:https://github.com/eclipse/org.aspectj.git + scm:git:ssh://git@github.com:eclipse/org.aspectj.git + diff --git a/installer/aspectjinstaller-assembly.xml b/installer/aspectjinstaller-assembly.xml index 2a5cfac7b..1a2c69190 100644 --- a/installer/aspectjinstaller-assembly.xml +++ b/installer/aspectjinstaller-assembly.xml @@ -22,6 +22,7 @@ ../aj-build/dist/docs files + ../runtime/target/site/apidocs files/doc/runtime-apidocs diff --git a/installer/pom.xml b/installer/pom.xml index 321d573a8..dece35288 100644 --- a/installer/pom.xml +++ b/installer/pom.xml @@ -1,6 +1,5 @@ - 4.0.0 @@ -11,17 +10,85 @@ installer + AspectJ Installer + + The AspectJ installer is an executable JAR capable of installing a full AspectJ distribution consisting of libraries + (AspectJ runtime, weaver and tools/compiler) and API Javadoc. + + https://www.eclipse.org/aspectj/ + + + + Eclipse Public License - v 1.0 + http://www.eclipse.org/legal/epl-v10.html + repo + + + + + + aclement + Andy Clement + aclement@vmware.com + + + kriegaex + Alexander Kriegisch + kriegaex@aspectj.dev + + + + + https://github.com/eclipse/org.aspectj + scm:git:https://github.com/eclipse/org.aspectj.git + scm:git:ssh://git@github.com:eclipse/org.aspectj.git + + - false + + + + org.aspectj + aspectjrt + ${project.version} + + + org.aspectj + aspectjweaver + ${project.version} + + + org.aspectj + aspectjtools + ${project.version} + + + + org.aspectj + build + ${project.version} + + + + org.aspectj + docs + ${project.version} + + org.aspectj - run-all-junit-tests + runtime ${project.version} -- 2.39.5