<div dir="ltr">Hi there,<div><br></div><div>I'm planning to using graphhopper to do a demo android app for map view and started out yesterday with the wiki.</div><div><br></div><div>Unlucky me, I got stuck with some errors when following the instructions. Hope you guys can help me out of this.</div>
<div><br></div><div>Here is the thing:</div><div>OS - Ubuntu 12.04</div><div>HardDrive - 40G</div><div>RAM - 2G</div><div>Eclipse - ADT Bundle (from Google Android developers site) </div><div>Steps:</div><div>1.$ git clone git://<a href="http://github.com/graphhopper/graphhopper.git">github.com/graphhopper/graphhopper.git</a> graphhopper</div>
<div>2.$ cd graphhopper</div><div>3.download map data of japan manually from <a href="http://download.geofabric.de">download.geofabric.de</a> and extract it to a .osm file</div><div><div>4.$ ./graphhopper.sh import japan-latest.osm </div>
<div>## using java 1.7.0_25 from /opt/jdk1.7.0_25/</div><div>## using existing osm file japan-latest.osm</div><div>./graphhopper.sh: line 65: mvn: command not found</div><div>## now building graphhopper jar: core/target/graphhopper-0.2-SNAPSHOT-jar-with-dependencies.jar</div>
<div>## using maven at ./maven</div><div>## compilation failed</div><div>[INFO] Scanning for projects...</div><div>Downloading: <a href="http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom">http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom</a></div>
<div>[ERROR] The build could not read 1 project -> [Help 1]</div><div>[ERROR] </div><div>[ERROR] The project com.graphhopper:graphhopper:0.2-SNAPSHOT (/opt/simonlab/graphhopper/./core/pom.xml) has 1 error</div><div>
[ERROR] Non-resolvable parent POM for com.graphhopper:graphhopper-parent:0.2-SNAPSHOT: Could not transfer artifact org.sonatype.oss:oss-parent:pom:7 from/to central (<a href="http://repo.maven.apache.org/maven2">http://repo.maven.apache.org/maven2</a>): <a href="http://repo.maven.apache.org">repo.maven.apache.org</a>: Name or service not known and 'parent.relativePath' points at wrong local POM @ com.graphhopper:graphhopper-parent:0.2-SNAPSHOT, /opt/simonlab/graphhopper/pom.xml, line 16, column 13: Unknown host <a href="http://repo.maven.apache.org">repo.maven.apache.org</a>: Name or service not known -> [Help 2]</div>
<div>[ERROR] </div><div>[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.</div><div>[ERROR] Re-run Maven using the -X switch to enable full debug logging.</div><div>[ERROR] </div><div>[ERROR] For more information about the errors and possible solutions, please read the following articles:</div>
<div>[ERROR] [Help 1] <a href="http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException">http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException</a></div><div>[ERROR] [Help 2] <a href="http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException">http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException</a></div>
</div><div><br></div><div>Any tips or hints to shed on this?</div><div><br></div><div>Thanks!</div><div><div><br></div><div>Cheers,</div>-- <br>Simon gong</div><div>Enjoy Work, Enjoy Life<br>
</div></div>