How to use
Just add the following parent declaration in your project parent POM :
How to upgrade
Just change the version of the parent pom you used previously. Have a look at each release note of each version you upgrade to see if there are some notable changes which require to modify something in your project.
How to configure
The parent defines and uses a set of cutom properties that can be reused and/or overrided by projects to customize the default behavior of maven defined in the parent pom.
Maven plugins versions
The parent pom defines in a set of properties all recommended versions of maven plugins to use.
Each project/module can override a version of a plugin to use a different from the one defined in parent. For example to change version of sonar-packaging-maven-plugin you can use following code snippet:
To work Sonar requires Java 1.5 or later. So, your plugin should work under Java 1.5. However if you really want to have Java 1.6 as target platform, then you can use following configuration :
Version 7 (not released) (9 issues)
|SONARPLUGINS-798||Add integration tests profile||Closed||Fixed|
|SONARPLUGINS-795||Add release profile||Closed||Fixed|
|SONARPLUGINS-787||Don't allow to use Maven 2.1.0 and 2.2.0, because they produce incorrect checksums||Closed||Fixed|
|SONARPLUGINS-784||Ban com.ibm.icu:icu4j:2.6.1 dependency||Closed||Fixed|
|SONARPLUGINS-705||Should be possible to change version for plugins||Closed||Fixed|
|SONARPLUGINS-702||Documentation of parent pom||Closed||Fixed|
|SONARPLUGINS-693||Add sonar-dev-maven-plugin to parent pom||Closed||Fixed|
|SONARPLUGINS-674||Improve license management||Closed||Fixed|
|SONARPLUGINS-506||Use Animal Sniffer to check plugins in forge||Closed||Fixed|