You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brian Fox (JIRA)" <ji...@codehaus.org> on 2008/03/06 04:02:28 UTC

[jira] Updated: (MNG-2645) warning message for local scope test should indicate whether the problem is

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

Brian Fox updated MNG-2645:
---------------------------

    Fix Version/s:     (was: Reviewed Pending Version Assignment)
                   2.1

> warning message for local scope test should indicate whether the problem is
> ---------------------------------------------------------------------------
>
>                 Key: MNG-2645
>                 URL: http://jira.codehaus.org/browse/MNG-2645
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.4
>            Reporter: Barrie Treloar
>             Fix For: 2.1
>
>
> 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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira