[ 
http://jira.codehaus.org/browse/MRESOURCES-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=148557#action_148557
 ] 

Olivier Lamy commented on MRESOURCES-31:
----------------------------------------

can you explain your use case ?

> Dependency resolution for resource filtering
> --------------------------------------------
>
>                 Key: MRESOURCES-31
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-31
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Wish
>    Affects Versions: 2.2
>            Reporter: Daniel Holmen
>            Priority: Minor
>
> I've been trying to use the project.compileClasspathElements  property in a 
> filtered resource, but discovered that Resources plugin isn't set up to 
> require dependency resolution. The result of this is that i cannot use any of 
> the classpath properties in my filtered resources.
> The solution is quite simple, just add a @requiresDependencyResolution 
> annotation to ResourcesMojo. I have no idea if this causes any bad 
> side-effects - but it seemed to work properly when I tested it locally.

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