Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Cannot detect persisitance entity in maven dependency #55

Open
kimehdgns opened this issue Apr 13, 2017 · 4 comments
Open

Cannot detect persisitance entity in maven dependency #55

kimehdgns opened this issue Apr 13, 2017 · 4 comments

Comments

@kimehdgns
Copy link

kimehdgns commented Apr 13, 2017

xxx.xxxx.xxxx domain 1.1.0-SNAPSHOT

...

com.mysema.maven apt-maven-plugin 1.1.3 process target/generated-sources/qDomain com.mysema.query.apt.jpa.JPAAnnotationProcessor true
@kimehdgns kimehdgns changed the title Cannot detect persisitance entity in domain.jar Cannot detect persisitance entity in maven dependency Apr 13, 2017
@kimehdgns kimehdgns reopened this Apr 13, 2017
@Shredder121
Copy link
Member

Could you elaborate?

@joelmarty
Copy link

I think he is having the same issue as I have : if the model entities are not in the same maven artifact as the repository having the apt-maven-processor plugin, the Q-entities are not generated

@King-Pan
Copy link

Me to, a.pom.xml has model has entities ,b.pom.xml has repository ,but apt-maven-processor dit not create the Q[className] 's java file

@Shredder121
Copy link
Member

Well, apt doesn't work with dependencies.. afaik
You could ask the type system for types, but not ask the processing run for annotations not on the source path.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants