1 Reply Latest reply: Nov 19, 2012 2:09 AM by r035198x RSS

    Maven & Axis2 plugin - different stub code generation

      I'm using Maven 3.0.4 and Axis2 1.5.1 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 JDK 1.6 and then JDK 1.7.

      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?
        • 1. Re: Maven & Axis2 plugin - different stub code generation
          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
          If that doesn't help then check axis plugin specific properties to see if you can pass parameters to the compiler or runtime.