summaryrefslogtreecommitdiffstats
path: root/container-jersey2
diff options
context:
space:
mode:
authorIlpo Ruotsalainen <ilpo.ruotsalainen@oath.com>2018-12-18 17:30:57 +0100
committerIlpo Ruotsalainen <ilpo.ruotsalainen@oath.com>2018-12-18 17:42:09 +0100
commit377be9cc95ec9dfda8b733512d675a2e19a73486 (patch)
treea1cfb87212a094aa0b9fd9221f7d9081e327ff35 /container-jersey2
parenta488130319ebe8ac4b3dde3cd6a1131e114f3774 (diff)
Enable abi-check-plugin on relevant modules.
Diffstat (limited to 'container-jersey2')
-rw-r--r--container-jersey2/abi-spec.json16
-rw-r--r--container-jersey2/pom.xml16
2 files changed, 32 insertions, 0 deletions
diff --git a/container-jersey2/abi-spec.json b/container-jersey2/abi-spec.json
new file mode 100644
index 00000000000..2f5ef3efb70
--- /dev/null
+++ b/container-jersey2/abi-spec.json
@@ -0,0 +1,16 @@
+{
+ "com.yahoo.container.jaxrs.annotation.Component": {
+ "superClass": "java.lang.Object",
+ "interfaces": [
+ "java.lang.annotation.Annotation"
+ ],
+ "attributes": [
+ "public",
+ "interface",
+ "abstract",
+ "annotation"
+ ],
+ "methods": [],
+ "fields": []
+ }
+} \ No newline at end of file
diff --git a/container-jersey2/pom.xml b/container-jersey2/pom.xml
index 70189e65f00..d723e708163 100644
--- a/container-jersey2/pom.xml
+++ b/container-jersey2/pom.xml
@@ -61,6 +61,22 @@
<artifactId>bundle-plugin</artifactId>
<extensions>true</extensions>
</plugin>
+ <plugin>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>abi-check-plugin</artifactId>
+ <version>${project.version}</version>
+ <configuration>
+ <publicApiAnnotation>com.yahoo.api.annotations.PublicApi</publicApiAnnotation>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>abicheck</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>