You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2015/12/31 23:15:39 UTC

[jira] [Closed] (MRESOURCES-31) Dependency resolution for resource filtering

     [ https://issues.apache.org/jira/browse/MRESOURCES-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Heinz Marbaise closed MRESOURCES-31.
-----------------------------------------
    Resolution: Cannot Reproduce

> Dependency resolution for resource filtering
> --------------------------------------------
>
>                 Key: MRESOURCES-31
>                 URL: https://issues.apache.org/jira/browse/MRESOURCES-31
>             Project: Maven 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 was sent by Atlassian JIRA
(v6.3.4#6332)