Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-3585

axis2-wsdl2code ignores packageName in execution group

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 1.3
    • None
    • Tools
    • None

    Description

      <plugin>
      <groupId>org.apache.axis2</groupId>
      <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
      <version>1.3</version>
      <executions>
      <execution>
      <id>test1</id>
      <goals>
      <goal>wsdl2code</goal>
      </goals>
      <configuration>
      <packageName>foo.bar</packageName>
      <wsdlFile>src/main/axis2/myservice.wsdl</wsdlFile>
      </configuration>
      </execution>
      </executions>
      </plugin>

      gives

      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] One or more required plugin parameters are invalid/missing for 'axis2-wsdl2code:wsdl2code'

      [0] inside the definition for plugin: 'axis2-wsdl2code-maven-plugin'specify the following:

      <configuration>
      ...
      <packageName>VALUE</packageName>
      </configuration>

      OR

      on the command line, specify: '-Daxis2.wsdl2code.package=VALUE'

      Attachments

        Activity

          People

            Unassigned Unassigned
            mduerig Michael Dürig
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: