gnodet opened a new pull request, #13916:
URL: https://github.com/apache/maven/pull/13916

   Backport of #13814 to `maven-4.0.x`.
   
   Cherry-pick of 6ad313714c7d22bf819f096146ff71b7fb600065 — required conflict 
resolution.
   
   **Changes:**
   - Add support for parameter-level `@InjectMojo` POM to also configure the 
test project (not just the mojo)
   - When a parameter-level `@InjectMojo` specifies a POM, it is now read in 
`beforeEach()` to build the Project singleton
   - Guard in `resolveParameter()` to skip re-reading a POM that was already 
applied in `beforeEach()`
   - New `findParameterInjectMojoAttrs()` helper (adapted to `maven-4.0.x`'s 
`String[]` API instead of master's `InjectMojo` annotation API)
   - Fix: store the merged+aligned model in the extension store (was storing 
the raw `tmodel` which is null when no POM is specified, causing NPE in 
`resolveParameter`)
   - Test class placed in `org.apache.maven.api.plugin.testing` package 
(matches the `maven-4.0.x` test layout)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to