From: Alexander Kriegisch Date: Sat, 17 Feb 2024 04:37:08 +0000 (+0700) Subject: Use Antrun plugin to eliminate javadoc version number in HTML X-Git-Tag: V1_9_21_2~31 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=09aa15b528e94cd1f21c9d783460bc0e23e0800f;p=aspectj.git 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 --- 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