Open glassfishrobot opened 11 years ago
Reported by kaushal_nith
@lukasj said: this is by design. If you need to compile generated sources with specific source/target level, you have to use 'xnocompile' together with properly bound phase in compiler-maven-plugin. There are other solutions to this chicken-egg problem as well.
adding support for explicit source/target level for javac compilation invoked by wsgen must be supported by jax-ws ri first, therefore marking this as an improvement
This issue was imported from java.net JIRA JAX_WS_COMMONS-111
wsgen goal ignores the compiler version and compiles generated code based on the java_home property. This generates "java.lang.UnsupportedClassVersionError: Bad version number in .class file" at runtime
Environment
Windows 7
Affected Versions
[2.2, 2.2.1]