cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Decat (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-4005) Regression: Duplicated option: verbose
Date Mon, 06 May 2013 15:20:15 GMT

    [ https://issues.apache.org/jira/browse/CXF-4005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649795#comment-13649795
] 

Patrick Decat commented on CXF-4005:
------------------------------------

For the record, CXF 2.3.11 (released 2012-05-29) is affected by this issue.

Indeed, the fix was not merged into the 2.3.x-fixes branch :
* https://fisheye6.atlassian.com/changelog/cxf/branches/2.3.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java?max=30&view=all
* https://fisheye6.atlassian.com/changelog/cxf/branches/2.3.x-fixes/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlOptionLoader.java?max=30&view=all

                
> Regression: Duplicated option: verbose
> --------------------------------------
>
>                 Key: CXF-4005
>                 URL: https://issues.apache.org/jira/browse/CXF-4005
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.5.1
>         Environment: maven 3.0.3
>            Reporter: David J. M. Karlsen
>            Assignee: Daniel Kulp
>              Labels: duplicate, option, verbose
>             Fix For: 2.5.2
>
>
> I get:
> {noformat}
> [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:2.5.1:wsdl2java (default)
on project cxf-utils: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Duplicated
option: verbose -> [Help 1]
> {noformat}
> with the following config:
> {noformat}
>           <plugins>
>                         <!-- done implicity by the service generation -->
>                         <!-- <plugin> <groupId>org.apache.cxf</groupId>
<artifactId>cxf-xjc-plugin</artifactId> 
>                                 <version>2.3.2</version> <executions>
<execution> <phase>generate-sources</phase> 
>                                 <goals> <goal>xsdtojava</goal> </goals>
</execution> </executions> <configuration> 
>                                 <xsdOptions> <xsdOption> <xsd>src/main/resources/WSCommon_v21.xsd</xsd>
<packagename>com.edb.finance.common.cxf.utils.generated</packagename> 
>                                 </xsdOption> </xsdOptions> </configuration>
</plugin> -->
>                         <plugin>
>                                 <groupId>org.apache.cxf</groupId>
>                                 <artifactId>cxf-codegen-plugin</artifactId>
>                                 <version>${cxf.version}</version>
>                                 <dependencies>
>                                         <dependency>
>                                                 <groupId>org.apache.cxf.xjcplugins</groupId>
>                                                 <artifactId>cxf-xjc-ts</artifactId>
>                                                 <version>2.4.0</version>
>                                         </dependency>
>                                         <dependency>
>                                                 <groupId>net.java.dev.jaxb2-commons</groupId>
>                                                 <artifactId>jaxb-fluent-api</artifactId>
>                                                 <version>2.1.8</version>
>                                         </dependency>
>                                 </dependencies>
>                                 <configuration>
>                                         <defaultOptions>
>                                                 <packagenames>
>                                                         <packagename>http://edb.com/ws/WSCommon_v21=com.edb.finance.common.cxf.utils.generated</packagename>
>                                                         <packagename>http://ping.monapp.finance.edb.com=com.edb.finance.common.cxf.utils.generated.monapp.ping</packagename>
>                                                         <packagename>http://ping.ws.monapp.finance.edb.com=com.edb.finance.common.cxf.utils.generated.monapp.ws.ping</packagename>
>                                                 </packagenames>
>                                                 <validateWsdl>true</validateWsdl>
>                                                 <extraargs>
>                                                         <extraarg>-xjc-Xts</extraarg>
>                                                         <extraarg>-xjc-Xfluent-api</extraarg>
>                                                         <extraarg>-verbose</extraarg>
>                                                 </extraargs>
>                                                 <bindingFiles>
>                                                         <bindingFile>${basedir}/src/main/resources/wsdl/jaxbbindings.xml</bindingFile>
>                                                 </bindingFiles>
>                                         </defaultOptions>
>                                 </configuration>
>                                 <executions>
>                                         <execution>
>                                                 <goals>
>                                                         <goal>wsdl2java</goal>
>                                                 </goals>
>                                         </execution>
>                                 </executions>
>                         </plugin>
> {noformat}
> This did not happen with cxf 2.5.0

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

Mime
View raw message