Maven profiles to support jdk 11 builds. #948 (#975)

* Maven profiles to support jdk 11 builds. #948

Added maven profiles activated by jdk 11, wich will not break java 8 support.
Bumped lombok and datanucleus enhancer as the old versions dont work with 11.

* Fixed PMD issue when building naked-objects

* Fixed the eip modules with xml dependencies.

Previous dependency relaxing commit causes xml libs to go missing from
some modules that actually needed them
This commit is contained in:
lbroman
2019-10-11 20:55:48 +02:00
committed by Ilkka Seppälä
parent 71f26c3e59
commit e36bbbb22b
10 changed files with 169 additions and 3 deletions

View File

@ -122,6 +122,20 @@
</repository>
</repositories>
-->
<profiles>
<profile>
<id>jdk11-deps</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<dependencies>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
</project>