diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-02-17 11:37:08 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-02-17 11:37:08 +0700 |
commit | 09aa15b528e94cd1f21c9d783460bc0e23e0800f (patch) | |
tree | aaf94dc0b10e21acb6a66554d8254ed7c8784173 /aspectjtools | |
parent | b2c338b4ed7bd21e200315bd693b8bee27526b7e (diff) | |
download | aspectj-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 'aspectjtools')
-rw-r--r-- | aspectjtools/pom.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/aspectjtools/pom.xml b/aspectjtools/pom.xml index 5df90da85..a872b1ea7 100644 --- a/aspectjtools/pom.xml +++ b/aspectjtools/pom.xml @@ -271,6 +271,19 @@ </executions> </plugin> + <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> + <!-- Caveat: Attaching the flattened POM needs packaging=jar, so do not use packaging=pom for this module --> <plugin> <groupId>org.codehaus.mojo</groupId> |