diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-05-24 08:57:06 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-05-24 09:12:29 +0700 |
commit | e6458de6e48a7add4843a4df5467fb3084a3f526 (patch) | |
tree | bd3aa6b79f5a91725ae59667c6b282aee3921cc9 /aspectjtools | |
parent | 86a026c81399be570d96a4ceb901dcd5c649c60e (diff) | |
download | aspectj-e6458de6e48a7add4843a4df5467fb3084a3f526.tar.gz aspectj-e6458de6e48a7add4843a4df5467fb3084a3f526.zip |
Fix Javadoc generation by also unpacking relocated ASM sources
Suddenly, for AspectJ Weaver + Tools Javadoc generation started to fail.
This might be due to switching from ASM-renamed to dynamically shaded
ASM. Either way, the Javadoc tool complains about the missing source
files. Therefore, we also unpack them from the source uber JAR now via
TrueZIP before generating Javadoc.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'aspectjtools')
-rw-r--r-- | aspectjtools/pom.xml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/aspectjtools/pom.xml b/aspectjtools/pom.xml index 763122880..dd16458ae 100644 --- a/aspectjtools/pom.xml +++ b/aspectjtools/pom.xml @@ -236,11 +236,16 @@ --> <skip>${maven.javadoc.skip}</skip> <verbose>true</verbose> - <!-- TODO: Include 'aj' package for ASM-renamed contained in aspectjtools? --> - <fileset> - <directory>${project.build.directory}/${project.build.finalName}-sources.jar/org/aspectj</directory> - <outputDirectory>${project.build.directory}/unpacked-sources/org/aspectj</outputDirectory> - </fileset> + <filesets> + <fileset> + <directory>${project.build.directory}/${project.build.finalName}-sources.jar/org/aspectj</directory> + <outputDirectory>${project.build.directory}/unpacked-sources/org/aspectj</outputDirectory> + </fileset> + <fileset> + <directory>${project.build.directory}/${project.build.finalName}-sources.jar/aj</directory> + <outputDirectory>${project.build.directory}/unpacked-sources/aj</outputDirectory> + </fileset> + </filesets> </configuration> </execution> </executions> |