Macro in url of parent project is not expanded if only the site for a subproject is built -----------------------------------------------------------------------------------------
Key: MSITE-310 URL: http://jira.codehaus.org/browse/MSITE-310 Project: Maven 2.x Site Plugin Issue Type: Bug Affects Versions: 2.0-beta-5 Reporter: Mike Hanafey Priority: Minor The parent POM has: {code:xml} <url>${gxSite}/${project.build.finalName}</url> {code} where "gxSite" is defined in settings.xml as "http://dna.dupont.com/site" The module POM has: {code:xml} <parent> <relativePath>../MavenRoot/pom.xml</relativePath> <groupId>genomix</groupId> <artifactId>LeadTracker</artifactId> <version>0.1</version> </parent> ... <url>${project.artifactId}</url> {code} and the "site.xml" in the module includes a menu with ref="parent". If goals "site site:deploy" is run from the parent, the link back to the parent is fine, but if the same goal is run from the module, the link back to the parent is generated as follows: {code} http://dna.dupont.com/site/LeadTracker-0.1/${gxSite}/LeadTracker-0.1/index.html {code} -- 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