Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Android Security Essentials Live Lessons this week in the Android 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.
 
 
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.
Maven Repo Location
Could not resolve dependencies for maven project