You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dave Leatherdale (JIRA)" <ji...@apache.org> on 2008/07/04 12:13:35 UTC

[jira] Commented: (CXF-1686) maven-codegen-plugin: Add ability to specify a default set of options for all wsdls in a project.

    [ https://issues.apache.org/jira/browse/CXF-1686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610515#action_12610515 ] 

Dave Leatherdale commented on CXF-1686:
---------------------------------------

Attached patch adds a new maven parameter "defaultOptions" which can be used to specify the global defaults in the same format as a wsdlOption element. any configuration applied to a specific wsdl (via a wsdlOption in the pom or -options file) will cause the defaults to be ignored for that wsdl (ie the configuration is not merged with the default).

In order to do this i have generated a superclass of wsdlOption which contains all the previous functionality except the name of the wsdl (it contains the options not the wsdl) can't think of a good name for this so in the patch it's called "Option".

WsdlOptionLoader has been specified to add a new parameter to several methods to specify the defaults. If not options file is present and the defaults are not null all the defaults will be copied to the newly created WsdlOption.




> maven-codegen-plugin: Add ability to specify a default set of options for all wsdls in a project.
> -------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1686
>                 URL: https://issues.apache.org/jira/browse/CXF-1686
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>            Reporter: Dave Leatherdale
>         Attachments: CXF-1686.diff
>
>
> I have a project with a large number of wsdls which i want to process not using the default options. Currently i can only specify these options for each wsdl individually would be good if a set of global defaults could be set. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.