<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 Andrey,<br>
<br>
the routing service is available offline but you still need the
online map! For Android we've mapsforge which produces offline
maps. And for the desktop we could use an old version of mapsforge
(or in some months 0.4 of it) but I cannot do this due to lack of
time at the moment (your contributions is welcome via pull request
though :)) !<br>
<br>
Regarding your issue: after one successful build with maven (with
internet) you can try to put "-o" on the command line (offline
mode) and the disconnect the internet + restart.<br>
See <a class="moz-txt-link-freetext" href="http://stackoverflow.com/q/7233328/194609">http://stackoverflow.com/q/7233328/194609</a><br>
<br>
Regards,<br>
Peter.<br>
<br>
</div>
<blockquote cite="mid:1370005188.891866396@f302.mail.ru" type="cite">
In my project I want to use web server without internet. So I've
got : 1 Virtual machine with internet and one without internet.
On first VM I run GH-web server one time with internet and after
that it starts without net. I copy GH-web server project from
first machine(it works in offline) and starting in offline on
second machine. And it try's to download files. What files should
I download from first machine or previously download from internet
to start web server without internet at all. <br>
<br>
<br>
<br>
<p>andrey@ubuntu:~/graphhopper-master$ ./graphhopper.sh web
pskov.osm<br>
## using java 1.7.0_21 (64bit) from /usr/lib/jvm/jdk1.7.0_21<br>
## using existing osm file pskov.osm<br>
## existing jar found
core/target/graphhopper-0.1-SNAPSHOT-jar-with-dependencies.jar<br>
## now web. JAVA_OPTS=-XX:PermSize=300m -XX:MaxPermSize=300m
-XX:-UseGCOverheadLimit -Xmx1500m -Xms1500m<br>
*********************ALL MUST WORK*******************<br>
[INFO] Scanning for projects...<br>
Downloading:
<a class="moz-txt-link-freetext" 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><br>
[ERROR] The build could not read 1 project -> [Help 1]<br>
[ERROR] <br>
[ERROR] The project com.graphhopper:graphhopper-web:0.1-SNAPSHOT
(/home/andrey/graphhopper-master/./web/pom.xml) has 1 error<br>
[ERROR] Non-resolvable parent POM for
com.graphhopper:graphhopper-parent:0.1-SNAPSHOT: Could not
transfer artifact org.sonatype.oss:oss-parent:pom:7 from/to
central (<a class="moz-txt-link-freetext" href="http://repo.maven.apache.org/maven2">http://repo.maven.apache.org/maven2</a>):
repo.maven.apache.org: Name or service not known and
'parent.relativePath' points at wrong local POM @
com.graphhopper:graphhopper-parent:0.1-SNAPSHOT,
/home/andrey/graphhopper-master/pom.xml, line 16, column 13:
Unknown host repo.maven.apache.org: Name or service not known
-> [Help 2]<br>
[ERROR] <br>
[ERROR] To see the full stack trace of the errors, re-run Maven
with the -e switch.<br>
[ERROR] Re-run Maven using the -X switch to enable full debug
logging.<br>
[ERROR] <br>
[ERROR] For more information about the errors and possible
solutions, please read the following articles:<br>
[ERROR] [Help 1]
<a class="moz-txt-link-freetext" href="http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException">http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException</a><br>
[ERROR] [Help 2]
<a class="moz-txt-link-freetext" href="http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException">http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException</a><br>
</p>
<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>
<br>
<pre class="moz-signature" cols="72">--
GraphHopper.com Your way is our destination!</pre>
</body>
</html>