[
https://issues.apache.org/jira/browse/AXIS2-3585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920417#action_12920417
]
David Webb commented on AXIS2-3585:
-----------------------------------
Spent a long time on this today b/c docs dont mention to run generate-sources
instead of wsdl2code. Please update docs to save someone else a day.
Also, would be great to show an example of how to use the <executions> to build
multiple WSDL files to Code with one pom.xml.
> axis2-wsdl2code ignores packageName in execution group
> -------------------------------------------------------
>
> Key: AXIS2-3585
> URL: https://issues.apache.org/jira/browse/AXIS2-3585
> Project: Axis2
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.3
> Reporter: Michael Dürig
>
> <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'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]