aboutsummaryrefslogtreecommitdiffstats
path: root/aspectjrt/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'aspectjrt/pom.xml')
-rw-r--r--aspectjrt/pom.xml112
1 files changed, 102 insertions, 10 deletions
diff --git a/aspectjrt/pom.xml b/aspectjrt/pom.xml
index 12571720c..bc5e36e59 100644
--- a/aspectjrt/pom.xml
+++ b/aspectjrt/pom.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -11,21 +10,46 @@
</parent>
<artifactId>aspectjrt</artifactId>
+
<name>AspectJ Runtime</name>
+ <description>
+ 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.
+ </description>
+ <url>https://www.eclipse.org/aspectj/</url>
+
+ <licenses>
+ <license>
+ <name>Eclipse Public License - v 1.0</name>
+ <url>http://www.eclipse.org/legal/epl-v10.html</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <developers>
+ <developer>
+ <id>aclement</id>
+ <name>Andy Clement</name>
+ <email>aclement@vmware.com</email>
+ </developer>
+ <developer>
+ <id>kriegaex</id>
+ <name>Alexander Kriegisch</name>
+ <email>kriegaex@aspectj.dev</email>
+ </developer>
+ </developers>
+
+ <scm>
+ <url>https://github.com/eclipse/org.aspectj</url>
+ <connection>scm:git:https://github.com/eclipse/org.aspectj.git</connection>
+ <developerConnection>scm:git:ssh://git@github.com:eclipse/org.aspectj.git</developerConnection>
+ </scm>
<properties>
<!-- By default, do not deploy artifacts - but deploy this public one -->
<maven.deploy.skip>false</maven.deploy.skip>
</properties>
- <dependencies>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>runtime</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
<build>
<plugins>
@@ -126,6 +150,59 @@
</executions>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>truezip-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unzip-relocated-sources</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <!--
+ Skip, if javadoc generation is also meant to be skipped, which is the default unless the 'release'
+ profile is active or the property is overridden manually to be false. See property definitions in parent
+ POM for default case and release profile.
+ -->
+ <skip>${maven.javadoc.skip}</skip>
+ <verbose>true</verbose>
+ <fileset>
+ <directory>${project.build.directory}/${project.build.finalName}-sources.jar</directory>
+ <outputDirectory>${project.build.directory}/unpacked-sources</outputDirectory>
+ </fileset>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>3.2.0</version>
+ <executions>
+ <execution>
+ <id>javadoc-jar</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <sourcepath>${project.build.directory}/unpacked-sources</sourcepath>
+ <!-- TODO: Include 'aj' package for ASM-renamed contained in aspectjtools? -->
+ <subpackages>org.aspectj</subpackages>
+ <!-- Deactivate doclint checks in order to suppress errors -->
+ <doclint>none</doclint>
+ <!-- Generate class use xref, making javadocs considerably bigger, but also more informative -->
+ <use>true</use>
+ <!-- FIXME: Why does it fail without this parameter? -->
+ <javadocVersion>8</javadocVersion>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
<!-- Caveat: Attaching the flattened POM needs packaging=jar, so do not use packaging=pom for this module -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -151,6 +228,21 @@
</executions>
</plugin>
+ <!-- Deploy this module to Nexus (Sonatype OSSRH, releases promotable to Maven Central) -->
+ <plugin>
+ <groupId>org.sonatype.plugins</groupId>
+ <artifactId>nexus-staging-maven-plugin</artifactId>
+ </plugin>
+
</plugins>
</build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>runtime</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+
</project>