Compile error with Jdk 11

Summary

There was an error compiling awe-model' module. There is an issue with @PostConstruct` annotations

AWE version

4.2.x

Steps to reproduce

mvn clean compile

Possible fixes

Note that both @PostConstruct and @PreDestroy annotations are part of Java EE. And since Java EE has been deprecated in Java 9 and removed in Java 11 we have to add an additional dependency to use these annotations:

<dependency>
    <groupId>javax.annotation</groupId>
    <artifactId>javax.annotation-api</artifactId>
    <version>1.3.2</version>
</dependency>
Edited by Pablo Vidal Otero