# Using the Maven plugin
!!! note
Dokka Maven plugin does not support multi-platform projects.
Minimal Maven configuration is
```xml
org.jetbrains.dokkadokka-maven-plugin${dokka.version}pre-sitedokka
```
By default files will be generated in `target/dokka`.
The following goals are provided by the plugin:
* `dokka:dokka` - generate HTML documentation in Dokka format (showing declarations in Kotlin syntax)
* `dokka:javadoc` - generate HTML documentation in Javadoc format (showing declarations in Java syntax)
* `dokka:javadocJar` - generate a .jar file with Javadoc format documentation
## Configuration options
The available configuration options are shown below:
```xml
org.jetbrains.dokkadokka-maven-plugin${dokka.version}pre-sitedokkafalsedatasome/out/dirdefaultfalsepackages.mdextra.mdPUBLICPRIVATEPROTECTEDINTERNALPACKAGEsrc/test/samplesfalsetrue6falsetruetruesrc/main/kotlinsrc/main/kotlinJVM${project.basedir}/src/main/kotlinhttps://github.com/cy6erGn0m/vertx3-lang-kotlin/blob/master/src/main/kotlin#Lfalsefalsehttps://example.com/docs/kotlin($|\.).*falsetruefalsePUBLICPRIVATEPROTECTEDINTERNALPACKAGEorg.jetbrains.dokkagfm-plugin${dokka.version}
```
## Applying plugins
You can add plugins inside the `dokkaPlugins` block:
```xml
org.jetbrains.dokkadokka-maven-plugin${dokka.version}pre-sitedokkaorg.jetbrains.dokkakotlin-as-java-plugin${dokka.version}
```
Some plugins can be configured separately using plugin's fully qualified name. For example:
```xml
```
## Example project
Please see the [Dokka Maven example project](https://github.com/Kotlin/dokka/tree/master/examples/maven) for an example.