Mansour wrote:
Getting further but failing with a different error:
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[WARNING] POM for 'org.apache.maven.surefire:surefire-junit:pom:2.3' is
invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM. for project org.apache.maven.surefire:surefire-junit at
/home/mansour/.m2/repository/org/apache/maven/surefire/surefire-junit/2.3/surefire-junit-2.3.pom
"Not a v4.0.0 POM"? Haven't seen that one before. Maybe you got a
corrupted copy of the surefire POM. Try deleting your
~/.m2/repository/org/apache/maven/surefire directory so it gets
downloaded again.
[INFO] Surefire report directory:
/home/mansour/workspace/cocoon-src/trunk/core/cocoon-pipeline/cocoon-pipeline-api/target/surefire-reports
org.apache.maven.surefire.booter.SurefireExecutionException: Unable to
instantiate and execute Surefire; nested exception is
java.lang.ClassNotFoundException: org.apache.maven.surefire.Surefire
java.lang.ClassNotFoundException: org.apache.maven.surefire.Surefire
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:103)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:281)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 27 seconds
[INFO] Finished at: Sat Feb 09 16:53:29 AST 2008
[INFO] Final Memory: 35M/63M
[INFO]
---------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]