You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/06/13 04:11:12 UTC
[jira] Updated: (MNG-3597) Using ${project.parent.basedir} in
causes InvalidProjectModelException
[ http://jira.codehaus.org/browse/MNG-3597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-3597:
------------------------------
Fix Version/s: 2.0.x
> Using ${project.parent.basedir} in <systemPath/> causes InvalidProjectModelException
> ------------------------------------------------------------------------------------
>
> Key: MNG-3597
> URL: http://jira.codehaus.org/browse/MNG-3597
> Project: Maven 2
> Issue Type: Bug
> Affects Versions: 2.0.8
> Reporter: Jan Rudert
> Fix For: 2.0.x
>
>
> 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/>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira