Have you declared a dependency on commons-logging in your pom?

-----Original Message-----
From: SKrepkovich [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 28, 2008 9:55 AM
To: [email protected]
Subject: Maven BuildFailureException:Compilation Failure in
DefaultLifecycleExecutor.java:560


Hi everyone - I'm a Maven newbie and need some help.  We are using Maven
to
build Eclipse plugins and they have all been fine compiling in Eclipse
and
Maven... until now.  I'm getting the following error trace when I try to
compile a new project in Maven that compiles OK in Eclipse:

org.apache.maven.BuildFailureException: Compilation failure at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:560)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:480)
etc...

The [many] compilation errors are all (for example):
"package org.apache.commons.logging does not exist" and "cannot find
symbol
symbol: class Exception location class package.name" 
All of the packages of course exist in my plugins dir and maven repo.  

I haven't had any luck finding the cause of and/or solution to the
BuildFailureException listed above.  I found a couple  pages suggesting
that
it was due to the JRE version, but we are using 1.5 and it's specified
as
such in the POM (with maven-compiler-plugin 2.0.2) and we haven't had
any
other problems like this.  

Does anyone know the cause of this problem and how to fix it?
Thanks, 
Steve
-- 
View this message in context:
http://www.nabble.com/Maven-BuildFailureException%3ACompilation-Failure-
in-DefaultLifecycleExecutor.java%3A560-tp16939524s177p16939524.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to