Maven 2 & 3

${basedir isn't well interpolated in properties files

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 2.0.4, 2.0.5, 2.0.6
  • Fix Version/s: 2.0.7
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

If you have ${basedir} in a properties file, it is interpolated to a directory path like C:\mypath\myproject instead of C\:
mypathmyproject

Activity

Hide
Emmanuel Hugonnet added a comment - - edited

It looks like this is a duplicate of http://jira.codehaus.org/browse/MRESOURCES-25.

Show
Emmanuel Hugonnet added a comment - - edited It looks like this is a duplicate of http://jira.codehaus.org/browse/MRESOURCES-25.
Hide
Jason van Zyl added a comment -

So what windows code produces the right construct to create this path?

Show
Jason van Zyl added a comment - So what windows code produces the right construct to create this path?
Hide
Jason van Zyl added a comment -

This is, in fact, a problem with interpolation and the issue is already raised in the resources plugin.

Show
Jason van Zyl added a comment - This is, in fact, a problem with interpolation and the issue is already raised in the resources plugin.

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: