Guillaume,

Could we perhaps use http://maven.apache.org/plugins/maven-enforcer-plugin/rules/requireJavaVersion.html?

Gert

Guillaume Nodet wrote:
Is there an easy way to somehow force the use of JDK 5 in maven ?  If we
could fail saying we require JDK 5 early, it would be better.

On Tue, Mar 25, 2008 at 2:20 PM, Bruce Snyder <[EMAIL PROTECTED]>
wrote:

On Mon, Mar 24, 2008 at 4:00 PM, patgrea <[EMAIL PROTECTED]> wrote:
 Hello,

 I'm new to servicemix and i try to build the projet. During phase2, I
have
 build problem whith servicemix-wsn2005 and I have the folowing error (I
try
 with the last 4 revision, I re-try with first delete .m2 repository...)
but
 always the same result. Can anyone help a poor beginner please ?
...
------------------------------------------------------------------------
 [ERROR] FATAL ERROR
 [INFO]

 ------------------------------------------------------------------------
 [INFO] com/sun/istack/SAXParseException2
 [INFO]

 ------------------------------------------------------------------------
 [INFO] Trace
 java.lang.NoClassDefFoundError: com/sun/istack/SAXParseException2
Are you compiling with Java 1.6 perhaps? This error only occurs when
the JAXB2 libraries are not in the classpath. They are listed in the
servicemix-wxn2005 POM file, but when compiling with Java 1.6, the
classpath is different.

Bruce
--
perl -e 'print
unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/





Reply via email to