[GraphHopper] Problems with maven/mapsforge
Ignas Kapočius
kapocius.ignas at gmail.com
Sun Dec 15 22:55:08 UTC 2013
Tried running *mvn clean install* at the root folder - got the same 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:jar:0.3-SNAPSHOT in
https://oss.sonatype.org/content/repositories/snapshots was cached in the
local repository"
Then I've installed Netbeans (7.4), re-downloaded graphopper-master project
(in case I've made some changes) and did yours "in NetBeans you just open
the project and click 'Clean&Build'". Got the same error (see attachment).
Or should I follow those three steps from
https://github.com/graphhopper/graphhopper/wiki/Android for Netbeans
(though it also gives some errors when trying to install mvn)?
I was also wondering - could it because there aren't actually those
necessary .jar's in https://oss.sonatype.org/<..> - filenames are different
and maybe Maven just can't actually find it?
----------------------
Ignas Kapočius
2013/12/15 Peter K <peathal at yahoo.de>
> 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 Kapočius
>
>
>
> _______________________________________________
> GraphHopper mailing listGraphHopper at openstreetmap.orghttps://lists.openstreetmap.org/listinfo/graphhopper
>
>
>
> _______________________________________________
> 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/20131216/38f3a4e3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2013-12-16 at 12.45.51 AM.png
Type: image/png
Size: 125273 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20131216/38f3a4e3/attachment.png>
More information about the GraphHopper
mailing list