Skip to content

Commit

Permalink
Run Antrun post-javadoc task depending on Javadoc execution
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Kriegisch <[email protected]>
  • Loading branch information
kriegaex committed Feb 17, 2024
1 parent c267c75 commit f55ca2d
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
5 changes: 3 additions & 2 deletions aspectjmatcher/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,9 @@
<!-- 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>
<configuration>
<skip>${maven.javadoc.skip}</skip>
</configuration>
</execution>
</executions>
</plugin>
Expand Down
5 changes: 3 additions & 2 deletions aspectjrt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,9 @@
<!-- 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>
<configuration>
<skip>${maven.javadoc.skip}</skip>
</configuration>
</execution>
</executions>
</plugin>
Expand Down
5 changes: 3 additions & 2 deletions aspectjtools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,9 @@
<!-- 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>
<configuration>
<skip>${maven.javadoc.skip}</skip>
</configuration>
</execution>
</executions>
</plugin>
Expand Down
5 changes: 3 additions & 2 deletions aspectjweaver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,9 @@
<!-- 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>
<configuration>
<skip>${maven.javadoc.skip}</skip>
</configuration>
</execution>
</executions>
</plugin>
Expand Down
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -484,12 +484,13 @@
-->
<execution>
<id>filter-javadocs</id>
<!-- Override phase to 'package' in modules which need to filter javadocs -->
<phase>none</phase>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<!-- Override in modules which need to filter javadocs -->
<skip>$true</skip>
<target>
<!-- See https://ant.apache.org/manual/Tasks/replaceregexp.html -->
<replaceregexp byline="true">
Expand Down

0 comments on commit f55ca2d

Please sign in to comment.