Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
Description
The ExcludedScopes parameter does not work as described in https://maven.apache.org/enforcer/enforcer-rules/requireUpperBoundDeps.html. The following exception occurs when trying to use it in a POM:
org.codehaus.plexus.component.configurator.ComponentConfigurationException: Cannot find 'excludedScopes' in class org.apache.maven.plugins.enforcer.RequireUpperBoundDeps
I suspect this is because the RequireUpperBoundDeps class has no setExcludedScopes() method. Cf. the commit where the feature was supposedly added: https://github.com/apache/maven-enforcer/commit/78488535e0cfc37e26707c12d944ff8437b94fc4
Attachments
Issue Links
- relates to
-
MENFORCER-276 Allow ignoring dependency scopes in RequireUpperBoundDeps
- Closed