maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey De Smet <ge0ffrey.s...@gmail.com>
Subject Re: maven site not showing sub module links in parent html
Date Mon, 18 Sep 2006 13:02:08 GMT
Try

         <menu ref="modules" />

         <menu ref="reports" />


tulasi wrote, On 2006-09-18 2:54 PM:
> 
> Hi,
> 
> I have created my  /src/site/site.xml and pom.xml like as follows. But when
> i am trying create mvn site, its not creating sub modules links in parent
> html. Here i have enclosed my site.xml and pom.xml. what was wrong in these
> files?.  
> 
> Site.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <project name="My Framework">
>   <bannerLeft>
>     <name>My Framework</name>
>     <src>http://maven.apache.org/images/apache-maven-project.png</src>
>     <href>http://maven.apache.org/</href>
>   </bannerLeft>
>   <bannerRight>
>     <src>http://maven.apache.org/images/maven-small.gif</src>
>   </bannerRight>
>   <skin>
>     <groupId>org.apache.maven.skins</groupId>
>     <artifactId>maven-default-skin</artifactId>
>     <version>1.0</version>
>   </skin>
>   <body>
>     <links>
>     	<item name="My Framework" href="../target/site/index.html"/> 
>     </links>
>     ${modules}
>     ${reports} 
>   </body>
> </project>
> 
> 
> Pom.xml
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <project>
> 	<modelVersion>4.0.0</modelVersion>
> 	<groupId>my.id.util</groupId>
> 	<version>${my_version_number}</version>
> 	<name>MyFramework</name>
> 	<artifactId>MyFramework</artifactId>
> 	<packaging>pom</packaging>
> 	<distributionManagement>
> 	    <site>
> 	      <id>MyFramework</id>
> 	      <url>scpexe://MyProject/</url>
> 	    </site>  
> 	   	<snapshotRepository>
> 	      <id>snapshots</id>
> 	      <name>Maven Central Plugins Development Repository</name>
> 	     
> <url>scp://repo1.maven.org/home/projects/maven/repository-staging/snapshots/maven2</url>
> 	    </snapshotRepository>
>   	</distributionManagement> 
> 	<build>
> 		<directory>${lib.dir}</directory>
> 		<outputDirectory>target</outputDirectory>
> 	</build>
> 	<modules>
> 		<module>subA</module>
> 		<module>subB</module>
> 		<module>subC</module>
> 		<module>subD</module>
> 		<module>subE</module>
> 		<module>subF</module>
> 	</modules>
> 	<reporting>
> 	    <plugins>
> 	      <plugin>
> 	       <groupId>org.apache.maven.plugins</groupId>
> 	       <artifactId>maven-site-plugin</artifactId>
> 	       <version>2.0-beta-5</version>
> 	       <configuration>
> 	       	 <locales>en</locales> 
> 	       </configuration>
> 	      </plugin>
> 	    </plugins>
>     </reporting>
>     </project>

-- 
With kind regards,
Geoffrey De Smet


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message