- #How to install maven javadoc plugin in linux update#
- #How to install maven javadoc plugin in linux archive#
#How to install maven javadoc plugin in linux archive#
#How to install maven javadoc plugin in linux update#
The maven-plugin-plugin is actually defined automatically because I used the packaging type of maven-plugin above, to use a newer version I can update the plugin in the pluginManagment section: Plugins are what actually give Maven its power, at its core Maven is just a plugin framework, so naturally, I will use a Maven plugin to build a Maven plugin with the Maven Plugin Plugin. maven-plugin-api 3.6.0 provided maven-core 3.6.0 provided -tools maven-plugin-annotations 3.5 provided Plugins build Plugins These are all scoped as provided which means when the plugin runs, the actual version used will depend on the version of Apache Maven you have installed.
Next up I need to define a few dependencies on maven-core, maven-plugin-api, and maven-plugin-annotations. While the group ID could be just about anything, is strongly recommended to be in reverse domain name notation, similar to Java packages. This is as simple as it gets, I’ve defined the Maven GAV ( Group ID, Artifact ID, Version), a name, and most importantly I’ve set the packaging to maven-plugin. 4.0.0 example-maven-plugin 1.0-SNAPSHOT maven-plugin Example Maven Plugin An Example Maven Plugin 1.8 1.8 UTF-8 UTF-8