[ 
https://issues.apache.org/jira/browse/MENFORCER-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17723402#comment-17723402
 ] 

Slawomir Jaranowski commented on MENFORCER-483:
-----------------------------------------------

Please look MENFORCER-481

> 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
>            Priority: Minor
>
> 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)

Reply via email to