[
https://issues.apache.org/jira/browse/CXF-3778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093653#comment-13093653
]
Oliver Jelinski commented on CXF-3778:
--------------------------------------
unfortunately, the result is the same: successful build, interface and xml
types, but no impl class generated with the following in the pom.xml:
...
<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>
<impl>true</impl>
<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>
...
> cxf-wadl2java-plugin (maven) does not generate an implementing service-class,
> neither with <impl>true</true> nor with <extraarg>-impl</extraarg>
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CXF-3778
> URL: https://issues.apache.org/jira/browse/CXF-3778
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.4.1, 2.4.2
> Environment: Maven 3.0-SNAPSHOT
> Oracle Java jdk1.6_24
> Reporter: Oliver Jelinski
>
> 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