-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Race conditions when building https://github.com/apache/jackrabbit-filevault #408
Comments
I think the problem comes from the javadoc aggregation which creates forked lifecycles and those are not properly synchronized with the main lifecycle. |
Thanks for the input. Any other recommendation how to create an aggregate javadoc which is compliant with multi threading/mvnd? |
Adding the dependencies directly on the plugin definition seems to work around the problem:
|
Ah, and you also need to add a maven dependency from With those two changes, mvnd can build jackrabbit-filevault successfully. The first can be considered a bug in mvn/mvnd, but the second is specifically an implicit dependency which should be made explicit. |
Thanks a lot, I already did the latter in apache/jackrabbit-filevault@01f6c39 and in the meantime only build the javadocs during releases. |
@gnodet Are you gonna report a bug for m-javadoc-plugin? Something I can watch? |
The problem is not specific to the javadoc plugin, it's rather a bug in the core maven. I've sent an email to the dev list and if I open a JIRA issue, I'll link it here. We can keep this issue opened for a bit, I'll close later with the jira issue link. |
I've raised https://issues.apache.org/jira/browse/MNG-7156 to fix the underlying problem in maven. |
Whenever I try to execute
mvnd clean verify
on the master branch of https://github.com/apache/jackrabbit-filevault I get different race condition failures, e.g.or
I am a bit puzzled why the parallel execution of the modules lead to such issues. Any hints what I need to modify in the pom.xml to make it work with mvnd or did I hit a bug in mvnd?
The text was updated successfully, but these errors were encountered: