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.executeGoals(DefaultLife
cycleExecutor.java:575)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:499)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
ycleExecutor.java:478)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
ures(DefaultLifecycleExecutor.java:330)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
ultLifecycleExecutor.java:291)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.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(NativeMethodAccessorImpl.java:39
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.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.OverConstrainedVersionException: 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.recurse(DefaultA
rtifactCollector.java:359)

        at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultA
rtifactCollector.java:76)

        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitive
ly(DefaultArtifactResolver.java:300)

        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitive
ly(DefaultArtifactResolver.java:288)

        at
org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(D
efaultPluginManager.java:1415)

        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
r.java:405)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
cycleExecutor.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]
------------------------------------------------------------------------

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to