publicissapient-france / selma

Selma Java bean mapping that compiles
http://selma-java.org
Apache License 2.0
213 stars 38 forks source link

duplicate class when using processor #197

Open msimko81 opened 6 years ago

msimko81 commented 6 years ago

Hi, I would like to use selma together with lombok and querydsl. I would like to add auto-generated classes to a specific src directory. Everything works fine for lombok+querydsl. When I add selma processor by specifically adding fr.xebia.extras.selma.codegen.MapperProcessor to the compiler args, I can see selma classes are correctly generated in the specified src directory. Unfortunately, the selma auto generates java sources also in the target classes directory. This leads to the duplicate class error. How can I turn off auto generation within target classes directory?