[ http://jira.codehaus.org/browse/MSITE-72?page=all ] Brett Porter closed MSITE-72: -----------------------------
Assign To: Brett Porter Resolution: Fixed Fix Version: (was: 2.0) 2.0-beta-5 as part of MSITE-110 > new non reactor populateModules SiteMojo code assumes each POM declares its > own URL > ----------------------------------------------------------------------------------- > > Key: MSITE-72 > URL: http://jira.codehaus.org/browse/MSITE-72 > Project: Maven 2.x Site Plugin > Type: Bug > Reporter: John Allen > Assignee: Brett Porter > Fix For: 2.0-beta-5 > Attachments: SiteMojo.diff > > > In populateModules() :- > SiteMojo.java +523 > File f = new File( project.getBasedir(), module + > "/pom.xml" ); > if ( f.exists() ) > { > MavenXpp3Reader reader = new MavenXpp3Reader(); > FileReader fileReader = null; > try > { > fileReader = new FileReader( f ); > model = reader.read( fileReader ); > This code assumes that a modules POM declares a URL. All my modules rely upon > a parent in the ancestry to define their URL resulting in an empty modules > menu. -- 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