You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2014/01/20 01:20:49 UTC
[jira] (MNG-2645) warning message for local scope test should
indicate whether the problem is
[ https://jira.codehaus.org/browse/MNG-2645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason van Zyl closed MNG-2645.
------------------------------
Resolution: Incomplete
> 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 2 & 3
> Issue Type: Improvement
> Components: Artifacts and Repositories
> Affects Versions: 2.0.4
> Reporter: Barrie Treloar
> Fix For: Issues to be reviewed for 3.x
>
>
> 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, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira