Quote from http://maven.apache.org/doxia/references/index.html
Add this to pom.xml
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>3.2</version> <dependencies> <dependency> <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-module-markdown</artifactId> <version>1.3</version> </dependency> </dependencies> </plugin>
Then add the pages under src/site/markdown/ with the extension .md . For each page, add a menu item, for example, in sniplet:
<body> <menu name="User guide"> <item href="README.html" name="README" /> </menu> <menu ref="reports" inherit="bottom" /> </body>
How to use mvn site to create a site. See target/site for results.
mvn site:stage -DstagingDirectory=C:\TEMP\fullsite to get a multi-module project site in one folder.
Learn more about maven-site-plugin .
I recommend using maven-fluido-skin . This is the latest Twitter Bootstrap based style. Add this to your .xml site.
<project name="xxx"> [...] <skin> <groupId>org.apache.maven.skins</groupId> <artifactId>maven-fluido-skin</artifactId> <version>1.3.0</version> </skin> [...] </project>
See also https://github.com/winterstein/Eclipse-Markdown-Editor-Plugin
Paul Verest Feb 12 '13 at 11:25 2013-02-12 11:25
source share