Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Maven dependency of adf library with entity objects

Alexis LopezAug 8 2015 — edited Aug 9 2015

Hello all. My configuration is JDeveloper 12.1.3

I have created an adf library jar with common entity objects so I can reuse that library in other modules of my application. The jar was created using ojdeploy plugin for maven and If I inspect the jar file, everyhting is in there (EO, Assoc, etc)

However, when I add that library as a maven dependency in another application, I can't see the EntityObjects, it's like it is not being added to my application. If I import the jar file directly using the project properties/libraries and classpath option, it works, I can see the EntityObjects and can create ViewObjects from them.

I have to say that the project compiles using the maven dependency. What I can't do is create ViewObjects from the EntityObjects that are in the jar file, in order to do that I have to add the Jar file manually to the project's libraries and classpath.

Any ideas?

Thanks

This post has been answered by Alexis Lopez on Aug 9 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 6 2015
Added on Aug 8 2015
3 comments
1,657 views