jQuery in Action, 2nd edition*
The moose likes Ant, Maven and Other Build Tools and the fly likes Eclipse Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Eclipse Error" Watch "Eclipse Error" New topic
Author

Eclipse Error

Vijay Kumar
Ranch Hand

Joined: Jul 24, 2003
Posts: 260
Hi all,

I have maven projects, while importing it I am facing below error.




Environment : Eclipse Helios , Maven m2eclipse , maven-2.0.7

Thanks.
Vijay
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

Does this Maven project build correctly from the command line?

Could you post the pom.xml? If it is long, attach it.

Also, since the error is Maven/Plexus-specific I will cross link this post to the build tools forum.


JBoss In Action
Vijay Kumar
Ranch Hand

Joined: Jul 24, 2003
Posts: 260
Thanks Peter,

Project build perfectly from command line.

I can't post POM.xml due to some restrictions. But its was running fine with Europa/Maven-2.

--Vijay
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

I understand that you can't post proprietary code. Can you you reproduce the problem with a simple pom.xml that you can share?

Also, does the same problem show up with Eclipse Indigo (3.7) and Maven 3.0.3?

At this point I am assuming an incompatibility between your POM and the Maven built into Eclipse Helios. (Which is the reason I rarely let Eclipse build anything...)

Finally, have you tried doing the build within Eclipse using the -X option - that might give more clues as to the problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse Error
 
Similar Threads
mvn sql:execute does not execute the scripts
ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources
Could not resolve dependencies for maven project
Maven Project Running Problem
com.google.inject.ProvisionException: Guice provision errors