I think the information you gave may not be enough... can you try running mvn with the -X option?

Thanks.



Gerard Garrigan wrote:

Hello,

I have set up a maven project. When I try to run /mvn test /from within eclipse I get the following error.

Compiling 453 source files to E:\workarea\iTRAX2\target\classes

_org.apache.maven.plugin.CompilationFailureException_: Compilation failure

at org.apache.maven.plugin.AbstractCompilerMojo.execute(_AbstractCompilerMojo.java:429_)

at org.apache.maven.plugin.CompilerMojo.execute(_CompilerMojo.java:110_)

at org.apache.maven.plugin.DefaultPluginManager.executeMojo(_DefaultPluginManager.java:426_)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(_DefaultLifecycleExecutor.java:554_)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(_DefaultLifecycleExecutor.java:508_)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(_DefaultLifecycleExecutor.java:494_)[ERROR] mojo-execute : compiler:compile

Diagnosis: Compilation failure

FATAL ERROR: Error executing Maven for a project





at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(_DefaultLifecycleExecutor.java:307_)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(_DefaultLifecycleExecutor.java:149_)

at org.apache.maven.embedder.MavenEmbedder.execute(_MavenEmbedder.java:439_)

at org.apache.maven.embedder.MavenEmbedder.execute(_MavenEmbedder.java:383_)

at org.maven.ide.eclipse.Maven2Executor.main(_Maven2Executor.java:71_)

As this is the first Maven project I have worked on there is a chance that I may have set it up wrong. Any help would be greatly appreciated.

Thanks very much,

*Ger Garrigan
**Software Engineer**
**
Castlewood House, Castlewood Ave,
Rathmines, Dublin 6, Ireland.
**Tel:  +353 1 4060738   Fax:  +353 1 4060748
**www.precisionsoftware.com <http://www.precisionsoftware.com/>*


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

Reply via email to