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

   A Maven 3 style mojo without `requiresDependencyResolution` or 
`requiresDependencyCollection` got `null` from 
`MavenProject.getDependencyArtifacts()` after #14085 when no scoped mojo had 
run before it, because the skipped `resolveProjectDependencies` call was the 
only place that initialised the set (and raised 
`InvalidDependencyVersionException`). The initialisation now runs for such 
mojos too; nothing is resolved, so #14081 stays fixed.
   
   Verified: `mvn -B verify` in impl/maven-core → 766 tests, 0 failures; the 
new `MojoExecutorDependencyArtifactsTest` fails on the previous code.
   


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