Maven uses it for building your plugin. All Jenkins plugins should be based on the Plugin Parent POM:
<parent> <groupId>org.jenkins-ci.plugins</groupId> <artifactId>plugin</artifactId> <version>2.2</version> </parent>
If the project is created using the provided archetype, everything is already set up. Up to Jenkins 1.645 the Plugin Parent POM was part of the main Jenkins project and the POM version was the baseline Jenkins version to be used for the plugin.
When using Parent POM version 2.2 or later, the baseline version is selection using the
jenkins.version property, e.g.:
<properties> <jenkins.version>1.609.1</jenkins.version> </properties>
Java source files of the plugin.