In order to run mvn hpi:run with Java 11, we need to get JAXB and JAF modules activated. See https://jenkins.io/blog/2018/06/17/running-jenkins-with-java10-11/#java-11 for examples.
To simplify the development, it would be great if it happens automatically for mvn hpi:run somehow
We can check to make it in pom itself and if it doesn't work, try changing in hpi plugin.
- The hpi:run runs fine on Java11