querydsl / apt-maven-plugin

Maven APT plugin
Apache License 2.0
79 stars 41 forks source link

Cannot detect persisitance entity in maven dependency #55

Open kimehdgns opened 7 years ago

kimehdgns commented 7 years ago
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
Shredder121 commented 7 years ago

Could you elaborate?

joelmarty commented 7 years ago

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 commented 5 years ago

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 commented 5 years ago

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.