<div dir="ltr">Hi Peter,<div><br></div><div>I don't have maven locally. Graphhopper download it for me automatically when I excute the instruction from wiki page.</div><div><br></div><div>Thanks for your reply. I will try it tommorrow and catch you later.</div>
<div><br></div><div>Cheers,</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:0 0 0 .8ex;border-left:1px #ccc 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><br clear="all"><div><br></div>-- <br>Simon Gong<br>Enjoy Work, Enjoy Life<br>
</div></div>