eclipse / mwe

Modeling Workflow Engine project repository (mwe)
Eclipse Public License 2.0
7 stars 16 forks source link

Publish javadoc #65

Open cdietrich opened 5 years ago

cdietrich commented 5 years ago

https://download.eclipse.org/modeling/emft/mwe/javadoc/2.9/ wonder what we need to create an aggregate javadoc and publish it with the release

cdietrich commented 5 years ago

https://ci.eclipse.org/emf/job/mwe2/ws/build-result/javadoc/ seems empty

cdietrich commented 5 years ago

but there is https://github.com/eclipse/mwe/blob/master/maven/org.eclipse.emf.mwe2.parent/javadoc.ant

cdietrich commented 5 years ago

i also wonder what a call to mvn javadoc:aggregate would produce

cdietrich commented 5 years ago

bildschirmfoto vom 2019-02-08 13-43-00 looks promising

cdietrich commented 5 years ago

will try to add the goal to ci.eclipse.org

cdietrich commented 5 years ago

does not seem to work https://ci.eclipse.org/emf/job/mwe2/13/ => maybe we really need a second call

cdietrich commented 5 years ago

@kthoms is there an option in jenkins to start in git-repo as . and not in git-repo/.. ?

cdietrich commented 5 years ago

i have no idea why it works locally and not on ci

kthoms commented 5 years ago

there are errors reported by javadoc, makes the build fail by default

set failOnError=false or sysprop maven.javadoc.failOnError?

https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#failOnError

cdietrich commented 5 years ago

did try that. does not help.

cdietrich commented 5 years ago

looks like i have no a working combination: https://ci.eclipse.org/emf/job/mwe2/ws/git-repo/maven/org.eclipse.emf.mwe2.parent/target/apidocs/

cdietrich commented 5 years ago

undid my changes. if i call aggregate then the single projects will no longer produce javadocs

cdietrich commented 5 years ago

@kthoms how is it possible to publish to maven central without javadocs?

kthoms commented 5 years ago

no

cdietrich commented 5 years ago

but we dont produce them. and they were not published. https://repo1.maven.org/maven2/org/eclipse/emf/org.eclipse.emf.mwe.core/1.4.0.M2/