You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Martin Dietze (JIRA)" <ji...@apache.org> on 2015/06/17 15:31:01 UTC

[jira] [Updated] (CXFXJC-11) Simplify code generation configuration in pom.xml (patch included)

     [ https://issues.apache.org/jira/browse/CXFXJC-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Dietze updated CXFXJC-11:
--------------------------------
    Attachment: 0001-Convenience-option-for-configuring-the-code-generati.patch

Git-Commit containing the code for the proposed extension. 

> 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
>              Labels: maven, patch
>         Attachments: 0001-Convenience-option-for-configuring-the-code-generati.patch
>
>
> 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)