users@jaxb.java.net

Documentation bug concerning maven plugin

From: Tinnefeld, Karsten <tinnefeld_at_adesso.de>
Date: Wed, 13 Jul 2011 17:32:31 +0200
Hi,
 
there seems to be a documentation bug concerning http://jaxb.java.net/jaxb-maven2-plugin/, more precisely, the description of the property removeOldOutput.
 
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