[ 
http://jira.codehaus.org/browse/MDEP-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129015#action_129015
 ] 

james strachan commented on MDEP-158:
-------------------------------------

Yeah. I'd be happy btw for the scope to default to 'test'. I really just wanna 
know which jars a resource is inside and if possible, the transitive dependency 
path to find that jar.

If we could just list the jars for now you could always then do a 'mvn site' 
and then grep the generated HTML :) But I figured the dependency plugin would 
already know the transitive dependency tree

> find a resource on the classpath and show which jar it comes from and the 
> dependency path to it
> -----------------------------------------------------------------------------------------------
>
>                 Key: MDEP-158
>                 URL: http://jira.codehaus.org/browse/MDEP-158
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>            Reporter: james strachan
>            Assignee: Brian Fox
>
> I blogged about this here : 
> http://macstrac.blogspot.com/2008/03/lazyweb-maven-plugin-to-find-resources.html
> Steve commented that <whichsource> the Ant task does a similar kinda thing.
> So I'd like to be able to go to any maven projectl and type...
> mvn dependency:resource -Dresource=log4j.properties
> and it'd list the jars it finds the resource in along with the transitive 
> dependency path etc.
> This would be amazingly useful for diagnosing which jars accidentally ship a 
> log4j.properties file - say 

-- 
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