From 09aa15b528e94cd1f21c9d783460bc0e23e0800f Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Sat, 17 Feb 2024 11:37:08 +0700 Subject: [PATCH] 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 --- aspectjmatcher/pom.xml | 13 +++++++++++++ aspectjrt/pom.xml | 13 +++++++++++++ aspectjtools/pom.xml | 13 +++++++++++++ aspectjweaver/pom.xml | 13 +++++++++++++ pom.xml | 39 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 91 insertions(+) diff --git a/aspectjmatcher/pom.xml b/aspectjmatcher/pom.xml index ee20f307c..1c56f1210 100644 --- a/aspectjmatcher/pom.xml +++ b/aspectjmatcher/pom.xml @@ -199,6 +199,19 @@ + + org.apache.maven.plugins + maven-antrun-plugin + + + + filter-javadocs + + package + + + + org.codehaus.mojo diff --git a/aspectjrt/pom.xml b/aspectjrt/pom.xml index 4377c3e76..be1bc7059 100644 --- a/aspectjrt/pom.xml +++ b/aspectjrt/pom.xml @@ -197,6 +197,19 @@ + + org.apache.maven.plugins + maven-antrun-plugin + + + + filter-javadocs + + package + + + + org.apache.maven.plugins maven-resources-plugin 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 @@ + + org.apache.maven.plugins + maven-antrun-plugin + + + + filter-javadocs + + package + + + + org.codehaus.mojo diff --git a/aspectjweaver/pom.xml b/aspectjweaver/pom.xml index b8ad8cd24..964821255 100644 --- a/aspectjweaver/pom.xml +++ b/aspectjweaver/pom.xml @@ -272,6 +272,19 @@ + + org.apache.maven.plugins + maven-antrun-plugin + + + + filter-javadocs + + package + + + + org.apache.maven.plugins maven-resources-plugin diff --git a/pom.xml b/pom.xml index 8855eee7a..8e0afc598 100644 --- a/pom.xml +++ b/pom.xml @@ -465,6 +465,45 @@ ${project.name} API + + org.apache.maven.plugins + maven-antrun-plugin + 3.1.0 + + + + filter-javadocs + + none + + run + + + + + + + + + + + + + + + + org.asciidoctor asciidoctor-maven-plugin -- 2.39.5