File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes The build cannot continue because of the following unsatisfied dependencies: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "The build cannot continue because of the following unsatisfied dependencies:" Watch "The build cannot continue because of the following unsatisfied dependencies:" New topic
Author

The build cannot continue because of the following unsatisfied dependencies:

Awais Bajwa
Ranch Hand

Joined: Jan 16, 2001
Posts: 191
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

Joined: Jun 25, 2001
Posts: 16308
    
  22

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The build cannot continue because of the following unsatisfied dependencies: