GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [MNG-6797] Test retained model problem details by wilx · Pull Request #442 · apache/maven-integration-testing

Conversation

@wilx

@wilx wilx commented Sep 15, 2026

Copy link
Copy Markdown

Companion integration tests for apache/maven#298. Verify that plugins can read the retained problem list and its severity, message, model ID, source, line, and column for clean models, warnings, quiet logging, and reactor-child problems.

Validated against core commit ab914f59e3 on JDK 21: all 4 tests passed, none skipped. The matching maven-remember-problems branch lets the core PR's CI pick up these tests.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@wilx
[MNG-6797] Test retained model problem details
f80cc8d
Verify plugin access to the session problem list and diagnostics for clean models, warnings, quiet logging, and reactor-child problems.
@wilx wilx mentioned this pull request Sep 15, 2026
[MNG-6797] Remember if Maven model problems were encountered. apache/maven#298
Merged
6 of 8 tasks
@slachiewicz slachiewicz added the bug Something isn't working label Sep 18, 2026
cstamas pushed a commit to apache/maven that referenced this pull request Sep 24, 2026
@wilx
[MNG-6797] Remember if Maven model problems were encountered. (#298)
0fb1c8b
Retain the model problems discovered during project collection in `MavenSession.getModelProblems()`.

Plugins can inspect the problem details and reject builds with model warnings, as in the proposed Enforcer rule.

Integration tests: apache/maven-integration-testing#442. All four scenarios (clean models, warnings, quiet logging, and reactor-child problems) passed against core commit `ab914f59e3`.

See also [MNG-6797](https://issues.apache.org/jira/projects/MNG/issues/MNG-6797).

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

 - [x] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/MNG) 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.
 - [x] Each commit in the pull request should have a meaningful subject line and body.
 - [x] 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.
 - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
 - [x] 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][core-its] successfully.

If your pull request is about ~20 lines of code you don't need to sign an
[Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf) 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](http://www.apache.org/licenses/LICENSE-2.0)
you have to acknowledge this by using the following check-box.

 - [x] I hereby declare this contribution to be licenced under the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)

 - [ ] In any other case, please file an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).

[core-its]: https://maven.apache.org/core-its/core-it-suite/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

bug Something isn't working

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@wilx @slachiewicz
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.