diff options
Diffstat (limited to 'container-jersey2')
-rw-r--r-- | container-jersey2/abi-spec.json | 16 | ||||
-rw-r--r-- | container-jersey2/pom.xml | 16 |
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> |