Skip to content

[MNG-4660] --resume-from flag resolves inter-module dependencies#325

Merged
rfscholte merged 20 commits intoapache:masterfrom
infosupport:mng-4660-resume-from
Apr 14, 2020
Merged

[MNG-4660] --resume-from flag resolves inter-module dependencies#325
rfscholte merged 20 commits intoapache:masterfrom
infosupport:mng-4660-resume-from

Conversation

@mthmulders
Copy link
Copy Markdown
Contributor

Following this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
    MNG-4660.
  • Each commit in the pull request should have a meaningful subject line and body.
  • Format the pull request title like [MNG-XXX] - Fixes bug in ApproximateQuantiles, where you replace MNG-XXX with the appropriate JIRA issue. Best practice is to use the JIRA issue title in the pull request title and in the first line of the commit message.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
    This pull request makes sure that the ReactorReader looks at all modules in the project, not only those that are part of the reactor. It also checks whether the workspace might contain built artifacts from earlier Maven invocations, and uses those files for the artifacts that they belong to.
  • Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
    Additionally, there is an extra integration test in maven-integration-testing: apache/maven-integration-testing #54.
  • You have run the Core IT successfully.

If your pull request is about ~20 lines of code you don't need to sign an Individual Contributor License Agreement if you are unsure please ask on the developers list.

To make clear that you license your contribution under the Apache License Version 2.0, January 2004 you have to acknowledge this by using the following check-box.

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

Copy link
Copy Markdown
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.

Thanks for contributing this fix.

Can we add unit tests?
Do you have also new integration tests?

@mthmulders
Copy link
Copy Markdown
Contributor Author

Forgot to mention, we actually started with an integration test: apache/maven-integration-testing #54.

MartinKanters and others added 13 commits March 9, 2020 12:30
…ewer class files when checking if the packaged artifact is up-to-date
…not have a compile lifecycle when reading local artifacts. This is needed for resolving intermodule dependencies which are not built in this session (for example with -rf, -pl flags).
It now properly distinguishes between two situations:
1. project artifact has been built during earlier Maven session
2. project artifact has been built during this session
…lidate" by checking if the project consists in the reactor.
Copy link
Copy Markdown
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.

LGTM

@rfscholte rfscholte merged commit ec92934 into apache:master Apr 14, 2020
@jira-importer
Copy link
Copy Markdown

Resolve #6417

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.

5 participants