Versions Compared

Key

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

How to

...

Use

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

Code Block
titlepom.xml
langxml
<?xml version="1.0" encoding="UTF-8"?>
<project>
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.codehaus.sonar-plugins</groupId>
    <artifactId>parent</artifactId>
    <version>14</version>
    <relativePath>../parent</relativePath>
  </parent>
  ...
</project>

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 custom properties that can be reused and/or overrided by projects to customize the default behavior of maven defined in the parent pom.

License

Define licenses, inceptionYear and organization :

...

Code Block
mvn license:format

Maven plugins versions

The parent pom defines in a set of properties all recommended versions of maven plugins to use.

...

Code Block
titlepom.xml
langxml
<properties>
  <version.sonar-packaging.plugin>1.2</version.sonar-packaging.plugin>
</properties>

Profiles

NameIdentifierActivationDescription
Release profilereleaseDeactivated by default. Activated during release. Can be activated with -PreleaseGenerates javadoc artifacts.
Integration testsintegration-testsDeactivated by default. Can be activated with -Pintegration-testsLaunch integration tests from JUnit using the failsafe plugin.

Known

...

Issues

Deployment not possible if you are behind proxy - see SONARPLUGINS-1457

Development

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

Changelog

JIRA Issues
anonymoustrue
titleVersion 14
height120
renderModestatic
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=18542&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

JIRA Issues
anonymoustrue
titleVersion 13
height120
renderModestatic
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=18419&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

JIRA Issues
anonymoustrue
titleVersion 12
height120
renderModestatic
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=18364&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

JIRA Issues
anonymoustrue
titleVersion 11
height120
renderModestatic
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+SONARPLUGINS+AND+fixVersion+%3D+PARENT-11+AND+status+%3D+Closed+ORDER+BY+priority+DESC&tempMax=1000

JIRA Issues
anonymoustrue
titleVersion 10
height120
renderModestatic
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=17363&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

JIRA Issues
anonymoustrue
titleVersion 9
height120
renderModestatic
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=17041&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

JIRA Issues
anonymoustrue
titleVersion 8
height180
renderModestatic
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16925&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

JIRA Issues
anonymoustrue
titleVersion 7
height300
renderModestatic
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16768&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000