You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dale Chapman (JIRA)" <ji...@codehaus.org> on 2006/11/15 14:44:31 UTC

[jira] Created: (MSITE-195) Module navigation entries point to index.html not /index.html

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

        

[jira] Issue Comment Edited: (MSITE-195) Module navigation entries point to index.html not /index.html

Posted by "John Allen (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Commented: (MSITE-195) Module navigation entries point to index.html not /index.html

Posted by "Sam Wilson (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-195?page=comments#action_81601 ] 
            
Sam Wilson commented on MSITE-195:
----------------------------------

I am having the same issue.

In some cases this is working for me and in others it is not. I'm trying to see if I can figure out what is different that is causing the failure.

Very frustrating.

> 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

        

[jira] Closed: (MSITE-195) Module navigation entries point to index.html not /index.html

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSITE-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MSITE-195.
---------------------------------

      Assignee: Dennis Lundberg
    Resolution: Cannot Reproduce

> 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
>          Components: multi module
>         Environment: Intel box running Windows XP
>            Reporter: Dale Chapman
>            Assignee: Dennis Lundberg
>            Priority: Minor
>         Attachments: MSITE-195.zip
>
>
> 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

        

[jira] Updated: (MSITE-195) Module navigation entries point to index.html not /index.html

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSITE-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MSITE-195:
----------------------------------

    Attachment: MSITE-195.zip

Sample project that works for me using Maven 2.0.8 and the latest 2.0-beta-7-SNAPSHOT of the Site plugin.

> 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
>          Components: multi module
>         Environment: Intel box running Windows XP
>            Reporter: Dale Chapman
>            Priority: Minor
>         Attachments: MSITE-195.zip
>
>
> 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

        

[jira] Updated: (MSITE-195) Module navigation entries point to index.html not /index.html

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSITE-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MSITE-195:
----------------------------------

    Component/s: multi module

> 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
>          Components: multi module
>         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

        

[jira] Commented: (MSITE-195) Module navigation entries point to index.html not /index.html

Posted by "John Allen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_103018 ] 

John Allen commented on MSITE-195:
----------------------------------

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