axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shameera Rathnayaka (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5168) axis2-wsdl2code-maven-plugin generated source code warnings
Date Fri, 21 Oct 2011 17:46:32 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132863#comment-13132863
] 

Shameera Rathnayaka commented on AXIS2-5168:
--------------------------------------------

HI Andrew, 

This is similar to AXIS2-4462 . I have provided a patch for AXIS2-4462 which will add @javax.annotation.Generated("optional")
to all generated classes including stub. This is an another option wsdl2java tool  with that
patch you could use -gca <Optional_value>  code generation option to add @Generated
annotation. 

As soon as il provide a patch for this.

Thanks
Shameera
                
> axis2-wsdl2code-maven-plugin generated source code warnings
> -----------------------------------------------------------
>
>                 Key: AXIS2-5168
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5168
>             Project: Axis2
>          Issue Type: Improvement
>          Components: jaxws
>    Affects Versions: 1.6.1
>         Environment: Windows XP, Java 1.6
>            Reporter: Andrew Holland
>
> axis2-wsdl2code-maven-plugin should add '@SuppressWarnings("all")' to all generated source
code, including the stub
> Here's a copy of the plugin configuration in my maven pom
> <plugin>
>     <groupId>org.apache.axis2</groupId>
>     <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
>     <version>1.6.1</version>
>         <executions>
>             <execution>
>                 <goals>
>                     <goal>wsdl2code</goal>
>                 </goals>
>                 <configuration>
>                     <packageName>my.package.name</packageName>
>                     <wsdlFile>src/main/wsdl/service.wsdl</wsdlFile>
>                     <unwrap>true</unwrap>
>                </configuration>
>            </execution>
>         </executions>
> </plugin>

--
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message