[GraphHopper] Maven error while building GraphHopper from scratch

Vivek Nallur vivek.nallur at scss.tcd.ie
Tue Jun 24 10:51:18 UTC 2014


Ah, that's it! The perils of having things already set up on a dev machine!

Sorry about that. And many thanks!

-v

On Tue, Jun 24, 2014 at 12:27:22PM +0200, Peter wrote:
>Do you have access to the repositories?
>Are you behind a proxy?
>
>http://stackoverflow.com/q/16729023/194609
>
>Regards,
>Peter.
>
>
>> Hello,
>>
>> I'm trying to build GraphHopper from scratch on a fresh machine (Debian
>> 3.2.54-2 x86_64). Here are the steps that I followed:
>>
>> 1) sudo apt-get install default-jdk
>> 2) Install Maven from http://maven.apache.org/download.cgi and followed
>> instructions for environment vars.
>>
>> mvn --version returns:
>>
>> Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
>> 2014-02-14T17:37:52+00:00)
>> Maven home: /usr/local/apache-maven/apache-maven-3.2.1
>> Java version: 1.6.0_31, vendor: Sun Microsystems Inc.
>> Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
>> Default locale: en_IE, platform encoding: UTF-8
>> OS name: "linux", version: "3.2.0-4-amd64", arch: "amd64", family:
>> "unix"
>>
>> 3) git clone https://github.com/graphhopper/graphhopper.git
>> 4) Add the 'repository' snippet given at:
>> https://github.com/graphhopper/graphhopper/blob/master/docs/core/quickstart-from-source.md
>>
>>
>> 5) ./graphhopper.sh web
>> ~/Downloads/ireland-and-northern-ireland-latest.osm.pbf
>>
>>
>> But, I get the following error (from /tmp/graphhopper-compile.log)
>>
>> ======
>> [INFO] Scanning for projects...
>> Downloading:
>> https://oss.sonatype.org/content/groups/public/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
>>
>> ^MDownloading:
>> http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
>>
>> ^M[ERROR] The build could not read 1 project -> [Help 1]
>> [ERROR]
>> [ERROR]   The project com.graphhopper:graphhopper-parent:0.4-SNAPSHOT
>> (/home/vivek/graphhopper/pom.xml) has 1 error
>> [ERROR]     Non-resolvable parent POM: Could not transfer artifact
>> org.sonatype.oss:oss-parent:pom:9 from/to sonatype-oss-public
>> (https://oss.sonatype.org/content/groups/public/): Connect to
>> oss.sonatype.org:443 [oss.sonatype.org/207.223.241.93] failed:
>> Connection refused and 'parent.relativePath' points at no local POM @
>> line 16, column 13 -> [Help 2]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
>> [ERROR] [Help 2]
>> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
>>
>>
>> =========
>>
>> Any tips on what I'm doing wrong? I've got it running on my own dev
>> machine, but I need to be able to start on a clean machine.
>>
>> regs
>> Vivek
>>
>>
>>
>>
>>
>> _______________________________________________
>> GraphHopper mailing list
>> GraphHopper at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/graphhopper
>
>
>_______________________________________________
>GraphHopper mailing list
>GraphHopper at openstreetmap.org
>https://lists.openstreetmap.org/listinfo/graphhopper



More information about the GraphHopper mailing list