diff options
author | Ilpo Ruotsalainen <ilpo.ruotsalainen@oath.com> | 2019-01-09 11:28:21 +0100 |
---|---|---|
committer | Ilpo Ruotsalainen <ilpo.ruotsalainen@oath.com> | 2019-01-09 11:28:21 +0100 |
commit | 3f9796c5aec7ecc2461cb1c4819ed0adfedfead3 (patch) | |
tree | f5af74cf9e7901864a42113e6853c6d1ee2b0bed /container-di | |
parent | 5251626df44e98457ea111f440d9a79cb6033075 (diff) |
Revert "Revert "Enable ABI checking on modules with public APIs""
This reverts commit cd470d8ac8a58c943748f028a37d864507628e99.
Diffstat (limited to 'container-di')
-rw-r--r-- | container-di/abi-spec.json | 16 | ||||
-rw-r--r-- | container-di/pom.xml | 4 |
2 files changed, 20 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..38c6bd55822 100644 --- a/container-di/pom.xml +++ b/container-di/pom.xml @@ -123,6 +123,10 @@ <forkMode>once</forkMode> </configuration> </plugin> + <plugin> + <groupId>com.yahoo.vespa</groupId> + <artifactId>abi-check-plugin</artifactId> + </plugin> </plugins> </build> </project> |