[ http://jira.codehaus.org/browse/MDEP-57?page=all ]

Brian Fox closed MDEP-57.
-------------------------

       Resolution: Fixed
    Fix Version/s: 2.0-alpha-2

Default dependency:resolve output:
[INFO] The following files have been resolved:
[INFO]    ant:ant:jar:1.6 (scope = compile)
[INFO]    junit:junit:jar:4.1 (scope = compile)

mvn dependency:resolve -Dmdep.outputScope = false:
[INFO] The following files have been resolved:
[INFO]    ant:ant:jar:1.6
[INFO]    junit:junit:jar:4.1

mvn dependency:resolve -DoutputAbsoluteArtifactFileName=true:
[INFO] The following files have been resolved:
[INFO]    ant:ant:jar:1.6:e:\stc\mavenRepo\ant\ant\1.6\ant-1.6.jar (scope = 
compile)
[INFO]    junit:junit:jar:4.1:e:\stc\mavenRepo\junit\junit\4.1\junit-4.1.jar 
(scope = compile)

mvn dependency:resolve -Dmdep.outputScope=false 
-DoutputAbsoluteArtifactFileName=true:
[INFO] The following files have been resolved:
[INFO]    ant:ant:jar:1.6:e:\stc\mavenRepo\ant\ant\1.6\ant-1.6.jar
[INFO]    junit:junit:jar:4.1:e:\stc\mavenRepo\junit\junit\4.1\junit-4.1.jar


> dependency:resolve should output scope
> --------------------------------------
>
>                 Key: MDEP-57
>                 URL: http://jira.codehaus.org/browse/MDEP-57
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.0-alpha-1
>            Reporter: Gregory Kick
>         Assigned To: Brian Fox
>             Fix For: 2.0-alpha-2
>
>
> It would be helpful if the output of the dependency:resolve goal would also 
> output the resolved scope.  Not only is it just useful information, but it 
> would be a good way to quickly see the aggregate effects of things like the 
> following warning without having to search through the build output.
> [WARNING] 
>         Artifact junit:junit:jar:3.8.2:test retains local scope 'test' 
> overriding broader scope 'compile'
>         given by a dependency. 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

        

Reply via email to