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

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

find all jars which contain a given resource by name. e.g. find all jars which 
contain the exact resource name. Here's a few example resource query strings 
that are kinda common...

* log4j.properties
* META-INF/spring/applicationContext.xmll
* META-INF/services/someInterface

I guess it'd be nice to look for Java classes too as well.

Someone might want wildcard support one day - but I'm totally happy with exact 
name matches


> 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