maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy (JIRA)" <>
Subject [jira] Commented: (MRESOURCES-31) Dependency resolution for resource filtering
Date Fri, 19 Sep 2008 21:55:49 GMT


Olivier Lamy commented on MRESOURCES-31:

can you explain your use case ?

> Dependency resolution for resource filtering
> --------------------------------------------
>                 Key: MRESOURCES-31
>                 URL:
>             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:
For more information on JIRA, see:


View raw message