You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "tibi (JIRA)" <ji...@apache.org> on 2013/01/24 12:07:12 UTC

[jira] [Created] (AXIS2-5478) documantation has wrong config example

tibi created AXIS2-5478:
---------------------------

             Summary: documantation has wrong config example
                 Key: AXIS2-5478
                 URL: https://issues.apache.org/jira/browse/AXIS2-5478
             Project: Axis2
          Issue Type: Bug
          Components: documentation
    Affects Versions: 1.6.2
         Environment: all
            Reporter: tibi
            Priority: Minor


http://axis.apache.org/axis2/java/core/tools/maven-plugins/maven-wsdl2code-plugin.html
this example is incorrect the config part should be moved up.
so this:


   <build>
        <plugins>
            <plugin>
                <groupId>org.apache.axis2</groupId>
                <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
                <version>1.4</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>wsdl2code</goal>
                        </goals>
                        <configuration>
                            <packageName>com.foo.myservice</packageName>
                            <wsdlFile>src/main/wsdl/myservice.wsdl</wsdlFile>
                            <databindingName>xmlbeans</databindingName>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>


should be this:

   <build>
        <plugins>
            <plugin>
                <groupId>org.apache.axis2</groupId>
                <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
                <version>1.4</version>
                        <configuration>
                            <packageName>com.foo.myservice</packageName>
                            <wsdlFile>src/main/wsdl/myservice.wsdl</wsdlFile>
                            <databindingName>xmlbeans</databindingName>
                        </configuration>

                <executions>
                    <execution>
                        <goals>
                            <goal>wsdl2code</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

and the version number could be uped ;)

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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org