Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4005

Regression: Duplicated option: verbose

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.1
    • 2.5.2
    • Tooling
    • maven 3.0.3

    • Unknown

    Description

      I get:

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

      with the following config:

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

      This did not happen with cxf 2.5.0

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            davidkarlsen@gmail.com David J. M. Karlsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: