cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Luo (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2645) CXF codegen plugin does not properly expose "disableDependencyScan" config parameter
Date Tue, 02 Feb 2010 14:38:18 GMT
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
         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.


Mime
View raw message