Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.0.8
-
None
-
None
-
None
Description
Hi
although the Anttask <echo message="${project.parent.basedir}" /> prints out the proper path of my multiproject's root directory, I get an InvalidProjectModelException If I try to use it in the <systemPath/> element of a dependency like this:
<dependency>
<groupId>org.company.my</groupId>
<artifactId>xyz</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.parent.basedir}/path/to/xyz.jar</systemPath>
</dependency>
Also mvn help:effective-pom resolves that property if not used in <systemPath/>