aboutsummaryrefslogtreecommitdiffstats
path: root/aspectjrt
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2024-02-17 11:37:08 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2024-02-17 11:37:08 +0700
commit09aa15b528e94cd1f21c9d783460bc0e23e0800f (patch)
treeaaf94dc0b10e21acb6a66554d8254ed7c8784173 /aspectjrt
parentb2c338b4ed7bd21e200315bd693b8bee27526b7e (diff)
downloadaspectj-09aa15b528e94cd1f21c9d783460bc0e23e0800f.tar.gz
aspectj-09aa15b528e94cd1f21c9d783460bc0e23e0800f.zip
Use Antrun plugin to eliminate javadoc version number in HTML
This is the one issue that cannot be solved regarding reproducible builds by setting javadoc options, because that header comment is hard-coded into the JDK with no option to avoid it. I just created an OpenJDK issue (internal review ID 9076583, not published yet) for it, but that does not help us today. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'aspectjrt')
-rw-r--r--aspectjrt/pom.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/aspectjrt/pom.xml b/aspectjrt/pom.xml
index 4377c3e76..be1bc7059 100644
--- a/aspectjrt/pom.xml
+++ b/aspectjrt/pom.xml
@@ -199,6 +199,19 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <!-- Remove javadoc version number from HTML comment to keep website diffs small -->
+ <execution>
+ <id>filter-javadocs</id>
+ <!-- Override default phase 'none' from parent -->
+ <phase>package</phase>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>