[ http://jira.codehaus.org/browse/MOJO-349?page=all ]
Jeff Genender closed MOJO-349:
------------------------------
Resolution: Fixed
Fixed...Thanks.
Sending src/main/java/org/codehaus/mojo/jaxb2/XjcMojo.java
Transmitting file data .
Committed revision 1739.
> jaxb2-maven-plugin generates the stale file even if the gneration fails
> -----------------------------------------------------------------------
>
> Key: MOJO-349
> URL: http://jira.codehaus.org/browse/MOJO-349
> Project: Mojo
> Type: Bug
> Components: sandbox
> Reporter: Bill Dudney
> Attachments: jaxb2-maven-plugin-MOJO-349.patch
>
>
> The Driver.run return value is not checked to see if the run was succesful,
> on failure (like not xsd files found) the stale file is generated anyway
> which causes the subsequent fix to the pom to not have the code generated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira