<div dir="ltr">Hi Peter,<div><br></div><div>Just run it all over again but errors are stilll there. Here I attch a full logcat for your reference. Thanks for your time.</div><div><br></div><div><b>$git clone <a href="https://github.com/graphhopper/graphhopper.git">https://github.com/graphhopper/graphhopper.git</a></b> (#I modified the protocol from git to https, since my outgoing network has a proxy and don't support git.)<br>
</div><div><div><b>$./graphhopper.sh import asia_japan.osm</b></div><div>## using java 1.7.0_25 from /opt/jdk1.7.0_25/</div><div>File not found 'asia_japan.osm'. Press ENTER to get it from: <a href="http://download.geofabrik.de/asia/japan-latest.osm.bz2">http://download.geofabrik.de/asia/japan-latest.osm.bz2</a></div>
<div>Press CTRL+C if you do not have enough disc space or you don't want to download several MB.</div><div><br></div><div>## now downloading OSM file from <a href="http://download.geofabrik.de/asia/japan-latest.osm.bz2">http://download.geofabrik.de/asia/japan-latest.osm.bz2</a> and extracting to asia_japan.osm</div>
<div> HTTP/1.1 200 OK</div><div> Date: Fri, 30 Aug 2013 01:03:55 GMT</div><div> Server: Apache/2.2.22 (Ubuntu)</div><div> Last-Modified: Wed, 28 Aug 2013 18:25:13 GMT</div><div> ETag: "122d-51723097-4e5061c483dc1"</div>
<div> Accept-Ranges: bytes</div><div> Content-Type: application/x-bzip2</div><div> Content-Length: 1366438039</div><div> Connection: close</div><div>2013-08-30 11:24:22 URL:<a href="http://download.geofabrik.de/asia/japan-latest.osm.bz2">http://download.geofabrik.de/asia/japan-latest.osm.bz2</a> [1366438039/1366438039] -> "-" [1]</div>
<div><b>./graphhopper.sh: line 65: mvn: command not found</b></div><div><b>No Maven found in the PATH. Now downloading+installing it to ./maven</b></div><div>--2013-08-30 11:24:22-- <a href="http://www.eu.apache.org/dist/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.zip">http://www.eu.apache.org/dist/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.zip</a></div>
<div>Length: 5870668 (5.6M) [application/zip]</div><div>Saving to: `maven.zip'</div><div><br></div><div>100%[======================================>] 5,870,668 244K/s in 27s </div><div><br></div><div>2013-08-30 11:24:50 (213 KB/s) - `maven.zip' saved [5870668/5870668]</div>
<div><br></div><div><b>Archive: maven.zip</b></div><div><b> creating: apache-maven-3.0.5/</b></div><div> inflating: apache-maven-3.0.5/LICENSE.txt </div><div> inflating: apache-maven-3.0.5/NOTICE.txt </div><div> inflating: apache-maven-3.0.5/README.txt </div>
<div> creating: apache-maven-3.0.5/bin/</div><div> inflating: apache-maven-3.0.5/bin/m2.conf </div><div> inflating: apache-maven-3.0.5/bin/mvn.bat </div><div> inflating: apache-maven-3.0.5/bin/mvnDebug.bat </div><div>
inflating: apache-maven-3.0.5/bin/mvn </div><div> inflating: apache-maven-3.0.5/bin/mvnDebug </div><div> inflating: apache-maven-3.0.5/bin/mvnyjp </div><div> creating: apache-maven-3.0.5/conf/</div><div> inflating: apache-maven-3.0.5/conf/settings.xml </div>
<div> creating: apache-maven-3.0.5/lib/</div><div> creating: apache-maven-3.0.5/lib/ext/</div><div> inflating: apache-maven-3.0.5/lib/ext/README.txt </div><div> creating: apache-maven-3.0.5/boot/</div><div> extracting: apache-maven-3.0.5/boot/plexus-classworlds-2.4.jar </div>
<div> ...(#extrcting more lib here) </div><div>## <b>now building graphhopper jar: core/target/graphhopper-0.2-SNAPSHOT-jar-with-dependencies.jar</b></div><div>## using maven at ./maven</div><div>## compilation failed</div>
<div>[INFO] Scanning for projects...</div><div><b>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></b></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>I can't open '<a href="http://repo.maven.apache.org">repo.maven.apache.org</a>' in my browser because it seems that browsing is disabled. And it suggest view <a href="http://search.maven.org">http://search.maven.org</a> instead. No problem with <a href="http://search.maven.org">search.maven.org</a> here.</div>
<div><br></div><div>Any suggestions?</div><div><br></div><div>Thanks.</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/29 Peter K <span dir="ltr"><<a href="mailto:peathal@yahoo.de" target="_blank">peathal@yahoo.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi Simon,<br>
<br>
which maven version are you using? I've now tried it with a clean
maven repository to really ensure it works for new users.<br>
<br>
Could you try just again? Probalbly just the maven central or
sonatype repo was down (?)<br>
<br>
Regards,<br>
Peter.<br>
<br>
</div>
<blockquote type="cite"><div><div class="h5">
<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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">http://repo.maven.apache.org/maven2</a>):
<a href="http://repo.maven.apache.org" target="_blank">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" target="_blank">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" target="_blank">http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException</a></div>
<div>[ERROR] [Help 2] <a href="http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException" target="_blank">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>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
GraphHopper mailing list
<a href="mailto:GraphHopper@openstreetmap.org" target="_blank">GraphHopper@openstreetmap.org</a>
<a href="http://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">http://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">http://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br></blockquote></div><br>Cheers,<br clear="all"><div><br></div>-- <br>Simon Gong<br>Enjoy Work, Enjoy Life<br>
</div></div>