Possibiliy to exclude packages and classes in the APT process
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
There is currently no way to configure the maven apt plugin so that it does not generate query types that match a configurable list of packages and/or classes. The problem is that if there are multiple projects that each import a project A, the query types for entities in A are generated for every project importing A. This leads to duplicate classes in the overall build.
An (untested) patch suggestion is attached. The configuration for the maven plugin should then look like the following:
...
<configuration>
<options>
<querydsl.
</options>
</configuration>
...
Thanks for the bug report and patch. In Querydsl we use four spaces for indentation, otherwise the patch was fine.