Hi.
> So that flag is what actually makes the episode work - without it, all
> classes will be generated on each compilation, which is precisely what the
> episode is designed to prevent (hence the fact that it's always set in the
> plugin).
Yes, you're right.
I think the following is happening:
* Schema is excluded from generation by an episode file.
* Therefore javaType customization is not processed and is not marked
as acknowledged.
* Still UnusedCustomizationChecker is applied to all the schemas
including not mapped ones.
I am not sure what is the best method to resolve this. From the one
hand, UnusedCustomizationChecker should theoretically not be applied
to non-mapped schemas. From the other hand javaType customization
should be used even if there's no classes generated for the schema
which contains it.
So I think simple types must still be processed... Otherwise you will
not get the javaType customizations in other schemas.
ps. Another trick I sometimes apply is generate the code and then
explicitly delete it if I don't need it.
Bye.
/lexi