Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Javadoc building problem
Javadoc building problem [message #1842720] Tue, 29 June 2021 14:20
Marco Codazzi is currently offline Marco CodazziFriend
Messages: 13
Registered: May 2021
Junior Member
I tried to build the java documentation of sirius, but I had some errors.
Basically I followed the guide
- I cloned the repository with the command:
git clone

- I installed the jdk 11.0.11 of oracle
- I installed the apache maven v3.8.1
- I set the variable JAVA_HOME with the path of jdk 11.0.11
- I ran the command:
mvn clean install javadoc:aggregate

Unfortunately I had the error:
[INFO] org.eclipse.sirius.tests.sample.xtext.statemachine.ui 7.0.0-SNAPSHOT SUCCESS [  0.580 s]
[INFO] 7.0.0-SNAPSHOT SUCCESS [  0.305 s]
[INFO] org.eclipse.sirius.tests.junit.xtext 7.0.0-SNAPSHOT  SUCCESS [  0.706 s]
[INFO] org.eclipse.sirius.tests.update 7.0.0-SNAPSHOT ..... SUCCESS [  3.267 s]
[INFO] 7.0.0-SNAPSHOT .............. FAILURE [ 19.174 s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  03:37 min
[INFO] Finished at: 2021-06-22T11:45:32+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.3.0:aggregate (default-cli) on project An error has occurred in Javadoc report generation:
[ERROR] Exit code: 2 - javadoc: error - No source files for package org.eclipse.sirius.ext.base.collect
[ERROR] Command line was: /home/marco/Software/jdk-11.0.11/bin/javadoc @options @packages
[ERROR] Refer to the generated Javadoc files in '/home/marco/org.eclipse.sirius/target/site/apidocs' dir.

From error message it seems that source files of org.eclipse.sirius.ext.base.collect are missing, but in that folder I can see some java files.
I didn't understand the reason.
How can I build the documentation without this error?
Previous Topic:Referencing other models and problems with services
Next Topic:Placing bordered nodes at the same location when copying a model element
Goto Forum:

Current Time: Wed Sep 28 17:01:35 GMT 2022

Powered by FUDForum. Page generated in 0.01972 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top