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 11:37:34 UTC

[jira] Created: (CXF-1685) Not possible to pass empty parameter to the maven-codegen-plugin

Not possible to pass empty parameter to the maven-codegen-plugin
----------------------------------------------------------------

                 Key: CXF-1685
                 URL: https://issues.apache.org/jira/browse/CXF-1685
             Project: CXF
          Issue Type: Improvement
          Components: Tooling
    Affects Versions: 2.1.1
            Reporter: Dave Leatherdale
            Priority: Minor


CXF-1586 add new functionality to specify not to generate wsdl location into code by passing the wsdlLocation parameter as an empty string. This does not seem to be possible in the maven-codegen-plugin.

-options files interpret "" as a literal string and if specified as an empty extraarg tag in the pom maven will translate it into null not an empty string causing a NullPointerException. 

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


[jira] Assigned: (CXF-1685) Not possible to pass empty parameter to the maven-codegen-plugin

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp reassigned CXF-1685:
--------------------------------

    Assignee: Daniel Kulp

> Not possible to pass empty parameter to the maven-codegen-plugin
> ----------------------------------------------------------------
>
>                 Key: CXF-1685
>                 URL: https://issues.apache.org/jira/browse/CXF-1685
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>    Affects Versions: 2.1.1
>            Reporter: Dave Leatherdale
>            Assignee: Daniel Kulp
>            Priority: Minor
>         Attachments: CXF-1685.diff
>
>
> CXF-1586 add new functionality to specify not to generate wsdl location into code by passing the wsdlLocation parameter as an empty string. This does not seem to be possible in the maven-codegen-plugin.
> -options files interpret "" as a literal string and if specified as an empty extraarg tag in the pom maven will translate it into null not an empty string causing a NullPointerException. 

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


[jira] Updated: (CXF-1685) Not possible to pass empty parameter to the maven-codegen-plugin

Posted by "Dave Leatherdale (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Leatherdale updated CXF-1685:
----------------------------------

    Attachment: CXF-1685.diff

Added patch to translate null extraargs into empty strings to avoid null pointer exception

> Not possible to pass empty parameter to the maven-codegen-plugin
> ----------------------------------------------------------------
>
>                 Key: CXF-1685
>                 URL: https://issues.apache.org/jira/browse/CXF-1685
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>    Affects Versions: 2.1.1
>            Reporter: Dave Leatherdale
>            Priority: Minor
>         Attachments: CXF-1685.diff
>
>
> CXF-1586 add new functionality to specify not to generate wsdl location into code by passing the wsdlLocation parameter as an empty string. This does not seem to be possible in the maven-codegen-plugin.
> -options files interpret "" as a literal string and if specified as an empty extraarg tag in the pom maven will translate it into null not an empty string causing a NullPointerException. 

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


[jira] Resolved: (CXF-1685) Not possible to pass empty parameter to the maven-codegen-plugin

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-1685.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.8
                   2.1.2

Patch applied!  Thanks!



> Not possible to pass empty parameter to the maven-codegen-plugin
> ----------------------------------------------------------------
>
>                 Key: CXF-1685
>                 URL: https://issues.apache.org/jira/browse/CXF-1685
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>    Affects Versions: 2.1.1
>            Reporter: Dave Leatherdale
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.1.2, 2.0.8
>
>         Attachments: CXF-1685.diff
>
>
> CXF-1586 add new functionality to specify not to generate wsdl location into code by passing the wsdlLocation parameter as an empty string. This does not seem to be possible in the maven-codegen-plugin.
> -options files interpret "" as a literal string and if specified as an empty extraarg tag in the pom maven will translate it into null not an empty string causing a NullPointerException. 

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