Description
My build project parses a project's pom.xml to expose the data to various ant tasks. After parsing the pom.xml, the ant tasks use the normal variable syntax such as ${project.build.directory} to dig into the pom's contents.
The value of this specific element in my project is "${basedir}/target". In 2.0.10, the resulting value of this lookup will be fully resolved to the project's directory. With 2.1.0, the value resolves to the literal "${basedir}/target" and the build fails.
2.1.0 failure with a ${project.build.directory} value of "${basedir}\target":
java.io.FileNotFoundException: c:\Projects\ProjectName\${basedir}\target\version.jsp (The system cannot find the path specified)
Attachments
Issue Links
- duplicates
-
MANTTASKS-173 Value of project.build.finalName is not resolved
- Closed
- is duplicated by
-
MANTTASKS-187 maven ant tasks 2.1.0 pom task no longer extrapolates properties
- Closed
- relates to
-
MANTTASKS-183 Property not evaluated in pom/project/parent/version
- Closed