On Tue, Aug 31, 2021 at 6:01 PM Michael Osipov <[email protected]> wrote:

> It should not change. The bundled code contain two plugin groups:
>
> https://github.com/apache/maven/blob/92d2c2e3b43ca214989f0f517aa90f1525f0ff2e/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java#L115-L119


Thanks for confirming.
I took a deeper look into our code and noticed a bug which happened to be
documented as a strange and pointless optimization relying on some
unspecified side-effect "pluginArtifactMap will be empty if
PluginManagement is null", and apparently Maven 4 will now return null in
some cases for pluginManagement when Maven 3.x used to return an empty map.
Sorry for the noise, but thanks a lot for making me find where to make our
code better!

Reply via email to