Issue Details (XML | Word | Printable)

Key: MRESOURCES-38
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Zarar Siddiqi
Votes: 7
Watchers: 6
Operations

If you were logged in you would be able to see more operations.
Maven 2.x Resources Plugin

Can't use property names in resources element

Created: 23/Nov/06 09:30 AM   Updated: 28/Feb/08 06:40 PM
Component/s: None
Affects Version/s: 2.2
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Windows XP Professional. JDK 1.5
Issue Links:
Duplicate


 Description  « Hide
<build>
    <resources>
         <resource>
            <directory>target/gen/doclet/WEB-INF/classes/META-INF</directory>
            <filtering>true</filtering>
            <targetPath>META-INF</targetPath>
         </resource>            
    </resources>
</build>

I can't use ${project.build.directory} instead of target in the directory element in the above snippet. Same is true for other Maven and project properties.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Zarar Siddiqi added a comment - 07/Dec/06 03:04 PM
Any news on this?

Jérémy Soula added a comment - 25/Jun/07 12:19 PM
The pb is on the maven core, before values are passed to the plugin. Now it is the role of maven to resolved dollar brace properties or the role of the plugin, especially in core plugins like maven-resources-plugin?