Skip to content
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

[MNG-5760] Add --resume / -r switch #342

Closed
wants to merge 32 commits into from

Conversation

mthmulders
Copy link
Contributor

@mthmulders mthmulders commented May 4, 2020

This pull request adds the --resume / -r switch. It works like --resume-from / -rf, but does more than that:

  1. It takes no arguments. Instead, when a build fails, it creates target/resume.properties which is read when the --resume / -r switch is specified.
  2. It is smarter. When other modules later in the failed build succeeded, they will be excluded from the next (resumed) build. This only happens if there are no dependencies between the former and the latter.

Status

This pull request is a work-in-progress. Not all functionality is finished. We're working on accompanying integration tests.

Pull request checklist

  • There is a JIRA issue.
  • Each commit in the pull request has a meaningful subject line and body.
  • The pull request title is correctly formatted.
  • The pull request description is detailed enough to understand what the pull request does, how, and why.
  • Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • You have run the Core IT successfully.

ICLA has been signed by @MartinKanters and myself. CCLA has been signed by our employer, Info Support.

@mthmulders mthmulders mentioned this pull request May 24, 2020
6 tasks
@MartinKanters
Copy link
Contributor

MartinKanters commented May 25, 2020

how about a simple canResume() (who knows if there will be other requirements to resume)?

Sounds good, Robert. We will change this name, indeed.

@mthmulders mthmulders marked this pull request as ready for review May 25, 2020 15:30
Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great feature
+1

@rfscholte
Copy link
Contributor

Fixed in 658ad90

@rfscholte rfscholte closed this Jun 20, 2020
gnodet added a commit to gnodet/maven that referenced this pull request Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants