You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by kw...@apache.org on 2022/06/15 17:26:32 UTC

[jackrabbit-filevault] 01/01: JCR-4732 accept offline JCR javadocs during build

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

kwin pushed a commit to branch bugfix/javadoc-accept-offline-jcr-javadoc
in repository https://gitbox.apache.org/repos/asf/jackrabbit-filevault.git

commit 69d9414effcf2de816062f410fff7278553176e6
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Wed Jun 15 19:26:26 2022 +0200

    JCR-4732 accept offline JCR javadocs during build
---
 pom.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index eb6b9cc3..a6b422dd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -86,10 +86,13 @@
                         <detectLinks>true</detectLinks>
                         <detectJavaApiLink>true</detectJavaApiLink>
                         <links>
-                            <link>https://s.apache.org/jcr-2.0-javadoc/</link>
                             <link>https://jackrabbit.apache.org/api/2.20/</link>
                             <link>https://www.javadoc.io/doc/org.apache.jackrabbit/oak-jackrabbit-api/${oak.version}/</link>
                         </links>
+                        <!-- as the JCR javadoc is not always available (https://issues.apache.org/jira/browse/JCR-4732) do not fail the build if it cannot be fetched -->
+                        <offlineLinks>
+                            <offlineLink>https://s.apache.org/jcr-2.0-javadoc/</offlineLink>
+                        </offlineLinks>
                     </configuration>
                 </plugin>
            </plugins>