The stripping of the hostname from full URLs, and then getting it wrong,
drove me mad too.

I've got it all working now.   Maven 2.0.4, maven-site-plugin 2.0-beta5

What do you have in your <url/> in your sub poms?  I only set the url in the
parent pom, and don't mention it in the sub poms.

David 


Christian Goetze-3 wrote:
> 
> I have a project with subprojects, and I wish to generate a site with 
> some simple reports. It just doesn't work. I always end up with no 
> module links on the top level index.html page, and if I go to 
> project-reports.html, all the module links simply point to index.html, 
> not the actual submodules.
> 
> I tried adding my own menu items, but then the leading "/" of every href 
> in the items is removed, making the links relative, and useless.
> 
> What am I doing wrong? I really don't want to have to write my own site 
> generations scripts, since the actual content seems to work OK.
> --
> cg
> 
> Here is my src/site/site.xml:
> 
> <project name="SenSage">
>  <bannerLeft>
>   <name>SenSage</name>
>   <href>http://buildloop.sensage.com</href>
>   
> <src>http://www.sensage.com/English/Images/Logos/SenSage_logo_182px.gif</src>
>  </bannerLeft>
>  <bannerRight>
>   <name>SenSage</name>
>  </bannerRight>
>  <body>
>   ${modules}
> 
>   ${reports}
>  </body>
> </project>
> 
> Here is my reporting section from the top level pom.xml
> 
>   <reporting>
>     <outputDirectory>${DO}/target/site</outputDirectory>
> 
>     <plugins>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-project-info-reports-plugin</artifactId>
>         <reportSets>
>           <reportSet>
>              <reports>
>                <report>dependencies</report>
>              </reports>
>           </reportSet>
>         </reportSets>
>       </plugin>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-javadoc-plugin</artifactId>
>         <configuration>
>           <aggregate>true</aggregate>
>         </configuration>
>       </plugin>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-jxr-plugin</artifactId>
>         <configuration>
>           <aggregate>true</aggregate>
>         </configuration>
>       </plugin>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-checkstyle-plugin</artifactId>
>         <configuration>
>           <aggregate>true</aggregate>
>           <configLocation>checkstyle.xml</configLocation>
>         </configuration>
>       </plugin>
>     </plugins>
> 
>   </reporting>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/maven-site-plugin-not-generating-proper-modules-nav-menu-tf3337288s177.html#a9317882
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to