<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: The hibernate jpamodelgen cannot generate entities extended from a dependency project</title><link>https://answers.axonivy.com/questions/4407/the-hibernate-jpamodelgen-cannot-generate-entities-extended-from-a-dependency-project</link><description>&lt;p&gt;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&lt;/p&gt;
&lt;p&gt;"OrganizationalUnit" class extend "ToggleableEntity" class.
When I build with maven and using hibernate jpamodelgen to generate "OrganizationalUnit_" class then ToggleableEntity missed in "OrganizationalUnit_" class&lt;/p&gt;
&lt;p&gt;The pom.xml file
&lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/demo_3.JPG"&gt;&lt;/p&gt;
&lt;p&gt;The result:
&lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/demo_1.png"&gt;&lt;/p&gt;
&lt;p&gt;The expected 
&lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/demo_4.JPG"&gt;&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/4407/the-hibernate-jpamodelgen-cannot-generate-entities-extended-from-a-dependency-project" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 23 Feb 2020 23:44:37 -0500</lastBuildDate><item><title>Answer by anhle</title><link>https://answers.axonivy.com/questions/4407/the-hibernate-jpamodelgen-cannot-generate-entities-extended-from-a-dependency-project/4410</link><description>&lt;p&gt;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:
&lt;a href="https://answers.axonivy.com/questions/4400/some-libraries-in-axon-ivy-libraries-can-not-find-when-build-with-maven"&gt;https://answers.axonivy.com/questions/4400/some-libraries-in-axon-ivy-libraries-can-not-find-when-build-with-maven&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anhle</dc:creator><pubDate>Sun, 23 Feb 2020 23:44:37 -0500</pubDate><guid>https://answers.axonivy.com/questions/4407/the-hibernate-jpamodelgen-cannot-generate-entities-extended-from-a-dependency-project/4410</guid></item></channel></rss>