You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Apache Wiki <wi...@apache.org> on 2005/11/11 14:22:53 UTC

[Maven Wiki] Update of "SitePlugin" by AlexanderHars

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org