Hi,
today downloads.osgeo.org is down, this will cause paver build
and paver host commands to take forever as the connection hangs
trying to get artifacts from the maven osgeo repo.
The following patch makes it work anyways by putting
maven in offline mode.
Hope this helps (and hope the osgeo repo will come back, too!)
Cheers
Andrea
diff --git a/pavement.py b/pavement.py
index 5b92df4..ffafe78 100644
--- a/pavement.py
+++ b/pavement.py
@@ -194,7 +194,7 @@ def setup_gs_data(options):
def setup_geoserver(options):
"""Prepare a testing instance of GeoServer."""
with pushd('src/geoserver-geonode-ext'):
- sh("mvn clean install")
+ sh("mvn clean install -o")
@task
def setup_geonetwork(options):
@@ -588,7 +588,7 @@ def host(options):
"-XX:MaxPermSize=128m"
])
mvn = subprocess.Popen(
- ["mvn", "jetty:run"],
+ ["mvn", "jetty:run", "-o"],
stdout=jettylog,
stderr=jettylog
)
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.