Skip to content

Commit 4479755

Browse files
committed
Add Clirr check.
1 parent 7dbcb8e commit 4479755

2 files changed

Lines changed: 33 additions & 0 deletions

File tree

clirr-ignores.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!--
2+
Clirr is a tool that checks Java libraries for binary and source compatibility with older releases.
3+
This file lists known (and accepted) differences with the reference version specified in pom.xml.
4+
To update this file:
5+
* run `mvn clirr:clirr` at the root directory
6+
* check the reports in `<module>/target/site/clirr-report.html`
7+
* add new differences if needed. Difference types are explained at http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html
8+
-->
9+
<differences/>

pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,30 @@
159159
<tagNameFormat>@{project.version}</tagNameFormat>
160160
</configuration>
161161
</plugin>
162+
<plugin>
163+
<groupId>org.codehaus.mojo</groupId>
164+
<artifactId>clirr-maven-plugin</artifactId>
165+
<version>2.6.1</version>
166+
<executions>
167+
<execution>
168+
<phase>compile</phase>
169+
<goals><goal>check</goal></goals>
170+
</execution>
171+
</executions>
172+
<configuration>
173+
<comparisonVersion>2.0.10.1</comparisonVersion>
174+
<ignoredDifferencesFile>../clirr-ignores.xml</ignoredDifferencesFile>
175+
<excludes>
176+
<!-- Package-private, internal classes -->
177+
<exclude>com/datastax/driver/core/Frame$*</exclude>
178+
<exclude>com/datastax/driver/core/ProtocolEvent$*</exclude>
179+
<exclude>com/datastax/driver/core/Message$*</exclude>
180+
<exclude>com/datastax/driver/core/Requests$*</exclude>
181+
<exclude>com/datastax/driver/core/Responses$*</exclude>
182+
<exclude>com/datastax/driver/core/Connection$*</exclude>
183+
</excludes>
184+
</configuration>
185+
</plugin>
162186
<plugin>
163187
<groupId>org.codehaus.mojo</groupId>
164188
<artifactId>build-helper-maven-plugin</artifactId>

0 commit comments

Comments
 (0)