WrenSecurity/wrenidm

Unable to build JavaDoc for openidm-api-servlet

pavelhoral opened this issue · 1 comments

Building javadoc for openidm-api-servlet ends with an exception (had to publish 6.1.0 without javadoc thanks to this issue):

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  6.167 s
[INFO] Finished at: 2022-12-30T16:19:02+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:javadoc (default-cli) on project openidm-api-servlet: An error has occurred in Javadoc report generation: 
[ERROR] Exit code: 1 - javadoc: error - Error fetching URL: https://www.oracle.com/java/technologies/servlet-technology.html/
[ERROR] 
[ERROR] Command line was: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/javadoc @options @packages

We should try to incorporate javadoc execution to release:prepare / verify phase to prevent this from happening in the future.

Fixed through #143.