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]