Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -498,5 +498,16 @@
</pluginManagement>
</build>
</profile>
<profile>
<id>api-diff</id>
<build>
<plugins>
<plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
27 changes: 27 additions & 0 deletions core/src/main/api/revapi.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<#--

Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.

-->
|CHANGE|SEVERITY|OLD|NEW|
|---|---|---|---|
<#list reports as report>
<#list report.differences as diff>
|<#if diff.description??>${diff.description}<#else>${diff.code}</#if>|<#list diff.classification?keys as compat>${compat}: ${diff.classification?api.get(compat)}<#sep>, </#list>|${report.oldElement!"none"}|${report.newElement!"none"}|
</#list>
</#list>
13 changes: 13 additions & 0 deletions hadoop-mapreduce/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,17 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>api-diff</id>
<build>
<plugins>
<plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
27 changes: 27 additions & 0 deletions hadoop-mapreduce/src/main/api/revapi.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<#--

Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.

-->
|CHANGE|SEVERITY|OLD|NEW|
|---|---|---|---|
<#list reports as report>
<#list report.differences as diff>
|<#if diff.description??>${diff.description}<#else>${diff.code}</#if>|<#list diff.classification?keys as compat>${compat}: ${diff.classification?api.get(compat)}<#sep>, </#list>|${report.oldElement!"none"}|${report.newElement!"none"}|
</#list>
</#list>
13 changes: 13 additions & 0 deletions minicluster/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,17 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>api-diff</id>
<build>
<plugins>
<plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
27 changes: 27 additions & 0 deletions minicluster/src/main/api/revapi.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<#--

Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.

-->
|CHANGE|SEVERITY|OLD|NEW|
|---|---|---|---|
<#list reports as report>
<#list report.differences as diff>
|<#if diff.description??>${diff.description}<#else>${diff.code}</#if>|<#list diff.classification?keys as compat>${compat}: ${diff.classification?api.get(compat)}<#sep>, </#list>|${report.oldElement!"none"}|${report.newElement!"none"}|
</#list>
</#list>
80 changes: 80 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1689,5 +1689,85 @@
</plugins>
</build>
</profile>
<profile>
<!-- see https://revapi.org/revapi-maven-plugin/0.15.1/index.html -->
<id>api-diff</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
<version>0.15.1</version>
<configuration>
<analysisConfiguration>
<revapi.filter>
<elements>
<include>
<item>
<matcher>java-package</matcher>
<match>/org\.apache\.accumulo\.((core\.client|core\.data|core\.iterators|core\.security)|minicluster|hadoop){1}(\..*)?/</match>
</item>
</include>
</elements>
</revapi.filter>
<revapi.differences>
<ignore>true</ignore>
<differences>
<item>
<regex>true</regex>
<code>java\.class\.externalClassNoLongerExposedInAPI</code>
</item>
<item>
<regex>true</regex>
<code>java\.field\.enumConstantOrderChanged</code>
</item>
<item>
<regex>true</regex>
<code>java\.missing\.newClass</code>
</item>
<item>
<regex>true</regex>
<code>java\.missing\.oldClass</code>
</item>
</differences>
</revapi.differences>
<revapi.reporter.text>
<minSeverity>NON_BREAKING</minSeverity>
<minCriticality>documented</minCriticality>
<output>err</output>
<template>${basedir}/src/main/api/revapi.ftl</template>
<append>false</append>
<keepEmptyFile>false</keepEmptyFile>
</revapi.reporter.text>
</analysisConfiguration>
<checkDependencies>false</checkDependencies>
<failBuildOnProblemsFound>false</failBuildOnProblemsFound>
</configuration>
<dependencies>
<dependency>
<groupId>org.revapi</groupId>
<artifactId>revapi-java</artifactId>
<version>0.28.4</version>
</dependency>
<dependency>
<groupId>org.revapi</groupId>
<artifactId>revapi-reporter-text</artifactId>
<version>0.15.1</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>api-check</id>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
</project>