Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Java Enterprise & Remote Computing
Java Technologies for Web Services
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Nov 19, 2012 2:09 AM by
Maven & Axis2 plugin - different stub code generation
Nov 13, 2012 6:33 AM
plugin. I've a problem with the generation of a stub class using AXIS2 plugin on Maven.
Depending on the JDK currently configured on the build environment, AXIS2 plugin generates a different stub class source code. I've tried the generation using
There is a way to "force" the JDK (i.e. 1.6) used by the AXIS2 plugin inside Maven (without changing environment)? (I would like to have a code generation independent from the environment)
Please, someone can help me?
This content has been marked as final.
Show 1 reply
Re: Maven & Axis2 plugin - different stub code generation
Nov 19, 2012 2:09 AM
in response to
Don't know if this will help but you can tell maven which compiler version for source and target classes in the compiler plugin with
<configuration> <source>1.6</source> <target>1.6</target> </configuration>
If that doesn't help then check axis plugin specific properties to see if you can pass parameters to the compiler or runtime.