Jose,
Also, for future trouble-shooting reference, you can use a web-
browser to verify that the artifact Maven is complaining about is
there, e.g...
From the error, you can get the repositories it is attempting to
download the artifact from...
http://maven.dspace.org/snapshot
and then navigate through the tree structure to make sure the JAR of
the artifact exists. Maven deploys artifacts based on 3 criteria,
which are mapped to the directory structure you will see in any Maven
repository:
groupId (e.g. "dspace")
artifactId (e.g. "dspace-api-lang")
and
version (e.g. "1.5.0.1-SNAPSHOT" although in this case, it is
looking for any version within the range 1.5.0.0 - 1.6.0.0 as noted
in the error below)
Hence, the URL to check:
http://maven.dspace.org/snapshot/org/dspace/dspace-api-lang/
1.5.0.1-SNAPSHOT/
Much easier to just start at the top though:
http://maven.dspace.org/snapshot
--
sands fish
Software Engineer
MIT Libraries
Technology Research & Development
[EMAIL PROTECTED]
E25-131
* Please consider the environment before printing this email
On Sep 25, 2008, at 3:02 PM, Blanco, Jose wrote:
> I'm getting the following message when I do
>
> /l/local/bin/mvn package
>
> [INFO] Building jar:
> /l1/dspace/build/dev-151/dspace-api/target/dspace-api-1.5.1.jar
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Building DSpace XML-UI (Manakin) :: API and Core Aspects
> [INFO] task-segment: [package]
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] artifact org.dspace:dspace-api-lang: checking for updates from
> central
> [WARNING] repository metadata for: 'artifact org.dspace:dspace-api-
> lang'
> could not be retrieved from repository: central due to an error: Error
> transferring file
> [INFO] Repository 'central' will be blacklisted
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Failed to resolve artifact.
>
> No versions are present in the repository for the artifact with a
> range
> [1.5.0.0,1.6.0.0)
> org.dspace:dspace-api-lang:jar:null
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> maven.dspace.org/snapshot (http://maven.dspace.org/snapshot)
>
> How should I resolve this?
>
> Thanks!
> Jose
>
> ----------------------------------------------------------------------
> ---
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech