[GraphHopper] Problems with maven/mapsforge

Peter K peathal at yahoo.de
Sun Dec 15 10:39:33 UTC 2013


Hi Ignas,

would you mind to try on the command line first? Go into the root folder
(not core or android) and type:

mvn clean install

But from the failure it looks like the jar was not automatically built
inside Eclipse (or whatever). Maybe the command line procedure fixes
this (as it should produce all necessary jars and install them into your
local maven repository). If not, you should really think about switching
the IDE ;) as e.g. in NetBeans you just open the project and click
'Clean&Build'. Or ask here again if it still does not work.

Regards,
Peter.

> Hello,
>
> I've imported source code as Android project, then followed
> this https://lists.openstreetmap.org/pipermail/graphhopper/2013-November/000501.html
> but it still does not work. 
>
> I think, I have some problems with mapsforge installation because when
> I try /mvn clean install/ or /mvn eclipse:eclipse/ at the root of
> 'android' folder, it gives me back this error: 
>
> Failed to execute goal on project graphhopper-android: Could not
> resolve dependencies for project
> com.graphhopper:graphhopper-android:apk:0.3-SNAPSHOT: Failure to find
> com.graphhopper:graphhoper-parent:jar:0.3-SNAPSHOT in
> https://oss.sonatype.org/content/repositories/snapshots <...>
>
> I don't know if this is related but I also see errors at pom.xml
> (android folder) - see attached images.
>
> I'm absolutely new to Maven, so could you help me out with how should
> I build/add everything after i've imported source files and converted
> 'core' and 'android' projects to Java Facet and Maven?
>
> Thank you for your help,
>
> ----------------------
>
> Ignas Kapoc(ius
>
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20131215/22b35ad9/attachment.html>


More information about the GraphHopper mailing list