This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven build 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 "Maven build error" Watch "Maven build error" New topic
Author

Maven build error

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Guys,

As I was trying to build my project, I face the following error:



But the fact is, I have this jar file already in my local repository. Why would Maven every time look for it in external repositories and result in a build failure.


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

There was some junk in my Maven pom.xml that was causing the above error. Managed to get rid of it.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Maven build error
 
Similar Threads
Maven Project Running Problem
cannot download j2ee-1.4.jar as defined in my pom.xml
linking my own application jar file to my maven build.
Could not resolve dependencies for maven project
Maven Repo Location