Hi,
It says, "Used
in pair with nested <produces> elements. When this attribute is specified as "true", the files pointed to by the <produces> elements will be all deleted before the XJC binding compiler recompiles the source files."
This
obviously applies to the ant task only, the mojo configuration does not regard produces tags. As from the implementation, the description should be
"When
this attribute is specified as "true", the files ${generateDirectory}/${generatePackage//\//.}//*.java
will be all deleted before the XJC binding compiler recompiles the source files, i.e., all java files in the destination package and all its subpackages."
Best
wishes,
Karsten