Delany created MENFORCER-475: -------------------------------- Summary: Only evaluate after aggregating pluginManagement Key: MENFORCER-475 URL: https://issues.apache.org/jira/browse/MENFORCER-475 Project: Maven Enforcer Plugin Issue Type: Bug Components: requirePluginVersions Affects Versions: 3.2.1 Reporter: Delany
The rule fails if a plugin is configured in 2 pluginManagement sections (one of which is in a profile), and the profile's pluginManagement does not configure a plugin version. Profiles are often used to augment the existing configuration for a plugin, so there's no need to repeat the version number. However if the profile is introducing the plugin to the build, then a version tag should be required. The rule should evaluate whether a version number has been set after aggregating the configurations and resolving the profiles. This is a new issue from Maven 4.0.0-alpha-5 -- This message was sent by Atlassian Jira (v8.20.10#820010)