<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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
cite="mid:CANtuf_mL1gF_9iBo5ek85+Jdb5pfNYmGkoG3g7+3CjpX8pE-4w@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true"
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
moz-do-not-send="true" 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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://repo.maven.apache.org/maven2">http://repo.maven.apache.org/maven2</a>):
<a moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException">http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException</a></div>
<div>[ERROR] [Help 2] <a moz-do-not-send="true"
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/listinfo/graphhopper">http://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
</blockquote>
<br>
</body>
</html>