Skip to content

Commit 3f43fef

Browse files
committed
Add revapi config
Use with 'mvn revapi:report-aggregate' DEVSIX-1056
1 parent 667e2bb commit 3f43fef

File tree

2 files changed

+43
-2
lines changed

2 files changed

+43
-2
lines changed

itextcore/pom.xml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,17 @@
111111
</dependency>
112112
</dependencies>
113113

114-
</project>
114+
<build>
115+
<plugins>
116+
<plugin>
117+
<groupId>org.revapi</groupId>
118+
<artifactId>revapi-maven-plugin</artifactId>
119+
<version>0.8.2</version>
120+
<configuration>
121+
<skip>true</skip>
122+
</configuration>
123+
</plugin>
124+
</plugins>
125+
</build>
126+
127+
</project>

pom.xml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,28 @@
192192
<skipTests>${skipTests}</skipTests>
193193
</configuration>
194194
</plugin>
195+
<plugin>
196+
<groupId>org.revapi</groupId>
197+
<artifactId>revapi-maven-plugin</artifactId>
198+
<version>0.8.2</version>
199+
<dependencies>
200+
<dependency>
201+
<groupId>org.revapi</groupId>
202+
<artifactId>revapi-java</artifactId>
203+
<version>0.13.2</version>
204+
</dependency>
205+
</dependencies>
206+
<configuration>
207+
<checkDependencies>false</checkDependencies>
208+
<failBuildOnProblemsFound>false</failBuildOnProblemsFound>
209+
<reportSeverity>breaking</reportSeverity>
210+
</configuration>
211+
<executions>
212+
<execution>
213+
<goals><goal>check</goal></goals>
214+
</execution>
215+
</executions>
216+
</plugin>
195217
</plugins>
196218
</build>
197219

@@ -244,6 +266,12 @@
244266
<groupId>org.codehaus.mojo</groupId>
245267
<artifactId>clirr-maven-plugin</artifactId>
246268
<version>2.7</version>
269+
<configuration>
270+
<comparisonVersion>7.0.1</comparisonVersion>
271+
<textOutputFile>${project.build.directory}/clirr-report.txt</textOutputFile>
272+
<linkXRef>false</linkXRef>
273+
<failOnError>false</failOnError>
274+
</configuration>
247275
</plugin>
248276
<plugin>
249277
<groupId>org.apache.maven.plugins</groupId>
@@ -391,7 +419,7 @@
391419
<artifactId>clirr-maven-plugin</artifactId>
392420
<version>2.7</version>
393421
<configuration>
394-
<comparisonVersion>7.0.0</comparisonVersion>
422+
<comparisonVersion>7.0.1</comparisonVersion>
395423
<textOutputFile>${project.build.directory}/clirr-report.txt</textOutputFile>
396424
<linkXRef>false</linkXRef>
397425
<failOnError>false</failOnError>

0 commit comments

Comments
 (0)