• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The build cannot continue because of the following unsatisfied dependencies:

 
Awais Bajwa
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I am a first time user of Maven 1, while downloading of the artifacts, I am getting an exception:

The build cannot continue because of the following unsatisfied dependencies:

- Attempting to download commons-pool:commons-pool:1.3:jar from http://www.jpox.org/downloads/maven
- Attempting to download commons-pool:commons-pool:1.3:jar from http://www.jpox.org/downloads/maven-nightly
- Attempting to download commons-pool:commons-pool:1.3:jar from http://download.java.net/maven/1
- Attempting to download commons-collections:commons-collections:3.2:jar from http://people.apache.org/~mcaisse/jdo2.1.1/dist/java-repository
- Attempting to download commons-collections:commons-collections:3.2:jar from http://www.jpox.org/downloads/maven
- Attempting to download commons-collections:commons-collections:3.2:jar from http://www.jpox.org/downloads/maven-nightly
- Attempting to download commons-collections:commons-collections:3.2:jar from http://download.java.net/maven/1
- Attempting to download org.apache.geronimo.specs:geronimo-jpa_3.0_spec:1.0:jar from http://people.apache.org/~mcaisse/jdo2.1.1/dist/java-reposito
ry
- Attempting to download org.apache.geronimo.specs:geronimo-jpa_3.0_spec:1.0:jar from http://www.jpox.org/downloads/maven
- Attempting to download org.apache.geronimo.specs:geronimo-jpa_3.0_spec:1.0:jar from http://www.jpox.org/downloads/maven-nightly
- Attempting to download org.apache.geronimo.specs:geronimo-jpa_3.0_spec:1.0:jar from http://download.java.net/maven/1
-------------------------------------------------------------------------------
>> The build cannot continue because of the following unsatisfied dependencies:
- org.apache.derby erby:10.2.1.6:jar
- org.apache.derby erbytools:10.2.1.6:jar
- junit:junit:3.8.1:jar
- asm:asm:3.0:jar (try downloading from http://maven.objectweb.org/maven2/asm/asm/3.0/)
- log4j:log4j:1.2.13:jar
- commons-logging:commons-logging:1.1:jar
- org.springframework:spring-core:2.0:jar
- org.springframework:spring-beans:2.0:jar
- c3p0:c3p0:0.9.0.2:jar (try downloading from http://prdownloads.sourceforge.net/c3p0/c3p0-0.9.0.2.bin.zip)
- commons-dbcp:commons-dbcp:1.2.1:jar
- commons-pool:commons-pool:1.3:jar
- commons-collections:commons-collections:3.2:jar
- org.apache.geronimo.specs:geronimo-jpa_3.0_spec:1.0:jar



I have defined this in my project.properties file


maven.repo.remote =\
http://people.apache.org/~mcaisse/jdo2.1.1/dist/java-repository,\
http://www.jpox.org/downloads/maven,\
http://www.jpox.org/downloads/maven-nightly,\
http://download.java.net/maven/1



The problem is, it is trying to downlaod everything from the wrong repository.

Any idea??

Awais
 
Tim Holloway
Saloon Keeper
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maven 1 has been obsolete for about 2 years now, and my recollection of it is that it's a lot more annoying to use than Maven 2 is.

Maven 2 will attempt to download artifacts from ALL defined repositories, trying each one until it finds what it wants. A command-line switch shows the process at work.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic