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

   Fixes #13810. `beforeEach` now also reads `@InjectMojo(pom = ...)` from a 
test method parameter, so the `Project` is built from the same POM that 
configures the mojo. When both the method and a parameter give a POM, the 
method-level one still drives the project, as before. A test with only a 
parameter-level `@InjectMojo` and no `pom` now reads `pom.xml` from the 
basedir, as a method-level one does.
   
   ---
   
   To make clear that you license your contribution under
   the [Apache License Version 2.0, January 
2004](https://www.apache.org/licenses/LICENSE-2.0)
   check one of the following:
   
   - [ ] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
   - [x] I hereby declare that I have filed an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).
   


-- 
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