Eija,

Are you behind a proxy? You may be able to browse the repo in your
browser, but not access it from java without proxy settings added to
you ~/.m2/settings.xml if that is the case.  Check with your system
admin.

Mark

On Wed, May 5, 2010 at 11:02 PM, Eija Airio <[email protected]> wrote:
> Hi,
>
> has anyone had this kind of problems: suddenly "mvn package" does not
> succeed anymore, but ends with the following messages:
>
> --------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] artifact org.dspace:dspace-api-lang: checking for updates from
> java.net
> [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.6.0.0,1.7.0.0)
>   org.dspace:dspace-api-lang:jar:null
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   java.net (http://download.java.net/maven/2),
>   maven.dspace.org-snapshot (http://maven.dspace.org/snapshot)
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 minutes 13 seconds
> [INFO] Finished at: Thu May 06 08:36:20 EEST 2010
> [INFO] Final Memory: 28M/51M
> [INFO]
> ------------------------------------------------------------------------
> -----------------------------------------
>
> The same happens with DSpace 1.5.2, with dspace-api-lang [1.5.0.0,1.6.0.0).
> And yes, I am giving the command in the right directory,
> "[dspace-source]/dspace/". Is the problem in the repositories or on our
> server?
>
> - Eija
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>



-- 
Mark R. Diggory
Head of U.S. Operations - @mire

http://www.atmire.com - Institutional Repository Solutions
http://www.togather.eu - Before getting together, get t...@ther

------------------------------------------------------------------------------

_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to