cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-4029) cxf-codegen-plugin doesn't generate any code code when the wsdl parameter is an url
Date Tue, 17 Jan 2012 18:24:39 GMT

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

Daniel Kulp resolved CXF-4029.
------------------------------

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


Verified that only "File" wsdl locations were left in the effective list of wsdl's to process.
 
                
> cxf-codegen-plugin doesn't generate any code code when the wsdl parameter is an url
> -----------------------------------------------------------------------------------
>
>                 Key: CXF-4029
>                 URL: https://issues.apache.org/jira/browse/CXF-4029
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.5.1
>            Reporter: Sven Rienstra
>            Assignee: Daniel Kulp
>             Fix For: 2.5.2
>
>
> The maven cxf-codegen-plugin doesn't generate any code when the wsdl parameter is an
url. This bug seems to be introduced in 2.5.1, 2.5.0 is working ok.
> Output in 2.5.1 (Nothing is generated):
> {code}
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building example
> [INFO]    task-segment: [generate-sources]
> [INFO] ------------------------------------------------------------------------
> [INFO] [cxf-codegen:wsdl2java {execution: generate-sources}]
> [INFO] Nothing to generate
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Fri Jan 13 14:12:34 CET 2012
> [INFO] Final Memory: 19M/169M
> [INFO] --------------------------------------------------------------------
> Output in 2.5.0 (code is generated ok):
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building example
> [INFO]    task-segment: [generate-sources]
> [INFO] ------------------------------------------------------------------------
> [INFO] [cxf-codegen:wsdl2java {execution: generate-sources}]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 5 seconds
> [INFO] Finished at: Fri Jan 13 14:15:14 CET 2012
> [INFO] Final Memory: 26M/171M
> [INFO] -------------------------------------------------------------------
> {code}
> Pom:
> {code:xml}
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
> 	<modelVersion>4.0.0</modelVersion>
> 	<groupId>com.example</groupId>
> 	<artifactId>cxf</artifactId>
> 	<version>0.0.1-SNAPSHOT</version>
> 	<packaging>jar</packaging>
> 	<name>example</name>
> 	<build>
> 		<plugins>
> 			<plugin>
> 				<groupId>org.apache.cxf</groupId>
> 				<artifactId>cxf-codegen-plugin</artifactId>
> 				<version>2.5.1</version>
> 				<executions>
> 					<execution>
> 						<id>generate-sources</id>
> 						<phase>generate-sources</phase>
> 						<configuration>
> 							<sourceRoot>${basedir}/src/main/generated/</sourceRoot>
> 							<wsdlOptions>
> 								<wsdlOption>
> 									<wsdl>http://www.webservicex.net/CurrencyConvertor.asmx?WSDL</wsdl>
> 								</wsdlOption>
> 							</wsdlOptions>
> 						</configuration>
> 						<goals>
> 							<goal>wsdl2java</goal>
> 						</goals>
> 					</execution>
> 				</executions>
> 			</plugin>
> 		</plugins>
> 	</build>
> </project>
> {code}

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

        

Mime
View raw message