I have 2 project A and B. Project A dependency project B. Project B have a "ToggleableEntity" class and Project A have a "OrganizationalUnit" class "OrganizationalUnit" class extend "ToggleableEntity" class. When I build with maven and using hibernate jpamodelgen to generate "OrganizationalUnit_" class then ToggleableEntity missed in "OrganizationalUnit_" class The pom.xml file The result: The expected asked 21.02.2020 at 04:08 anhle |
Hello Reguel Wermelinger. I used maven-compiler-plugin version 3.8.0 instead of version 3.5.0 But the maven has error as my question before. You can check link below: https://answers.axonivy.com/questions/4400/some-libraries-in-axon-ivy-libraries-can-not-find-when-build-with-maven answered 23.02.2020 at 23:44 anhle |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 21.02.2020 at 04:08
Seen: 3,349 times
Last updated: 25.02.2020 at 02:20
the maven-compiler-plugin looks dated... 3.5.0 is quite old and very likely not able to handle java 11 correctly (which is a must and the default language level on ivy 8.0 LTS).
So to starts with, upgrade the maven-compiler-plugin: https://stackoverflow.com/a/51586202
There are indicator in the web, that also dependencies to annotations must be adjusted in order to comply with java 11: https://stackoverflow.com/questions/58217544/hibernate-jpamodelgen-5-4-6-final-fails-on-jdk11