-
Type: Task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Jenkins X
-
Team:PLATFORM
-
Sprint:nxplatform #17
-
Story Points:1
While working on NXP-27059, we've got the following error on the nuxeo build:
[2020-09-18T07:24:44.202Z] [INFO] ------------------------------------------------------------------------ [2020-09-18T07:24:44.202Z] [INFO] BUILD FAILURE [2020-09-18T07:24:44.202Z] [INFO] ------------------------------------------------------------------------ [2020-09-18T07:24:44.202Z] [INFO] Total time: 02:10 min (Wall Clock) [2020-09-18T07:24:44.202Z] [INFO] Finished at: 2020-09-18T07:24:43Z [2020-09-18T07:24:44.202Z] [INFO] ------------------------------------------------------------------------ [2020-09-18T07:24:44.202Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs) on project nuxeo-runtime-launcher: MavenReportException: Error while generating Javadoc: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set. -> [Help 1] [2020-09-18T07:24:44.202Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs) on project nuxeo-common: MavenReportException: Error while generating Javadoc: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set. -> [Help 1]
We want to fix this error by correctly setting the JAVA_HOME environment variable.