Micronaut JPA Domain/Model jar dependency used in other Micronaut Applications #1497
Unanswered
csandovalgarcia
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have different needs/functions that share a common data model/domain:
I was thinking of having the data model in one single Maven Micronaut dependency that I would then re-use in different Micronaut serverless applications (AWS Lambda Custom Runtime and GraalVM).
Works on my IDE, to compile and run unitary tests in both model and application projects. I needed to add the right annotationProecssorPaths in the model project.
However, when I create the docker-image version with graalvm and test, I am struggling getting different errors, at first, seemed I could not get lombok to work, but removing lombok I have problems with my entities annotated with @MappedSuperclass.
Does anyone have an example on how to successfully use a Micronaut project in another Micronaut application?
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions