Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Maven Wiki" for change 
notification.

The following page has been changed by AlexanderHars:
http://wiki.apache.org/maven/SitePlugin

New page:
[http://maven.apache.org/guides/mini/guide-site.html Guide to creating a site] 

== How to's ==

=== How to change the site template ===
(based on a message in the Maven Users list by Rohnny Moland)

It is possible to change the velocity template used for creating the site. 

The best way to start is to use customize the velocity template from the 
maven-site-plugin.jar. Then include the customized template in your 
src/site/resources directory. 

In your pom you also have to add something
like this:

{{{
[..]
<plugin>
   <groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-site-plugin</artifactId>
   <configuration>
     <templateDirectory>
       file://${basedir}/src/site/resources/
     </templateDirectory>
     <template>your-site.vm</template>
   </configuration>
</plugin>
[..]
}}}

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

Reply via email to