summaryrefslogtreecommitdiffstats
path: root/defaults
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 /defaults
parenta488130319ebe8ac4b3dde3cd6a1131e114f3774 (diff)
Enable abi-check-plugin on relevant modules.
Diffstat (limited to 'defaults')
-rw-r--r--defaults/abi-spec.json22
-rw-r--r--defaults/pom.xml16
2 files changed, 38 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..6a80089240e 100644
--- a/defaults/pom.xml
+++ b/defaults/pom.xml
@@ -86,6 +86,22 @@
<updateReleaseInfo>true</updateReleaseInfo>
</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>