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

        

Reply via email to