You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2022/03/18 15:56:57 UTC

[sling-tooling-release] 02/02: SLING-11163 - Update generate_javadoc_for_release.sh to work on the feature model

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

rombert pushed a commit to branch issue/SLING-11163
in repository https://gitbox.apache.org/repos/asf/sling-tooling-release.git

commit 08058c7cbf6c86b952a89bde4a5e9779b16828a5
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Mar 18 16:56:09 2022 +0100

    SLING-11163 - Update generate_javadoc_for_release.sh to work on the feature model
    
    Allow building the API Javadocs with Java 8, this has worked fine for me.
---
 generate_javadoc_for_release.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generate_javadoc_for_release.sh b/generate_javadoc_for_release.sh
index 87388bc..8cacbcd 100755
--- a/generate_javadoc_for_release.sh
+++ b/generate_javadoc_for_release.sh
@@ -112,7 +112,7 @@ pushd $WORKDIR
 # This might fail due to duplications in the classpath (see https://issues.apache.org/jira/browse/SLING-6766?focusedCommentId=16358298&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16358298)
 # The classpath order is unfortunately not predictable with m-j-p 3.0.0 (https://issues.apache.org/jira/browse/MJAVADOC-513)
 mvn -DexcludePackageNames="*.impl:*.internal:*.jsp:sun.misc:*.juli:*.testservices:*.integrationtest:*.maven:javax.*:org.osgi.*" \
-         org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:aggregate -Dnotimestamp=true
+         org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:aggregate -Dnotimestamp=true -Dignore.javadocjdk=true
 popd
 
 echo "Generated Javadocs can be found in $WORKDIR/target/site/apidocs/"