SonarQube Clirr Plugin

Checks Java libraries for binary and source compatibility with older releases

Лицензия

Лицензия

Категории

Категории

CLI Взаимодействие с пользователем
Группа

Группа

org.codehaus.sonar-plugins
Идентификатор

Идентификатор

sonar-clirr-plugin
Последняя версия

Последняя версия

1.2
Дата

Дата

Тип

Тип

sonar-plugin
Описание

Описание

SonarQube Clirr Plugin
Checks Java libraries for binary and source compatibility with older releases
Ссылка на сайт

Ссылка на сайт

http://redirect.sonarsource.com/plugins/clirr.html
Организация-разработчик

Организация-разработчик

SonarSource
Система контроля версий

Система контроля версий

https://github.com/SonarCommunity/sonar-clirr

Скачать sonar-clirr-plugin

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
commons-io : commons-io jar 2.4

provided (2)

Идентификатор библиотеки Тип Версия
org.codehaus.sonar : sonar-plugin-api jar 4.5.1
org.codehaus.sonar-plugins.java : sonar-java-plugin sonar-plugin 2.4

test (3)

Идентификатор библиотеки Тип Версия
org.codehaus.sonar : sonar-testing-harness jar 4.5.1
org.easytesting : fest-assert jar 1.4
org.apache.maven : maven-project jar 2.2.0

Модули Проекта

Данный проект не имеет модулей.

SonarQube Clirr Plugin

Build Status

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.

It can measure the number of API break issues between the current sources and another version of the library. The reference version can be automatically downloaded from the Maven repository when using the Clirr Maven plugin.

Configuration

  1. Add at least one Clirr rule to your quality profile (Quality Profiles > Select your profile > filter rules on repository "Clirr"):
  • API Change adds new feature without breaking anything
  • API Change breaks the backward binary compatibility
  • API Change might change runtime expected behavior
  1. Configure path of Clirr text report using property sonar.clirr.reportPath
  2. Analyze your project
  3. Check for new issues from Clirr rule repository.

Produce Clirr text report using Maven

<build>
  <plugins>
    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>clirr-maven-plugin</artifactId>
      <configuration>
        <comparisonVersion>X.Y</comparisonVersion>
        <textOutputFile>${project.build.directory}/clirr-report.txt</textOutputFile>
        <linkXRef>false</linkXRef>
        <failOnError>false</failOnError>
      </configuration>
      <executions>
        <execution>
          <id>clirr</id>
          <goals>
            <goal>check-no-fork</goal>
          </goals>
        </execution>
      </executions>
    </plugin>
  </plugins>
</build>

Версии библиотеки

Версия
1.2
1.1
1.0
0.2