Fixed dependencies for JDK 11.
Signed-off-by: Tomas Kraus <Tomas.Kraus@oracle.com>
diff --git a/demos/twitter/pom.xml b/demos/twitter/pom.xml
index a6d95bb..f3d3b97 100644
--- a/demos/twitter/pom.xml
+++ b/demos/twitter/pom.xml
@@ -155,6 +155,21 @@
</plugins>
</build>
</profile>
+
+ <profile>
+ <id>jdk11-setup</id>
+ <activation>
+ <jdk>[11,)</jdk>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>jakarta.xml.bind</groupId>
+ <artifactId>jakarta.xml.bind-api</artifactId>
+ <version>2.3.2</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+ </profile>
</profiles>
</project>