You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2010/02/02 15:58:19 UTC

[jira] Resolved: (CXF-2645) CXF codegen plugin does not properly expose "disableDependencyScan" config parameter

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

Daniel Kulp resolved CXF-2645.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.7
         Assignee: Daniel Kulp

> CXF codegen plugin does not properly expose "disableDependencyScan" config parameter
> ------------------------------------------------------------------------------------
>
>                 Key: CXF-2645
>                 URL: https://issues.apache.org/jira/browse/CXF-2645
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.6
>            Reporter: Joe Luo
>            Assignee: Daniel Kulp
>             Fix For: 2.2.7
>
>         Attachments: disableDependencyScan.patch
>
>
> CXF-2275 introduced a new feature to allow reading WSDLs from maven repository by cxf-codegen-plugin. By default all dependencies with type "wsdl" will be processed. And this behaviour can be switched off by setting "disableDependencyScan" config parameter to "true".
> However, it does not expose this config parameter properly. 
> Here is source code snippet from 
> http://svn.apache.org/repos/asf/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java
> {code}
> /**
>      * By default all maven dependencies of type "wsdl" are added to the effective wsdlOptions. Setting this
>      * parameter to true disables this functionality
>      * 
>      */
>     boolean disableDependencyScan;
> {code}
> It should use @parameter annotation to define it as a mojo parameter like:
> {code}
> /**
>      * By default all maven dependencies of type "wsdl" are added to the effective wsdlOptions. Setting this
>      * parameter to true disables this functionality
>      * 
>      * @parameter expression="${cxf.disableDependencyScan}" default-value="false"
>      */
>     boolean disableDependencyScan;
> {code} 
> in order to expose it as a config variable.

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