[jbpm-issues] [JBoss JIRA] Commented: (JBPM-3033) jbpm3 build javadoc error
Alejandro Guizar (JIRA)
jira-events at lists.jboss.org
Thu Jan 27 19:22:03 EST 2011
[ https://issues.jboss.org/browse/JBPM-3033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578601#comment-12578601 ]
Alejandro Guizar commented on JBPM-3033:
----------------------------------------
I followed the indications and was able to reproduce the problem. Apparently there is a bug in the maven javadoc plugin:
http://jira.codehaus.org/browse/MJAVADOC-275
If I set the plugin version to 2.7 (instead of 2.6.1), the build is successful. However, the javadoc:javadoc goal is still invoked for other modules which have not been built yet. This results in a MavenInvocationException logged at the ERROR level.
There is a related issue which seems to deal with these spurious javadoc plugin invocations. Unfortunately the fix version is 2.8, which is still unreleased.
http://jira.codehaus.org/browse/MJAVADOC-284
As a workaround for MJAVADOC-284, I set the detectOfflineLinks parameter of the javadoc plugin to false.
> jbpm3 build javadoc error
> -------------------------
>
> Key: JBPM-3033
> URL: https://issues.jboss.org/browse/JBPM-3033
> Project: jBPM
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Runtime Engine
> Affects Versions: jBPM 3.2.9
> Reporter: Julian Coleman
> Assignee: Alejandro Guizar
> Labels: build, javadoc, jbpm3, maven, profile
> Fix For: jBPM 3.2.x
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> I had a chance to look in more detail at the error that I was getting with the jBPM builds. It only happens when running -Prelease (-Psoa, -Pdistro) and it only happens if this is the very first build for a version.
> To reproduce it, change -SNAPSHOT in the pom.xml files to something that does not exist, e.g. -FOO. Then run `mvn -Prelease -Dmaven.test.skip=true install`. You will see that the javadoc phase in "jBPM3 - Core" tries to use modules that aren't yet available (it fails trying to find org.jbpm.jbpm3:jbpm-jpdl:pom:3.2.10-FOO).
> I noticed this because we want to change the SOA build in MEAD to just use the jBPM release, and then we can remove the SOA profile. MEAD has its own repository, and has no access to any other repository. So, whan I tried to build jBPM -Prelease in MEAD, it failed.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbpm-issues
mailing list