Giovanni van der Schelde created MENFORCER-483:
--------------------------------------------------
Summary: excludedScopes should use the default value
Key: MENFORCER-483
URL: https://issues.apache.org/jira/browse/MENFORCER-483
Project: Maven Enforcer Plugin
Issue Type: Bug
Components: banDynamicVersions, Documentation
Affects Versions: 3.3.0
Reporter: Giovanni van der Schelde
When you use the [sample
configuration|https://maven.apache.org/enforcer/enforcer-rules/banDynamicVersions.html]
the enforce goal throws an exception because the {{excludedScopes}} element is
missing in the {{banDynamicVersions}} element.
I think the docs should either contain the {{excludedScopes}} element or - like
the docs state "By default no scopes are excluded." - it should use the default
value when the config is missing.
I think the latter would be the preferred behaviour.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)