I apologize if this is a really basic problem but I am at a point where I 
need some help from SOMEBODY:

I am experiencing a situation where my command-line Maven 3.0.2 build is 
always failing with the following error (trace abbreviated for brevity):

Caused by: java.lang.ClassNotFoundException: 
org.apache.maven.plugin.surefire.SurefireExecutionParameters
        at 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
        at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
        at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
        ... 47 more

This is annoying because not only are we not using 2.7.1 of the surefire 
plugin (the POM specifies 2.5), there appears to be no way to shut this 
off!   I have tried command line options as follows with no luck:


mvn --fail-never -Dmaven.test.skip=true -DskipTests -e -X --file 
CSKAutoCommon\pom.xml clean install

The Maven site specifies that either one of the -D parameters should skip 
the tests.   Yet neither one, nor both of them, appears to work.

Anyone have any  helpful ideas?
This communication and any attachments are confidential, protected by 
Communications Privacy Act 18 USCS ยง 2510, solely for the use of the 
intended recipient, and may contain legally privileged material. If you 
are not the intended recipient, please return or destroy it immediately. 
Thank you.

Reply via email to