Martin Dietze created CXFXJC-11:
-----------------------------------
Summary: Simplify code generation configuration in pom.xml (patch
included)
Key: CXFXJC-11
URL: https://issues.apache.org/jira/browse/CXFXJC-11
Project: CXF XJC Utils
Issue Type: Improvement
Components: Maven Plugin
Reporter: Martin Dietze
Priority: Minor
Currently the configuration for the Java code generation from XSD files is
unnecessarily verbose and bloats the pom.xml file in large projects.
In all projects I have used this in so far, simply specifying the XSD source
directory from which all XSD files would be taken would have been totally
sufficient.
I therefore propose to extend the the 'xsdOption' by another element: 'xsdDir'.
If 'xsdDir' is configured and points to a directory, all XSD files found in it
will be processed. If omitted, the existing 'xsd' element will be mandatory as
it had been without this patch.
I have created a patch implementing this functionality and added it to this
ticket.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)