Maven 2 & 3

${project.build.directory} different in M2.0 & M2.0.1

Details

  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

From Jens:
In Maven 2.0 the value containes the whole absolute path to the target
dir.

C:\windows\system32\target

With Maven 2.0.1 only:

target\

(Note: I was unable to reproduce this against 2.0, instead getting ${project.build.directory} verbatim, but I believe it should be an absolute path)

Issue Links

Activity

Hide
Brett Porter added a comment -

its been noted that this isn't always the case, depending on environment. This leads me to believe it could be related to the introduction of environment variables in the expression evaluator.

Show
Brett Porter added a comment - its been noted that this isn't always the case, depending on environment. This leads me to believe it could be related to the introduction of environment variables in the expression evaluator.
Hide
Jason van Zyl added a comment -

Interpolator from 2.0 back ported with envar interpolation taken from the new interpolator to keep compatibility with that feature which was added in 2.0.1.

Show
Jason van Zyl added a comment - Interpolator from 2.0 back ported with envar interpolation taken from the new interpolator to keep compatibility with that feature which was added in 2.0.1.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: