Most Jenkins plugins are built with Maven. They typically use the Jenkins plugin POM as their parent POM, which provides a sensible default configuration for the plugin build. The Maven HPI plugin is one of the plugins configured there. It does the heavy lifting, such as bundling plugins in the HPI/JPI archive format used for Jenkins plugins, or allowing developers to run a debug Jenkins instance with the plugin.
Since version 2.0 of the plugin POM, it’s possible to specify the core version dependency of the parent POM independent of its version.[1] This allows plugins compatible with older Jenkins releases to benefit from fixes and improvements in the parent POM. The plugin POM changelog provides more details.
It is generally recommended to frequently update to a recent plugin parent POM for multiple reasons:
Plugin developers and users benefit from bug fixes and improvements to the parent POM and the tools and libraries it specifies
Additions to the default build like static code analysis and general tests aim to improve the overall quality of plugins.
Recent versions of the tools (inherited from the parent plugins POM) allow developers to use more advanced tools like the plugin compatibility tester to determine whether their plugin is compatible with newest Jenkins releases.
The "Improve a plugin" tutorial includes a step to update the plugin parent pom, along with an associated video.