Upon regeneration of the webservice client from a wsdl with axis2 some of the classes get a new serialVersionUID. e.g.
private static final long serialVersionUID = 1325767162892L;
Because this changes the code its always a change for the VCS, even though its not a real change. It only seems to create those ids for Exception
objects. Normal classes don't get those id upon generation.
Is there a way to:
- Either always generate the same ID
- Or stop wsdl2code from adding those ID
I'm running the wsdl2code with maven and the following options:
<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>
<wsdlFile>MyWSDL.wsdl</wsdlFile>
<outputDirectory>src/main/wsout</outputDirectory>
<packageName>org.example.PackageName</packageName>
<syncMode>sync</syncMode>
<unpackClasses>true</unpackClasses>
<allPorts>true</allPorts>
<unwrap>true</unwrap>
<overWrite>true</overWrite>
<databindingName>adb</databindingName>
<wsdlVersion>1.1</wsdlVersion>
</configuration>
</execution>
</executions>
</plugin>