diff options
author | Ilpo Ruotsalainen <ilpo.ruotsalainen@oath.com> | 2018-12-18 17:30:57 +0100 |
---|---|---|
committer | Ilpo Ruotsalainen <ilpo.ruotsalainen@oath.com> | 2018-12-18 17:42:09 +0100 |
commit | 377be9cc95ec9dfda8b733512d675a2e19a73486 (patch) | |
tree | a1cfb87212a094aa0b9fd9221f7d9081e327ff35 /container-di | |
parent | a488130319ebe8ac4b3dde3cd6a1131e114f3774 (diff) |
Enable abi-check-plugin on relevant modules.
Diffstat (limited to 'container-di')
-rw-r--r-- | container-di/abi-spec.json | 16 | ||||
-rw-r--r-- | container-di/pom.xml | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/container-di/abi-spec.json b/container-di/abi-spec.json new file mode 100644 index 00000000000..a9dda2ae224 --- /dev/null +++ b/container-di/abi-spec.json @@ -0,0 +1,16 @@ +{ + "com.yahoo.container.di.componentgraph.Provider": { + "superClass": "java.lang.Object", + "interfaces": [], + "attributes": [ + "public", + "interface", + "abstract" + ], + "methods": [ + "public abstract java.lang.Object get()", + "public abstract void deconstruct()" + ], + "fields": [] + } +}
\ No newline at end of file diff --git a/container-di/pom.xml b/container-di/pom.xml index 96ceedad352..020f5955da4 100644 --- a/container-di/pom.xml +++ b/container-di/pom.xml @@ -123,6 +123,22 @@ <forkMode>once</forkMode> </configuration> </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> |