|
Just repeating my question. Hope someone helps:
I'm stuck at the 'mvn package' part of the installation (dspace 1.8.1, -and also 1.6.2- and 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 ----- Terminar mensaje reenviado ----- -- ------------------------------------------------------------------------------- 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 ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ DSpace-tech mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/dspace-tech |
|
On Wed, Feb 15, 2012 at 08:32:26AM -0300, Martin Musacchio wrote:
> I'm stuck at the 'mvn package' part of the installation (dspace 1.8.1, > -and also 1.6.2- and 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. http://repo1.maven.org/maven2/org/dspace/dspace-pom/12/dspace-pom-12.pom' showed me this: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.dspace</groupId> <artifactId>dspace-pom</artifactId> and so on. If you don't get that, something fairly close to you is broken. If I were having this problem, I'd stick with simple tools like curl or wget until they can fetch a recognizable POM and then try Maven again. I'm perhaps understandably suspicious of that magic firewall rule. [snip] > 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 I think that everything beyond this point is resulting from the above. The project's configuration can't be completed because dspace-pom is unavailable and it's an ancestor of everything you're trying to build. -- Mark H. Wood, Lead System Programmer [hidden email] Asking whether markets are efficient is like asking whether people are smart. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ DSpace-tech mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/dspace-tech |
| Powered by Nabble | See how NAML generates this page |
