[GraphHopper] [graphhopper android] Error with setting up development
Alexandre Vallette
alexandre.vallette at snips.net
Thu Aug 29 08:25:35 UTC 2013
hi
sorry this as nothing to do with the conversation but i cannot find the way
to unsubscribe from graphhopper mailing list. Could you help me?
thanks
On Thu, Aug 29, 2013 at 10:21 AM, Peter K <peathal at yahoo.de> wrote:
> Hi Simon,
>
> which maven version are you using? I've now tried it with a clean maven
> repository to really ensure it works for new users.
>
> Could you try just again? Probalbly just the maven central or sonatype
> repo was down (?)
>
> Regards,
> Peter.
>
> Hi there,
>
> I'm planning to using graphhopper to do a demo android app for map view
> and started out yesterday with the wiki.
>
> Unlucky me, I got stuck with some errors when following the
> instructions. Hope you guys can help me out of this.
>
> Here is the thing:
> OS - Ubuntu 12.04
> HardDrive - 40G
> RAM - 2G
> Eclipse - ADT Bundle (from Google Android developers site)
> Steps:
> 1.$ git clone git://github.com/graphhopper/graphhopper.git graphhopper
> 2.$ cd graphhopper
> 3.download map data of japan manually from download.geofabric.de and
> extract it to a .osm file
> 4.$ ./graphhopper.sh import japan-latest.osm
> ## using java 1.7.0_25 from /opt/jdk1.7.0_25/
> ## using existing osm file japan-latest.osm
> ./graphhopper.sh: line 65: mvn: command not found
> ## now building graphhopper jar:
> core/target/graphhopper-0.2-SNAPSHOT-jar-with-dependencies.jar
> ## using maven at ./maven
> ## compilation failed
> [INFO] Scanning for projects...
> Downloading:
> http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR] The project com.graphhopper:graphhopper:0.2-SNAPSHOT
> (/opt/simonlab/graphhopper/./core/pom.xml) has 1 error
> [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 (
> http://repo.maven.apache.org/maven2): repo.maven.apache.org: 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
> repo.maven.apache.org: Name or service not known -> [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 or hints to shed on this?
>
> Thanks!
>
> Cheers,
> --
> Simon gong
> Enjoy Work, Enjoy Life
>
>
> _______________________________________________
> GraphHopper mailing listGraphHopper at openstreetmap.orghttp://lists.openstreetmap.org/listinfo/graphhopper
>
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/graphhopper
>
>
--
--
Dr Alexandre Vallette, PhD
SNIPS
co-founder
+ 33 (0) 6 71358943
alexandre.vallette at snips.net
skype: vallettea
linkedIn: fr.linkedin.com/in/vallettea/
twitter: @vallettea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130829/564dd897/attachment.html>
More information about the GraphHopper
mailing list