Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Iframe
frameborder0
height250
width700
src
Wiki Markup
{iframe:src=http://update.sonarsource.org/plugins/clirr.html

Your browser does not support iframes.

|width=700|height=250|frameborder=0}
Your browser does not support iframes.
{iframe}

Description / Features

Clirr checks Java libraries for binary and source compatibility with older releases. In a continuous integration process Clirr can automatically prevent accidental introduction of binary or source compatibility problems.

This Sonar plugin It measures the number of API break violations issues between the current sources and the last known stable version of the library in the Maven repository.

Image RemovedImage AddedImage Removed

Image AddedUse Update Center or download plugin into the directory $SONAR_HOME/extensions/plugins/

Installation

Include Page
Include - Plugin Installation
Include - Plugin Installation

Configuration

  1. Add at least one Clirr rule to your quality profile (Configuration -> Quality Profiles - > select Select your profile - > filter rules on plugin 'repository "Clirr'") :
    • API Change adds new feature without breaking anything
    • API Change breaks the backward binary compatibility
    • API Change might change runtime expected behavior
  2. Define your project as an API project: browse to the project settings and set the property Clirr - > API to true.
  3. Analyze your Maven project
  4. Browse to the dashboard and look at the "API Changes" widget and page.

Known

...

Limitations

  1. Only Java Maven projects are supported.
  2. As Because Clirr does not report line numbers, violations issues cannot be displayed in the correct location within the source code
  3. Violations of deleted resources/classes are Issues attached to deleted components are re-assigned to the project

...

Change Log

JIRA Issues
anonymoustrue
title

...

Version 1.1
height60
renderModestatic
width

...

900
columnstype;key;summary;priority

...

urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=17335&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
title

...

Version 1.0
height60
renderModestatic
width

...

900
columnstype;key;summary;priority

...

urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16910&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
title

...

Version 0.2
height90
renderModestatic
width

...

900
columnstype;key;summary;priority

...

urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=15272&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000