You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2022/09/09 10:26:06 UTC

[jena] branch main updated: Skip javadoc production locally

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

andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git


The following commit(s) were added to refs/heads/main by this push:
     new a8751f5f1d Skip javadoc production locally
     new b3ac6b666a Merge pull request #1525 from afs/fix-javadoc
a8751f5f1d is described below

commit a8751f5f1d9914f715e01b84857f6c1c4630e869
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Fri Sep 9 11:20:37 2022 +0100

    Skip javadoc production locally
---
 jena-db/jena-dboe-index-test/pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/jena-db/jena-dboe-index-test/pom.xml b/jena-db/jena-dboe-index-test/pom.xml
index d0dac841be..70fe21591c 100644
--- a/jena-db/jena-dboe-index-test/pom.xml
+++ b/jena-db/jena-dboe-index-test/pom.xml
@@ -50,6 +50,17 @@
       <scope>compile</scope>
     </dependency>
 
+    <!--
+        Fix necessary for java11 (not java17)
+        when building javadoc.
+    <dependency>
+      <groupId>org.hamcrest</groupId>
+      <artifactId>hamcrest</artifactId>
+      <version>[2.1,)</version>
+      <scope>compile</scope>
+    </dependency>
+    -->
+
   </dependencies>
 
   <build>
@@ -83,6 +94,16 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <!--
+              java11 issue - 
+              For generating javadoc, the javadoc tool needs org.hamcrest:hamcrest
+              in scope compile in this module.
+              Either skip javadoc or (despite junit using hamcrest-core)
+              use the dependency commented out up-file.
+          -->
+          <skip>true</skip>
+        </configuration>
       </plugin>
 
     </plugins>