You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Anders Olsson (JIRA)" <ji...@apache.org> on 2012/06/19 11:09:43 UTC

[jira] [Created] (CXF-4388) Using wsdl2java maven goal with and in the same pom fails

Anders Olsson created CXF-4388:
----------------------------------

             Summary: Using wsdl2java maven goal with <wsdl> and <wsdlArtifact> in the same pom fails
                 Key: CXF-4388
                 URL: https://issues.apache.org/jira/browse/CXF-4388
             Project: CXF
          Issue Type: Bug
          Components: Tooling
    Affects Versions: 2.4.8
            Reporter: Anders Olsson


I have configured the wsdl2java goal to use wsdl-files from both local sources, using the <wsdl> element, and from maven artifacts, using the <wsdlArtifact> element. This fails unless I put the <wsdl> as the last <wsldOption>.

I have created a minimal testcase for this, unzip it and execute

{noformat}
$ mvn install:install-file -Dfile=greeter.wsdl -DgroupId=greeter -DartifactId=wsdl -Dversion=1.0 -Dpackaging=wsdl -DgeneratePom=true
{noformat}
 
to install the wsdl, then execute

{noformat}
$ mvn -e generate-sources
{noformat}

and it should fail. Then try reordering the wsdlOptions in the pom and it will not fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-4388) Using wsdl2java maven goal with and in the same pom fails

Posted by "Patrick Decat (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-4388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437901#comment-13437901 ] 

Patrick Decat commented on CXF-4388:
------------------------------------

Confirmed with {{org.apache.cxf:cxf-codegen-plugin:2.5.0}}.
                
> Using wsdl2java maven goal with <wsdl> and <wsdlArtifact> in the same pom fails
> -------------------------------------------------------------------------------
>
>                 Key: CXF-4388
>                 URL: https://issues.apache.org/jira/browse/CXF-4388
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.4.8
>            Reporter: Anders Olsson
>         Attachments: greeter.log, greeter.zip
>
>
> I have configured the wsdl2java goal to use wsdl-files from both local sources, using the <wsdl> element, and from maven artifacts, using the <wsdlArtifact> element. This fails unless I put the <wsdl> as the last <wsldOption>.
> I have created a minimal testcase for this, unzip it and execute
> {noformat}
> $ mvn install:install-file -Dfile=greeter.wsdl -DgroupId=greeter -DartifactId=wsdl -Dversion=1.0 -Dpackaging=wsdl -DgeneratePom=true
> {noformat}
>  
> to install the wsdl, then execute
> {noformat}
> $ mvn -e generate-sources
> {noformat}
> and it should fail. Then try reordering the wsdlOptions in the pom and it will not fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CXF-4388) Using wsdl2java maven goal with and in the same pom fails

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

Anders Olsson updated CXF-4388:
-------------------------------

    Attachment: greeter.zip

Minimal test case.
                
> Using wsdl2java maven goal with <wsdl> and <wsdlArtifact> in the same pom fails
> -------------------------------------------------------------------------------
>
>                 Key: CXF-4388
>                 URL: https://issues.apache.org/jira/browse/CXF-4388
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.4.8
>            Reporter: Anders Olsson
>         Attachments: greeter.zip
>
>
> I have configured the wsdl2java goal to use wsdl-files from both local sources, using the <wsdl> element, and from maven artifacts, using the <wsdlArtifact> element. This fails unless I put the <wsdl> as the last <wsldOption>.
> I have created a minimal testcase for this, unzip it and execute
> {noformat}
> $ mvn install:install-file -Dfile=greeter.wsdl -DgroupId=greeter -DartifactId=wsdl -Dversion=1.0 -Dpackaging=wsdl -DgeneratePom=true
> {noformat}
>  
> to install the wsdl, then execute
> {noformat}
> $ mvn -e generate-sources
> {noformat}
> and it should fail. Then try reordering the wsdlOptions in the pom and it will not fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CXF-4388) Using wsdl2java maven goal with and in the same pom fails

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

Anders Olsson updated CXF-4388:
-------------------------------

    Attachment: greeter.log

Maven output with stacktrace.
                
> Using wsdl2java maven goal with <wsdl> and <wsdlArtifact> in the same pom fails
> -------------------------------------------------------------------------------
>
>                 Key: CXF-4388
>                 URL: https://issues.apache.org/jira/browse/CXF-4388
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.4.8
>            Reporter: Anders Olsson
>         Attachments: greeter.log, greeter.zip
>
>
> I have configured the wsdl2java goal to use wsdl-files from both local sources, using the <wsdl> element, and from maven artifacts, using the <wsdlArtifact> element. This fails unless I put the <wsdl> as the last <wsldOption>.
> I have created a minimal testcase for this, unzip it and execute
> {noformat}
> $ mvn install:install-file -Dfile=greeter.wsdl -DgroupId=greeter -DartifactId=wsdl -Dversion=1.0 -Dpackaging=wsdl -DgeneratePom=true
> {noformat}
>  
> to install the wsdl, then execute
> {noformat}
> $ mvn -e generate-sources
> {noformat}
> and it should fail. Then try reordering the wsdlOptions in the pom and it will not fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CXF-4388) Using wsdl2java maven goal with and in the same pom fails

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

Daniel Kulp resolved CXF-4388.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4.9
                   2.5.5
                   2.6.2
         Assignee: Daniel Kulp
    
> Using wsdl2java maven goal with <wsdl> and <wsdlArtifact> in the same pom fails
> -------------------------------------------------------------------------------
>
>                 Key: CXF-4388
>                 URL: https://issues.apache.org/jira/browse/CXF-4388
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.4.8
>            Reporter: Anders Olsson
>            Assignee: Daniel Kulp
>             Fix For: 2.6.2, 2.5.5, 2.4.9
>
>         Attachments: greeter.log, greeter.zip
>
>
> I have configured the wsdl2java goal to use wsdl-files from both local sources, using the <wsdl> element, and from maven artifacts, using the <wsdlArtifact> element. This fails unless I put the <wsdl> as the last <wsldOption>.
> I have created a minimal testcase for this, unzip it and execute
> {noformat}
> $ mvn install:install-file -Dfile=greeter.wsdl -DgroupId=greeter -DartifactId=wsdl -Dversion=1.0 -Dpackaging=wsdl -DgeneratePom=true
> {noformat}
>  
> to install the wsdl, then execute
> {noformat}
> $ mvn -e generate-sources
> {noformat}
> and it should fail. Then try reordering the wsdlOptions in the pom and it will not fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira