Browse Source

DRY: Centralise common Maven Javadoc configuration

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
tags/V1_9_21_1
Alexander Kriegisch 3 months ago
parent
commit
bce5e2d49b
5 changed files with 16 additions and 44 deletions
  1. 0
    8
      aspectjmatcher/pom.xml
  2. 0
    8
      aspectjrt/pom.xml
  3. 0
    14
      aspectjtools/pom.xml
  4. 0
    14
      aspectjweaver/pom.xml
  5. 16
    0
      pom.xml

+ 0
- 8
aspectjmatcher/pom.xml View File

@@ -194,14 +194,6 @@
</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>

+ 0
- 8
aspectjrt/pom.xml View File

@@ -192,14 +192,6 @@
</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>

+ 0
- 14
aspectjtools/pom.xml View File

@@ -264,22 +264,8 @@
<goals>
<goal>jar</goal>
</goals>
<!--
FIXME: This configuration works with JDK 16, but throws errors on other JDK versions, e.g. 14. It looks as
if the Maven Javadoc plugin does not do a particularly good job applying the plugin settings in a way
making it work with different JDK javadoc tool versions. I am saying that, because when using the tool
directly on the console, it works with basic settings and the correct classpath.
-->
<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>

+ 0
- 14
aspectjweaver/pom.xml View File

@@ -265,22 +265,8 @@
<goals>
<goal>jar</goal>
</goals>
<!--
FIXME: This configuration works with JDK 16, but throws errors on other JDK versions, e.g. 14. It looks as
if the Maven Javadoc plugin does not do a particularly good job applying the plugin settings in a way
making it work with different JDK javadoc tool versions. I am saying that, because when using the tool
directly on the console, it works with basic settings and the correct classpath.
-->
<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>

+ 16
- 0
pom.xml View File

@@ -421,6 +421,22 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<!--
FIXME: This configuration works with JDK 16, but throws errors on other JDK versions, e.g. 14. It looks as
if the Maven Javadoc plugin does not do a particularly good job applying the plugin settings in a way
making it work with different JDK javadoc tool versions. I am saying that, because when using the tool
directly on the console, it works with basic settings and the correct classpath.
-->
<configuration>
<!-- 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>
</plugin>
<plugin>
<groupId>org.asciidoctor</groupId>

Loading…
Cancel
Save