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

Daniel Kulp resolved CXF-4068.
------------------------------

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


Yep.   Missing a merge for that option.   Thanks!
                
> cxf-codegen-plugin : wsdlLocation option is not used when set in 
> defaultOptions
> -------------------------------------------------------------------------------
>
>                 Key: CXF-4068
>                 URL: https://issues.apache.org/jira/browse/CXF-4068
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.5.2
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: C:\dev\apache-maven-3.0.3
> Java version: 1.7.0_01, vendor: Oracle Corporation
> Java home: C:\dev\jdk1.7.0_01\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"
>            Reporter: Simon
>            Assignee: Daniel Kulp
>              Labels: cxf-codegen-plugin, maven
>             Fix For: 2.5.3
>
>
> I'm generating Java classes from WSDL using Maven.
> The plugin configuration in the pom.xml is the following :
> {code:xml}
> <plugin>
>       <groupId>org.apache.cxf</groupId>
>       <artifactId>cxf-codegen-plugin</artifactId>
>       <version>2.5.2</version>
>       <configuration>
>               <defaultOptions>
>                       <wsdlLocation>http://test.url</wsdlLocation>
>               </defaultOptions>
>       </configuration>
>       <executions>
>               <execution>
>                       <id>generate-sources</id>
>                       <goals>
>                               <goal>wsdl2java</goal>
>                       </goals>
>               </execution>
>       </executions>
> </plugin>
> {code}
> However, this configuration generates a wrong value for the attribute 
> *wsdlLocation* of the *@WebServiceClient* annotation.
> When I debugged the plugin execution, it appeared that the *wsdlLocation* 
> argument was not added to the *wsdl2java* application.
> It seems that the method *void merge(Option)* of the class 
> *org.apache.cxf.maven_plugin.wsdl2java.Option* miss to merge the 
> *wsdlLocation property* of the given Option object.

--
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

        

Reply via email to