Hi all.

I'm stuck at the 'mvn package' part of the installation (dspace 1.8.1,  
maven2=2.2.1-10) and it fails downloading the first file, claiming  
network unreachable, 'Unable to download the artifact from any  
repository', the usual.
I've searched the list and most people fixed this problem with the  
proxy setting in the settings.xml file from the maven directory. Well,  
this doesn't work for me. I'm actually in the same network from  
another computer that doesn't even need a proxy setting! (both are  
behind a firewall which automatically redirects requests to specific  
ports to the proxy, so there's no need for the setting) Just to be  
sure I tried the proxy setting anyway but it doesn't work.

Also I can access that first failed file with my browser and with  
wget. It's a .pom file. Using curl it shows it to me in binary code  
(I'm not sure if that matters or not). So it doesn't even look like a  
proxy type problem.

Of course I also tried purging and reinstalling maven2, to no effect.

I'm running out of ideas...

Can anyone provide any help?

Thanks in advance

Here goes the error report:




/home/martin/dspace-1.8.1-src-release/dspace# mvn package
[INFO] Scanning for projects...
Downloading:  
http://repo1.maven.org/maven2/org/dspace/dspace-pom/12/dspace-pom-12.pom
[WARNING] Unable to get resource 'org.dspace:dspace-pom:pom:12' from  
repository central (http://repo1.maven.org/maven2): Error transferring  
file: Network is unreachable
[INFO]  
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]  
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.dspace:dspace-parent:pom:1.8.1

Reason: Cannot find parent: org.dspace:dspace-pom for project:  
org.dspace:dspace-parent:pom:1.8.1 for project  
org.dspace:dspace-parent:pom:1.8.1


[INFO]  
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:  
org.dspace:dspace-pom for project: org.dspace:dspace-parent:pom:1.8.1  
for project org.dspace:dspace-parent:pom:1.8.1
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        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.project.ProjectBuildingException: Cannot  
find parent: org.dspace:dspace-pom for project:  
org.dspace:dspace-parent:pom:1.8.1 for project  
org.dspace:dspace-parent:pom:1.8.1
        at  
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
        at  
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1407)
        at  
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
        at  
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
        at  
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
        at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
        at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
        ... 12 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM  
'org.dspace:dspace-pom' not found in repository: Unable to download  
the artifact from any repository

   org.dspace:dspace-pom:pom:12

from the specified remote repositories:
   central (http://repo1.maven.org/maven2)

  for project org.dspace:dspace-pom
        at  
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
        at  
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
        ... 19 more
Caused by:  
org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable  
to download the artifact from any repository

   org.dspace:dspace-pom:pom:12

from the specified remote repositories:
   central (http://repo1.maven.org/maven2)


        at  
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
        at  
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
        at  
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)
        ... 20 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException:  
Unable to download the artifact from any repository
        at  
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:404)
        at  
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
        ... 22 more
[INFO]  
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Feb 07 11:56:07 ART 2012
[INFO] Final Memory: 2M/118M
[INFO]  
------------------------------------------------------------------------




-- 
-------------------------------------------------------------------------------
                            Martín Musacchio
                     Centro de Telemática - UNL
       Pje. Martinez 2652 - S3002AAB Santa Fe - Argentina
            tel +54(342)455-4245 - FAX +54(342)457-1240


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to