-
Notifications
You must be signed in to change notification settings - Fork 0
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
Use of -rf flag breaks multi-reactor builds #12
Comments
Hi @SamuelCook, Sorry for the slow response, It seems my notifications are not configured properly. Yes, this is a known limitation of I had considered intercepting -Ivan |
@SamuelCook You later issue on I think I've added initial Does that match your expectations? Does that |
Yes, that seems about right to me. Don't forget that you also need to omit the flag in later reactors that do not include the resume-from module. |
The
-rf
/--resume-from
flag can be used to resume a Maven build from a particular project. This is useful when fixing an error in a project in the middle of a reactor - it is not necessary to rebuild the projects that do not depend on the failing project.When using mvnmin the
-rf
flag is passed down to Maven, and works as expected for single-reactor builds. However, it does not function for multi-reactor builds.Since the
-rf
flag is always passed down to the running Maven build, it will be present for reactors that do not contain the project from which the build should resume. When mvnmin attempts to build a reactor that does not contain the project, Maven, and consequently, mvnmin, fails with the following message:mvnmin should intercept the
-rf / --resume-from
flag and pass it down to Maven only in reactors that include the specified project.The text was updated successfully, but these errors were encountered: