Summary: | Unable to build Javadoc with maven | ||
---|---|---|---|
Product: | [Modeling] Sirius | Reporter: | Daniel Liabeuf <daniel.liabeuf> |
Component: | Documentation | Assignee: | Projet Inbox <sirius.doc-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | cedric.brun, esteban.dugueperoux, pierre-charles.david |
Version: | unspecified | Keywords: | triaged |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Whiteboard: |
Description
Daniel Liabeuf
2014-06-20 04:19:06 EDT
I reproduce. Thanks for your report. http://intellectualcramps.wordpress.com/2010/09/04/generating-javadoc-with-maven-3-and-tycho/ This might be a useful reference (though slightly old) Eclipse GEF use Maven/Tycho and generated source... it's a mess. http://git.eclipse.org/c/gef/org.eclipse.gef.git/tree/org.eclipse.gef.doc.isv EMF Compare recently add javadoc generation to its tycho build. See http://git.eclipse.org/c/emfcompare/org.eclipse.emf.compare.git/tree/plugins/org.eclipse.emf.compare.doc/pom.xml#n147 for how I did it. Tricky thing, you have to depend on every bundles that you want the javadoc to be build for. I did it through the jars.extra.classpath of the build.properties file. It avoids your doc plugin to have OSGi runtime dependency on other bundles. This is only a build dependency. See http://git.eclipse.org/c/emfcompare/org.eclipse.emf.compare.git/tree/plugins/org.eclipse.emf.compare.doc/build.properties#n17 The thread at https://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg11132.html also contains some poitners (I have not looked at them). |