Fixed jdk 11 build.
</plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <id>java11-build</id>
+ <activation>
+ <jdk>[11,)</jdk>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>javax.annotation</groupId>
+ <artifactId>javax.annotation-api</artifactId>
+ <version>1.3.2</version>
+ </dependency>
+ </dependencies>
+ </profile>
+ </profiles>
<modules>
<module>camel-activemq-kafka-connector</module>
<module>camel-ahc-kafka-connector</module>
