Can you supply us with more info like running mvn with -X ?

Thanks.



Maciej Mastalarczuk wrote:

Hi,

I've had the same problem. It looks like if the artifact is not in the
repository it will try another one, but if the repository is not available
it will not. Can someone comment whether it's a bug?

I fixed it by creating an empty repository on a box with the same name
("columbus" in your case). Then it went there, found nothing and fell back
to ibiblio.

Regards

Maciej Mastalarczuk


-----Original Message-----
From: Alejandro Sarco [mailto:[EMAIL PROTECTED]
Sent: Sunday, 29 January 2006 7:32 PM
To: [email protected]
Subject: M2 dependency not downloading

Hi everybody,

I inherited a medium sized project, which has a few modules and builds
with M2.
The previous team was using linux machines for developing, but I'm using
WinXP, so I copied everything to my WinXP PC.
When I ran the mvn build for the first time, I saw a few dependencies
were downloaded, but the build failed  because of some missing
dependencies. I checked the output and seems some dependencies are not
downloading from Maven central repository. I get the following:

[INFO]
--------------------------------------------------------------------------
--
[ERROR] BUILD ERROR
[INFO]
--------------------------------------------------------------------------
--
[INFO] Error building POM (may not be this project's POM).

Project ID: commons-validator:commons-validator

Reason: Error getting POM for 'commons-validator:commons-validator' from
the repository: Error transferring file
 commons-validator:commons-validator:pom:1.1.4

from the specified remote repositories:
 central (http://repo1.maven.org/maven2),
 old-phoenix-repository (http://columbus/dist),
 phoenix-repository (http://columbus/dist2)



Columbus is our own remote repository, which is not available at the
moment. Seems that maven is only looking there and when it fails, it
doesn't go to Maven central repository, even if it's saying so.
Of course I could download all dependencies manually, but I don't think
is the idea of using Maven2. Any ideas?

Thanks,
Alex.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to