You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2021/01/07 14:37:20 UTC

[sling-parent] branch master updated: SLING-10044 configure javadocs in builds-pluginMgmt instead of reporting

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new de3d9c8  SLING-10044 configure javadocs in builds-pluginMgmt instead of reporting
de3d9c8 is described below

commit de3d9c8255fa84a62a7be921127376a817309bd9
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Thu Jan 7 15:37:11 2021 +0100

    SLING-10044 configure javadocs in builds-pluginMgmt instead of reporting
    
    Prevent emitting timestamp to ease reproducible javadocs
---
 sling-parent/pom.xml | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/sling-parent/pom.xml b/sling-parent/pom.xml
index 5727ce6..3db386c 100644
--- a/sling-parent/pom.xml
+++ b/sling-parent/pom.xml
@@ -76,6 +76,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
+                <!-- configuration set in build->pluginMgmt -->
                 <reportSets>
                     <reportSet>
                         <reports>
@@ -83,12 +84,6 @@
                         </reports>
                     </reportSet>
                 </reportSets>
-                <configuration>
-                    <stylesheet>maven</stylesheet>
-                    <excludePackageNames>*.impl:*.internal:${site.javadoc.exclude}</excludePackageNames>
-                    <!-- suppress timestamp for reproducible builds (https://issues.apache.org/jira/browse/MPOM-260) -->
-                    <notimestamp>true</notimestamp>
-                </configuration>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
@@ -282,6 +277,13 @@
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-javadoc-plugin</artifactId>
                     <version>3.2.0</version>
+                    <!-- this affects both direct invocation and execution in the context of site building (https://maven.apache.org/shared/maven-reporting-exec/) -->
+                    <configuration>
+                        <stylesheet>maven</stylesheet>
+                        <excludePackageNames>*.impl:*.internal:${site.javadoc.exclude}</excludePackageNames>
+                        <!-- suppress timestamp for reproducible builds (https://issues.apache.org/jira/browse/MPOM-260) -->
+                        <notimestamp>true</notimestamp>
+                    </configuration>
                 </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>