Issue Details (XML | Word | Printable)

Key: MNG-4310
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Priority: Major Major
Assignee: Unassigned
Reporter: Zarar Siddiqi
Votes: 8
Watchers: 7
Operations

If you were logged in you would be able to see more operations.
Maven 2 & 3

Can't use property names in resources element

Created: 23/Nov/06 09:30 AM   Updated: 30/Dec/09 09:15 PM   Resolved: 30/Dec/09 09:15 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

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

Complexity: Intermediate


 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.



Zarar Siddiqi added a comment - 07/Dec/06 03:04 PM

Any news on this?


Jérémy Soula made changes - 25/Jun/07 12:19 PM
Field Original Value New Value
Link This issue duplicates MNG-1906 [ MNG-1906 ]
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?


Jérémy Soula made changes - 25/Jun/07 12:24 PM
Link This issue duplicates MNG-1486 [ MNG-1486 ]
Olivier Lamy made changes - 28/Feb/08 06:40 PM
Link This issue is duplicated by MRESOURCES-55 [ MRESOURCES-55 ]
John Casey made changes - 18/Aug/09 12:24 PM
Affects Version/s 2.2 [ 12486 ]
Complexity Intermediate
Key MRESOURCES-38 MNG-4310
Project Maven 2.x Resources Plugin [ 11145 ] Maven 2 [ 10500 ]
John Casey added a comment - 18/Aug/09 12:25 PM

need to verify that this is fixed (should have been fixed in either 2.1.0-M1 or 2.1.0).


John Casey made changes - 18/Aug/09 12:25 PM
Fix Version/s 2.2.x [ 13141 ]
Fix Version/s 2.2.2 [ 15472 ]
Brett Porter added a comment - 30/Dec/09 09:15 PM

works in 2.2.1


Brett Porter made changes - 30/Dec/09 09:15 PM
Resolution Cannot Reproduce [ 5 ]
Fix Version/s 2.2.2 [ 15472 ]
Fix Version/s 2.2.x [ 13141 ]
Status Open [ 1 ] Closed [ 6 ]