service.api: fix build in Java 11
diff --git a/plugins-server/org.hawk.service.api/META-INF/MANIFEST.MF b/plugins-server/org.hawk.service.api/META-INF/MANIFEST.MF
index 1a640df..8ada53e 100644
--- a/plugins-server/org.hawk.service.api/META-INF/MANIFEST.MF
+++ b/plugins-server/org.hawk.service.api/META-INF/MANIFEST.MF
@@ -10,6 +10,7 @@
org.apache.httpcomponents.httpclient;bundle-version="4.3.6";resolution:=optional,
org.apache.httpcomponents.httpcore;bundle-version="4.3.3";resolution:=optional,
org.hawk.service.artemis;bundle-version="1.0.0",
- com.google.guava;bundle-version="15.0.0"
+ com.google.guava;bundle-version="15.0.0",
+ javax.annotation;bundle-version="1.2.0"
Export-Package: org.hawk.service.api,
org.hawk.service.api.utils
diff --git a/plugins-server/org.hawk.service.api/pom-plain.xml b/plugins-server/org.hawk.service.api/pom-plain.xml
index 93b93b0..dfa3fb4 100644
--- a/plugins-server/org.hawk.service.api/pom-plain.xml
+++ b/plugins-server/org.hawk.service.api/pom-plain.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.hawk</groupId>
@@ -37,24 +37,28 @@
</plugin>
</plugins>
</build>
-
+
<dependencies>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>15.0</version>
- </dependency>
-
<dependency>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- <version>0.9.3</version>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ <version>15.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.thrift</groupId>
+ <artifactId>libthrift</artifactId>
+ <version>0.9.3</version>
</dependency>
<dependency>
<groupId>org.eclipse.hawk.service</groupId>
<artifactId>org.eclipse.hawk.service.artemis</artifactId>
<version>1.2.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>javax.annotation</groupId>
+ <artifactId>javax.annotation-api</artifactId>
+ <version>1.3.2</version>
+ </dependency>
</dependencies>
</project>