Update JAPI Compliance Checker definitions for releases 1.8.0 and 1.9.2, and current master branch. (#33)
diff --git a/test/compat/japi-compliance/japi-accumulo-1.8.0.xml b/test/compat/japi-compliance/japi-accumulo-1.8.0.xml
new file mode 100644
index 0000000..ab614b8
--- /dev/null
+++ b/test/compat/japi-compliance/japi-accumulo-1.8.0.xml
@@ -0,0 +1,56 @@
+<!--
+ 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
+
+ http://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.
+-->
+<version>
+ 1.8.0
+</version>
+
+<!--
+ You can download these with maven:
+
+ mvn dependency:get -DgroupId=org.apache.accumulo -DartifactId=accumulo-minicluster -Dversion=1.8.0
+
+ And then point to your local repository here, e.g.
+
+ /Users/example/.m2/repository/org/apache/accumulo/accumulo-core/1.8.0/accumulo-core-1.8.0.jar
+ /Users/example/.m2/repository/org/apache/accumulo/accumulo-minicluster/1.8.0/accumulo-minicluster-1.8.0.jar
+
+ -->
+<archives>
+ /path/to/accumulo-core-1.8.0.jar
+ /path/to/accumulo-minicluster-1.8.0.jar
+</archives>
+
+<skip_packages>
+ org.apache.accumulo.core.client.impl
+ org.apache.accumulo.core.client.lexicoders.impl
+ org.apache.accumulo.core.client.mapred.impl
+ org.apache.accumulo.core.client.mapreduce.impl
+ org.apache.accumulo.core.client.mapreduce.lib.impl
+ org.apache.accumulo.core.client.mock.impl
+ org.apache.accumulo.core.data.impl
+ org.apache.accumulo.core.data.thrift
+ org.apache.accumulo.core.security.crypto
+ org.apache.accumulo.core.security.thrift
+ org.apache.accumulo.minicluster.impl
+</skip_packages>
+
+<packages>
+ org.apache.accumulo.core.client
+ org.apache.accumulo.core.data
+ org.apache.accumulo.core.security
+ org.apache.accumulo.minicluster
+</packages>
diff --git a/test/compat/japi-compliance/japi-accumulo-1.9.2.xml b/test/compat/japi-compliance/japi-accumulo-1.9.2.xml
new file mode 100644
index 0000000..7dfbc23
--- /dev/null
+++ b/test/compat/japi-compliance/japi-accumulo-1.9.2.xml
@@ -0,0 +1,56 @@
+<!--
+ 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
+
+ http://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.
+-->
+<version>
+ 1.9.2
+</version>
+
+<!--
+ You can download these with maven:
+
+ mvn dependency:get -DgroupId=org.apache.accumulo -DartifactId=accumulo-minicluster -Dversion=1.9.2
+
+ And then point to your local repository here, e.g.
+
+ /Users/example/.m2/repository/org/apache/accumulo/accumulo-core/1.9.2/accumulo-core-1.9.2.jar
+ /Users/example/.m2/repository/org/apache/accumulo/accumulo-minicluster/1.9.2/accumulo-minicluster-1.9.2.jar
+
+ -->
+<archives>
+ /path/to/accumulo-core-1.9.2.jar
+ /path/to/accumulo-minicluster-1.9.2.jar
+</archives>
+
+<skip_packages>
+ org.apache.accumulo.core.client.impl
+ org.apache.accumulo.core.client.lexicoders.impl
+ org.apache.accumulo.core.client.mapred.impl
+ org.apache.accumulo.core.client.mapreduce.impl
+ org.apache.accumulo.core.client.mapreduce.lib.impl
+ org.apache.accumulo.core.client.mock.impl
+ org.apache.accumulo.core.data.impl
+ org.apache.accumulo.core.data.thrift
+ org.apache.accumulo.core.security.crypto
+ org.apache.accumulo.core.security.thrift
+ org.apache.accumulo.minicluster.impl
+</skip_packages>
+
+<packages>
+ org.apache.accumulo.core.client
+ org.apache.accumulo.core.data
+ org.apache.accumulo.core.security
+ org.apache.accumulo.minicluster
+</packages>
diff --git a/test/compat/japi-compliance/japi-accumulo-master.xml b/test/compat/japi-compliance/japi-accumulo-master.xml
index 2fc184e..af9a6e9 100644
--- a/test/compat/japi-compliance/japi-accumulo-master.xml
+++ b/test/compat/japi-compliance/japi-accumulo-master.xml
@@ -15,24 +15,57 @@
limitations under the License.
-->
<version>
- 1.7.0-SNAPSHOT
+ 2.0.0-SNAPSHOT
</version>
+<!--
+ To update this list, find modules that have public API packages in src/main. e.g.:
+
+ git grep -l -E 'package org.apache.accumulo.(core.(client|data|security)|minicluster)' . \
+ | grep src/main | sed 's%src/main/java/.*%%' | sort -u
+
+ Then check the relevant pom files to see what the artifact is named.
+-->
<archives>
- ../../../core/target/accumulo-core-1.7.0-SNAPSHOT.jar
- ../../../minicluster/target/accumulo-minicluster-1.7.0-SNAPSHOT.jar
+ /path/to/accumulo-client-mapreduce-2.0.0-SNAPSHOT.jar
+ /path/to/accumulo-core-2.0.0-SNAPSHOT.jar
+ /path/to/accumulo-minicluster-2.0.0-SNAPSHOT.jar
</archives>
+<!--
+ To update this list, find packages that are named 'impl', 'thrift', or 'crypto' within our public
+ packages. e.g.:
+
+ git grep -l -E 'package org.apache.accumulo.(core.(client|data|security)|minicluster)' . \
+ | grep -E '/(impl|crypto|thrift)/' | grep src/main | sed 's%^.*/src/main/java/%%' \
+ | sed 's%/[^/]*.java$%%' | sort -u | tr '/' '.'
+
+ This will produce some redundant packages you can trim, e.g.
+ org.apache.accumulo.core.client.impl.thrift
+
+-->
<skip_packages>
org.apache.accumulo.core.client.impl
org.apache.accumulo.core.client.lexicoders.impl
+ org.apache.accumulo.core.client.mapred.impl
+ org.apache.accumulo.core.client.mapreduce.impl
org.apache.accumulo.core.client.mapreduce.lib.impl
+ org.apache.accumulo.core.client.mock.impl
+ org.apache.accumulo.core.data.impl
org.apache.accumulo.core.data.thrift
+ org.apache.accumulo.core.security.crypto
+ org.apache.accumulo.core.security.thrift
org.apache.accumulo.minicluster.impl
</skip_packages>
+
+<!--
+ To update this list, check the README.md file in the apache/accumulo repo under the section title
+ 'Accumulo API'.
+-->
<packages>
org.apache.accumulo.core.client
org.apache.accumulo.core.data
+ org.apache.accumulo.core.security
org.apache.accumulo.minicluster
</packages>