**mvn compile** **mvn package**: If the plugin have some java dependencies managed from Maven, the property ''generate-resources'' needs to be added to the pom.xml. **mvn package -P app-with-doc**: Add to the package command the compilation of the plugin's doc. Require ''sudo apt install xsltproc docbook docbook-xsl'' to be installed. **mvn package -P release** **mvn package javadoc:aggregate**