cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David J. M. Karlsen (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-4005) Regression: Duplicated option: verbose
Date Mon, 02 Jan 2012 15:10:30 GMT
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


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