Skip to content

[MNG-4660] Increase usefulness of logging (2)#416

Closed
mthmulders wants to merge 5 commits intoapache:masterfrom
infosupport:more-useful-logging-for-outdated-artifacts-2
Closed

[MNG-4660] Increase usefulness of logging (2)#416
mthmulders wants to merge 5 commits intoapache:masterfrom
infosupport:more-useful-logging-for-outdated-artifacts-2

Conversation

@mthmulders
Copy link
Copy Markdown
Contributor

@mthmulders mthmulders commented Dec 23, 2020

When the user resumes a build (MNG-4660), they could see a message "Packaged artifact is not up-to-date compared to the build output directory". This could even be logged multiple times for one build. It was unclear why it was logged and what a user could do to address it. This change adds a little bit of detail to that message so it becomes more clear to the user what has happened and where to look for solutions. It also adds a few words so the user knows what Maven will decide to do to address the situation (i.e. resolve using build output directory or consider artifact "not found").

The integration test is updated as well.

ICLA and CCLA signed.

Comment thread maven-core/src/main/java/org/apache/maven/ReactorReader.java Outdated
Comment thread maven-core/src/main/java/org/apache/maven/ReactorReader.java Outdated
Copy link
Copy Markdown
Member

@michael-o michael-o left a comment

Choose a reason for hiding this comment

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

Way better.

Comment thread maven-core/src/main/java/org/apache/maven/ReactorReader.java Outdated
@michael-o michael-o self-requested a review December 24, 2020 19:38
@asfgit asfgit closed this in 2caed62 Dec 28, 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.

3 participants