That's VERY cool. I didn't know it could do that. I found that it's defaulting to 2.7.1 so I have forced that to 2.5 explicitly in the POM (I guess the default previously was 2.5). I apologize for not RTFM more carefully.
From: Kristian Rosenvold <kristian.rosenv...@gmail.com> To: Maven Users List <users@maven.apache.org> Date: 02/09/2011 09:17 AM Subject: Re: Surefire plugin 2.7.1 always fails - not even using it???? You,re cutting away so much of the log that it doesn't even show 2.7.1 being run ;) Maybe mvn --fail-never --file CSKAutoCommon\pom.xml help:effective-pom Can provide some insight ? Kristian on., 09.02.2011 kl. 08.59 -0700, skrev twilliamso...@oreillyauto.com: > 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. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean (mailgw2:BBF001E6FD.0F56F). 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.