You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by SKrepkovich <sk...@gmail.com> on 2008/04/28 15:55:13 UTC
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(DefaultLifecycleExecutor.java:560)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Maven BuildFailureException:Compilation Failure in DefaultLifecycleExecutor.java:560
Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
Well...then it seems like that plugin isn't including it correctly in
the pom. I don't know why you would get a compile error otherwise.
-----Original Message-----
From: SKrepkovich [mailto:skrepkovich@gmail.com]
Sent: Monday, April 28, 2008 10:27 AM
To: users@maven.apache.org
Subject: RE: Maven BuildFailureException:Compilation Failure in
DefaultLifecycleExecutor.java:560
No, I don't declare the dependency in the POM. We are using a
PSTeclipse
plugin that creates/modifies a POM dynamically at build time, so we
don't
have any dependencies like that specified in the main POM other than
build
plugins, reporting, distribution, etc.
Have you declared a dependency on commons-logging in your pom?
--
View this message in context:
http://www.nabble.com/Maven-BuildFailureException%3ACompilation-Failure-
in-DefaultLifecycleExecutor.java%3A560-tp16939524s177p16940067.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Maven BuildFailureException:Compilation Failure in
DefaultLifecycleExecutor.java:560
Posted by SKrepkovich <sk...@gmail.com>.
No, I don't declare the dependency in the POM. We are using a PSTeclipse
plugin that creates/modifies a POM dynamically at build time, so we don't
have any dependencies like that specified in the main POM other than build
plugins, reporting, distribution, etc.
Have you declared a dependency on commons-logging in your pom?
--
View this message in context: http://www.nabble.com/Maven-BuildFailureException%3ACompilation-Failure-in-DefaultLifecycleExecutor.java%3A560-tp16939524s177p16940067.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Maven BuildFailureException:Compilation Failure in DefaultLifecycleExecutor.java:560
Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
Have you declared a dependency on commons-logging in your pom?
-----Original Message-----
From: SKrepkovich [mailto:skrepkovich@gmail.com]
Sent: Monday, April 28, 2008 9:55 AM
To: users@maven.apache.org
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org