Elffuss BraidHub

kikocis/java-driver public

Add Clirr check.
Changesetd192a852345ef4ffd48cf7e4c816d9a1830e457b358f5b9e39b66ade86bb489f
Authorolim7t <omichallat+github@gmail.com> · 2015-06-26 20:04 +02:00
Committerolim7t <omichallat+github@gmail.com> · 2015-06-26 20:04 +02:00
Parents8215ada6fc0c

Browse the files at this changeset

2 files changed

added clirr-ignores.xml +9 −0
@@ -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/>
No newline at the end of the file
modified pom.xml +24 −0
@@ -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>