Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
titleTable of Contents
Table of Contents

How to Use

Just add the following parent declaration in your project parent POM:

Code Block
<?xml version="1.0" encoding="UTF-8"?>

How to



Just change Change the version of the parent pom you used previously. Have a look at each the release note of notes for each version you upgrade to see if there are some any notable changes which will require you to modify something in your project.

How to



The parent defines and uses a set of custom properties that can be reused and/or overridden by projects to customize the default behavior of Maven defined in the parent pom.



This isn't recommended, but could it may be useful to use a new newer version of a plugin not yet available Maven plugin than is specified in the parent POM or to workaround a bug by using another version. In all cases don it may be necessary to use another version of a plugin in order to work around a bug. If you must do so, do not forget to report to us the change you need. If it's good for one project, it could be useful for others.

Each project/module can override a version of a plugin to use a different from one than the one defined in parent. For example to change the version of sonar-packaging-maven-plugin you can use following code snippet:


All plugins specified in the POM , must be compatible with maven.min.version and java.min.version. This and available plugin updates can be checked with help of versions-maven-plugin.