[ http://jira.codehaus.org/browse/MSITE-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_103018 ]
John Allen edited comment on MSITE-195 at 7/23/07 1:06 PM: ----------------------------------------------------------- Probably related to the way the modules have been found (ie via reactor, via filesystem or via the repository). In some cases (namely non-reactor) a module project wont be fully interpolated (and indeed inheritance composition may not have occured either, cant remember). Best to explicitly define URLs (and thus distroManagement.site.url) for all your projects if you do non-reactor based site builds was: Probably related to the way the modules have been found (ie via reactor, via filesystem or via the repository). > Module navigation entries point to index.html not <moduleName>/index.html > ------------------------------------------------------------------------- > > Key: MSITE-195 > URL: http://jira.codehaus.org/browse/MSITE-195 > Project: Maven 2.x Site Plugin > Issue Type: Bug > Environment: Intel box running Windows XP > Reporter: Dale Chapman > Priority: Minor > > I am using Maven version 2.0.4 > I am experimenting with Maven to see if it will suit my organizations needs > and I have created a simple example that looks like the following: > App1Pom > + App1Ear > + App1Jar > (pom.xml snippet) > <modules> > <module>App1Ear</module> > <module>App1Jar</module> > </modules> > When I generate the site using mvn site, the "About" page for App1Pom shows > the two modules in the module section of the navigation, but neither has an > anchor. When I navigate to another section, both module entries will now > contain an anchor that points to index.html. > (index.html snippet) > <h5>Modules</h5> > <ul> > > <li class="none"> > <strong>App1Ear</strong> > </li> > > <li class="none"> > <strong>App1Jar</strong> > </li> > </ul> > (project-info.html snippet) > <h5>Modules</h5> > <ul> > > <li class="none"> > <a href="index.html">App1Ear</a> > </li> > > <li class="none"> > <a href="index.html">App1Jar</a> > </li> > </ul> > When I generate the site using mvn site:stage, the navigation section > contains the correct entries of App1Ear/index.html and App1Jar/index.html. > (index.html snippet) > <h5>Modules</h5> > <ul> > > <li class="none"> > <a href="App1Ear/index.html">App1Ear</a> > </li> > > <li class="none"> > <a href="App1Jar/index.html">App1Jar</a> > </li> > </ul> > I have tried to review the current bug list to see if this problem has > already been reported, but I was not able to see an entry that describes this > situation. If I have a usage problem please point me to some documentation > that can help me understand. > Thanks. > Dale Chapman. -- 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