[ http://jira.codehaus.org/browse/MSITE-71?page=all ] Brett Porter closed MSITE-71: -----------------------------
Resolution: Fixed Fix Version: (was: 2.0) 2.0-beta-5 reading from source file, then repository to work around the issue > Plugin uses NON interpolated model values (e.g URL) due to > MavenProject.getParent returning non interpolated project > -------------------------------------------------------------------------------------------------------------------- > > Key: MSITE-71 > URL: http://jira.codehaus.org/browse/MSITE-71 > Project: Maven 2.x Site Plugin > Type: Bug > Versions: 2.0 > Reporter: John Allen > Assignee: Brett Porter > Priority: Blocker > Fix For: 2.0-beta-5 > > Original Estimate: 1 hour > Remaining: 1 hour > > You can not do this:- > String parentUrl = project.getParent().getUrl(); > (SiteMojo.java +928) > As getParent returns a Mavenproject that has not been cooked. > I've described this to Brett before on dev and cunfluence and I've I also > raised a bug against Maven POM component. -- 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