Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Java Shell
Tree: b26b71933d

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src Execute in the verify phase to pick up generated docs from integratio…
.gitignore Anders and Alistair pair refactoring


Maven plugin to package docs

Add it to the project

  <!--  the directories below will be added by default,
    using the config element will _replace_ the defaults.
Make sure to add the configuration to the plugin element and not to an execution, unless you want Maven builds and CLI invocations of the plugin to behave differently!


The filtering is the usual Maven filtering being applied. Image files are not filtered.

To turn filtering on, set the filter property to true. Note that this can’t be set on directory level.

Use it from the command line

If it’s not added to the project configuration, you need to invoke it like for example mvn

Build docs without building the project

mvn docs:assemble

  • creates the docs.jar

  • attaches the created jar to the project

  • mostly interesting for use in the pom.xml

  • mvn2 and mvn3

Build and install docs without building the project

mvn docs:install

  • creates and then installs the docs.jar

  • mvn3 only

  • CLI only

mvn docs:install -Dtest=DocsTest

  • executes test, then assembles and installs docs

  • otherwise, like the example above

Something went wrong with that request. Please try again.