You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Oliver Jelinski (JIRA)" <ji...@apache.org> on 2011/09/23 09:26:26 UTC
[jira] [Closed] (CXF-3778) cxf-wadl2java-plugin (maven) does not
generate an implementing service-class, neither with true nor
with -impl
[ https://issues.apache.org/jira/browse/CXF-3778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oliver Jelinski closed CXF-3778.
--------------------------------
> cxf-wadl2java-plugin (maven) does not generate an implementing service-class, neither with <impl>true</impl> nor with <extraarg>-impl</extraarg>
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CXF-3778
> URL: https://issues.apache.org/jira/browse/CXF-3778
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.4.1, 2.4.2
> Environment: Maven 3.0-SNAPSHOT
> Oracle Java jdk1.6_24
> Reporter: Oliver Jelinski
> Attachments: RestTestService.wadl, RestTestService.xsd, rest-test.zip
>
>
> cxf-wadl2java-plugin (maven) does not generate an implementing service-class, neither with <impl>true</true> nor with <extraarg>-impl</extraarg>.
> For example with these declarations:
> ...
> <properties>
> <cxf.version>2.4.2</cxf.version>
> </properties>
> <dependencies>
> <dependency>
> <groupId>org.apache.cxf</groupId>
> <artifactId>cxf-rt-frontend-jaxrs</artifactId>
> <version>${cxf.version}</version>
> </dependency>
> </dependencies>
> ...
> <plugin>
> <groupId>org.apache.cxf</groupId>
> <artifactId>cxf-wadl2java-plugin</artifactId>
> <version>${cxf.version}</version>
> <executions>
> <execution>
> <id>generate-sources</id>
> <phase>generate-sources</phase>
> <configuration>
> <sourceRoot>${basedir}/target/generated-sources/cxf-rs</sourceRoot>
> <wadlOptions>
> <wadlOption>
> <wadl>${basedir}/src/main/resources/wadl/RestTestService.wadl</wadl>
> <extraargs>
> <extraarg>-impl</extraarg>
> <extraarg>-interface</extraarg>
> <extraarg>-verbose</extraarg>
> </extraargs>
>
> <packagename>rest.test.service</packagename>
> <schemaPackagenames>
> <schemaPackagename>http://example.com/rest-test=rest.test.types</schemaPackagename>
> </schemaPackagenames>
>
> </wadlOption>
> </wadlOptions>
> </configuration>
> <goals>
> <goal>wadl2java</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> ...
> Build is sucessful, the interface is generated, as well as the xml-types, but the impl class isn't.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira