Hi Amutsikiwa,

There were some problems with various Maven repositories over the last couple 
of weeks, could you try running 'mvn -U clean package'.

Thanks, Robin.

Robin Taylor
Main Library
University of Edinburgh
Tel. 0131 6513808  

> -----Original Message-----
> From: amutsikiwa [mailto:[email protected]] 
> Sent: 22 November 2010 16:49
> To: [email protected]
> Subject: [Dspace-tech] An unsual area when repackaging Dspace 
> 1.6.1 i.e running mvn -e package
> 
> I am running dspace-1.6.1  source release on Fedora Core 8. 
> It has been a while since I have been on this  release. I  
> want to include Google Analytical tool. I have added my  
> google analytics key  and I have to repackage dspace:
> 
> dsp...@ir dspace$ pwd
> 
> /dspace-1.6.1-src-release/dspace
> 
> dsp...@ir dspace$ mvn -e package
> 
>  
> 
> I am getting the following errors:
> 
>  
> 
>  
> 
> [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 java.net
> 
> [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:
> 
>   java.net (http://download.java.net/maven/2),
> 
>   maven.dspace.org-snapshot (http://maven.dspace.org/snapshot),
> 
>   central (http://repo1.maven.org/maven2)
> 
>  
> 
>  
> 
> [INFO] 
> --------------------------------------------------------------
> ----------
> 
> [INFO] Trace
> 
> org.apache.maven.lifecycle.LifecycleExecutionException: 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:
> 
>   java.net (http://download.java.net/maven/2),
> 
>   maven.dspace.org-snapshot (http://maven.dspace.org/snapshot),
> 
>   central (http://repo1.maven.org/maven2)
> 
>  
> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
> ls(DefaultLifecycleExecutor.java:575)
> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
> lWithLifecycle(DefaultLifecycleExecutor.java:499)
> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
> l(DefaultLifecycleExecutor.java:478)
> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
> lAndHandleFailures(DefaultLifecycleExecutor.java:330)
> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTas
> kSegments(DefaultLifecycleExecutor.java:291)
> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(De
> faultLifecycleExecutor.java:142)
> 
>         at 
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> 
>         at 
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> 
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> 
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
> 
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
> 
>         at java.lang.reflect.Method.invoke(Method.java:597)
> 
>         at 
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> 
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> 
>         at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> 
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> 
> Caused by: 
> org.apache.maven.artifact.versioning.OverConstrainedVersionExc
> eption: 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:
> 
>   java.net (http://download.java.net/maven/2),
> 
>   maven.dspace.org-snapshot (http://maven.dspace.org/snapshot),
> 
>   central (http://repo1.maven.org/maven2)
> 
>  
> 
>         at 
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.re
> curse(DefaultArtifactCollector.java:359)
> 
>         at 
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.co
> llect(DefaultArtifactCollector.java:76)
> 
>         at 
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.res
> olveTransitively(DefaultArtifactResolver.java:300)
> 
>         at 
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.res
> olveTransitively(DefaultArtifactResolver.java:288)
> 
>         at 
> org.apache.maven.plugin.DefaultPluginManager.resolveTransitive
> Dependencies(DefaultPluginManager.java:1415)
> 
>         at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(Defau
> ltPluginManager.java:405)
> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
> ls(DefaultLifecycleExecutor.java:558)
> 
>         ... 16 more
> 
> [INFO] 
> --------------------------------------------------------------
> ----------
> 
> [INFO] Total time: 16 seconds
> 
> [INFO] Finished at: Mon Nov 22 18:23:58 CAT 2010
> 
> [INFO] Final Memory: 27M/48M
> 
> [INFO] 
> --------------------------------------------------------------
> ----------
> 
> 
-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to