File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Ant, Maven and Other Build Tools
Maven Build Error
Joined: Sep 26, 2006
Aug 15, 2012 11:07:44
When I tried to build my project, I got the following error:
[ERROR] Failed to execute goal on project jcerticles-common: Could not resolve dependencies for project org.q31.jcerticles:jcerticles-common:jar:1.0-SNAPSHOT: Failure to find javax.mail:com.springsource.javax.mail:jar:1.4.1 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :jcerticles-common
Do I have to add any special repositories?
SCWCD 1.4 - Hints for you
, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Joined: Sep 26, 2006
Aug 15, 2012 11:25:47
The problem was with my wife. She was using my MBP for some time and deleted some files accidentally. Unfortunately my settings.xml was deleted and in the settings.xml I had all my repository definitions. I have them back now and it seems to work!
<repository> <id>com.springsource.repository.bundles.release</id> <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name> <url>http://repository.springsource.com/maven/bundles/release</url> </repository> <repository> <id>com.springsource.repository.bundles.external</id> <name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name> <url>http://repository.springsource.com/maven/bundles/external</url> </repository>
author & internet detective
Joined: May 26, 2003
Aug 15, 2012 19:02:37
Joe Harry wrote:
The problem was with my wife.
Well that's a different technical error
. Thanks for sharing the error!
OCA 8 book
How To Ask Questions The Smart Way
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: Maven Build Error
Maven error: Failed to collect dependencies
how to download remote repo using maven 3
Maven Project Running Problem
Could not find artifact org.apache.maven.plugins:maven-war-plugin:pom:2.1.0 in central
Maven build error
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015