summaryrefslogtreecommitdiffstats
path: root/defaults
diff options
context:
space:
mode:
authorIlpo Ruotsalainen <ilpo.ruotsalainen@oath.com>2019-01-09 11:28:21 +0100
committerIlpo Ruotsalainen <ilpo.ruotsalainen@oath.com>2019-01-09 11:28:21 +0100
commit3f9796c5aec7ecc2461cb1c4819ed0adfedfead3 (patch)
treef5af74cf9e7901864a42113e6853c6d1ee2b0bed /defaults
parent5251626df44e98457ea111f440d9a79cb6033075 (diff)
Revert "Revert "Enable ABI checking on modules with public APIs""
This reverts commit cd470d8ac8a58c943748f028a37d864507628e99.
Diffstat (limited to 'defaults')
-rw-r--r--defaults/abi-spec.json22
-rw-r--r--defaults/pom.xml4
2 files changed, 26 insertions, 0 deletions
diff --git a/defaults/abi-spec.json b/defaults/abi-spec.json
new file mode 100644
index 00000000000..95dc2e40353
--- /dev/null
+++ b/defaults/abi-spec.json
@@ -0,0 +1,22 @@
+{
+ "com.yahoo.vespa.defaults.Defaults": {
+ "superClass": "java.lang.Object",
+ "interfaces": [],
+ "attributes": [
+ "public"
+ ],
+ "methods": [
+ "public java.lang.String vespaUser()",
+ "public java.lang.String vespaHostname()",
+ "public java.lang.String vespaHome()",
+ "public java.lang.String underVespaHome(java.lang.String)",
+ "public int vespaWebServicePort()",
+ "public int vespaPortBase()",
+ "public int vespaConfigServerRpcPort()",
+ "public int vespaConfigServerHttpPort()",
+ "public int vespaConfigProxyRpcPort()",
+ "public static com.yahoo.vespa.defaults.Defaults getDefaults()"
+ ],
+ "fields": []
+ }
+} \ No newline at end of file
diff --git a/defaults/pom.xml b/defaults/pom.xml
index 4d1a08aacc2..dd924e65cfe 100644
--- a/defaults/pom.xml
+++ b/defaults/pom.xml
@@ -86,6 +86,10 @@
<updateReleaseInfo>true</updateReleaseInfo>
</configuration>
</plugin>
+ <plugin>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>abi-check-plugin</artifactId>
+ </plugin>
</plugins>
</build>
</project>