maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baerrach bonDierne (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MNG-2645) warning message for local scope test should indicate whether the problem is
Date Tue, 31 Oct 2006 23:58:40 GMT
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: Baerrach bonDierne


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

        

Mime
View raw message