[ 
https://jira.codehaus.org/browse/MNG-2645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Benedict updated MNG-2645:
-------------------------------

    Fix Version/s:     (was: Issues to be reviewed for 3.x)

> warning message for local scope test should indicate whether the problem is
> ---------------------------------------------------------------------------
>
>                 Key: MNG-2645
>                 URL: https://jira.codehaus.org/browse/MNG-2645
>             Project: Maven
>          Issue Type: Improvement
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.4
>            Reporter: Barrie Treloar
>
> This is the warning message you get when a pom doesn't define junit to be 
> scoped as test (as it should)
> [WARNING]
>         Artifact junit:junit:jar:3.8.1:test retains local scope 'test' 
> overriding broader scope 'compile'
>         given by a dependency. If this is not intended, modify or remove the 
> local scope.
> The error message does not indicate where the problem originated, which would 
> make fixing these issues up much easier.
> Something like:
> [WARNING]
>         Artifact junit:junit:jar:3.8.1:test retains local scope 'test' 
> overriding broader scope 'compile'
>         given by a dependency in 
> <groupId>:<artifactId>:<classifier>:<versionId>. 
>         If this is not intended, modify or remove the local scope.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to