You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Fisher, Michael (IT)" <Mi...@gs.com> on 2006/05/22 18:22:34 UTC

Plugin versions and JDK

Hello,

Quick question regarding JDK versions and running Maven2 plugins...

Maven requires a JAVA_HOME system property to be set in order to run, when I
set this to point to a 1.4.2_06 JDK, I get an UnsupportedClassVersion
exception when I get to the surefire test cycle (Using version 2.0 of
Surefire).  When looking at the JAR, it seems to have been built with
1.5.2_05.  Does this mean I need to be running a 1.5+ JDK in order to use
the latest version of such plugins?  

The reason I ask, is because even though I could build my software on 1.5+,
I cannot deploy it to an environment running above 1.4.2.  What is the
suggested work around for this?

Thanks,
Mike