• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

The build cannot continue because of the following unsatisfied dependencies:

 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 27889
198
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic