Maven Integration

Dependencies

Dependent plugins

Declaring a dependency

As a plugin developer you can use this plugin as dependency of your plugin by adding a dependency tag to your POM.

To avoid version conflicts it is suggested not to depend on a specific version, but use the Jenkins plugin BOM and the following dependency snippet:

<dependency>
    <groupId>org.jenkins-ci.main</groupId>
    <artifactId>maven-plugin</artifactId>
</dependency>

Required

Optional