[
https://issues.apache.org/jira/browse/AXIS2-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sagara Gunathunga reassigned AXIS2-5241:
-----------------------------------------
Assignee: Sagara Gunathunga
> axis2-java2wsdl-maven-plugin Java2WSDLMojo and wrong Schema Generator property
> ------------------------------------------------------------------------------
>
> Key: AXIS2-5241
> URL: https://issues.apache.org/jira/browse/AXIS2-5241
> Project: Axis2
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.6.1
> Environment: jdk 1.6.0_30, centos 5.7 64 bit, maven 2.2.1
> Reporter: Andrea Nasato
> Assignee: Sagara Gunathunga
> Priority: Trivial
>
> The property schemaGenClassName in class Java2WSDLMojo has a wrong property
> annotation name. It is ${axis2.java2wsdl.nsGenClassName} and should be
> ${axis2.java2wsdl.schemaGenClassName}.
> If I use this pom.xml my PlexBeanSchemaGenerator is nevere istantiated.
> <pre>
> <plugin>
> <groupId>org.apache.axis2</groupId>
> <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
> <version>1.6.1</version>
> <configuration>
> <className>codfe.cp2a8CBean</className>
>
> <outputFileName>${basedir}/resources/codfe-service.wsdl</outputFileName>
> <serviceName>codfe</serviceName>
>
> <schemaGenClassName>it.kibernetes.axis2.java2wsdl.PlexBeanSchemaGenerator</schemaGenClassName>
>
> </configuration>
> <executions>
> <execution>
> <goals>
> <goal>java2wsdl</goal>
> </goals>
> </execution>
> </executions>
> ....
> </pre>
> Changing Java2WSDLMojo this way corrects the problem:
> <pre>
> andrean@colinux:~/work/plex6.1/axis2-1.6.1-svn/modules/tool$ svn diff
> axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java
> Index:
> axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java
> ===================================================================
> ---
> axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java
> (revision 1225773)
> +++
> axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java
> (working copy)
> @@ -128,7 +128,7 @@
> /**
> * Schema Generator
> - * @parameter expression="${axis2.java2wsdl.nsGenClassName}"
> + * @parameter expression="${axis2.java2wsdl.schemaGenClassName}"
> */
> private String schemaGenClassName;
> andrean@colinux:~/work/plex6.1/axis2-1.6.1-svn/modules/tool$
> </pre>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]