Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9271521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T15:38:13+00:00 2026-06-18T15:38:13+00:00

How to start with project documentation using maven and markdown markup language? Maven site

  • 0

How to start with project documentation using maven and markdown markup language?
Maven site default is APT, which is uncomfortable to learn just to do thing maven way.
(Usually nobody in a team will start writing maven site documentation when they also need to learn one more markup language along the way.)

Has anybody tried to use markdown (the same markup language as used on github) for Maven project site documentation? I see from Maven Doxia references that it is possible.
Any issues?

I am new to maven site generation. I think markdown is better to start with, than others markup languages, that the team has not worked with.

UPDATE. Succeeded. See answer below.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T15:38:15+00:00Added an answer on June 18, 2026 at 3:38 pm

    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 start adding pages under src/site/markdown/ with .md extension.
    For every page add menu item like in sniplet below:

     <body>
        <!-- http://maven.apache.org/doxia/doxia-sitetools/doxia-decoration-model/decoration.html 
        <item collapse=.. ref=.. name=.. href="README" img=.. position=.. alt=.. border=.. width=.. height=.. target=.. title=.. >
        -->
        <menu name="User guide">
          <item href="README.html" name="README" />
        </menu>
    
        <menu ref="reports" inherit="bottom" />
      </body>
    

    Than use mvn site to generate site.
    Look at target/site to review results.

    mvn site:stage -DstagingDirectory=C:\TEMP\fullsite to get multi-modular project site in one folder.

    Read more about maven-site-plugin.

    I recommend to use maven-fluido-skin. It is newest style, based on Twitter Bootstrap
    Add this to site.xml

    <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

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I will start new project which is based on ASP.NET MVC 3 using C#
I start a project MyFileChooser which contains package com.MyFileChooser.In my Project i have a
I need to start a project that will be json-API-centric, which means that most
I am going to start a project of my own, which will be ASP.NET
I can easily create a Maven project for programming portlets (for example using archetype).
I'm using the Jquery Validation plugin on a project. By default, the plugin validates
I'm trying to start my node.js project with BDD using vows. Then I got
How can I start using Rspec with an existing Ruby on Rails 2.3.5 project
Problem I'm having trouble using XdcMake to generate XML documentation in a C++ project
We've just started using Sencha's ExtJS 4 in our project and have been following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.