Hi devs,
geoserver-1.4.x_merge_wcs from svn depends on geotools-2.3.0-RC1-SNAPSHOT which is not (yet) available from the geotools m2 repo. See the following error on mvn compile:
vincent@anonymised.com /usr/local/src/geoserver-1.4.x_merge_wcs $ mvn compile
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] GeoServer
[INFO] Core Platform Module
[INFO] Data Module
[INFO] Main Module
[INFO] Web Coverage Service Module
[INFO] Validation Module
[INFO] Web Feature Service Module
[INFO] Web Map Service Module
[INFO] GeoServer Maven Plugins
[INFO] Configuration Deployment PlugIn
[INFO] Web Application Module
[INFO] Artifact Merger PlugIn
[INFO] Test Module
[INFO] ----------------------------------------------------------------------------
[INFO] Building GeoServer
[INFO] task-segment: [compile]
[INFO] ----------------------------------------------------------------------------
[INFO] No goals needed for project - skipping
[INFO] ----------------------------------------------------------------------------
[INFO] Building Core Platform Module
[INFO] task-segment: [compile]
[INFO] ----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://lists.refractions.net/m2//org/geotools/gt2-main/2.3.0-RC1-SNAPSHOT/gt2-main-2.3.0-RC1-SNAPSHOT.pom
[WARNING] Unable to get resource from repository refractions (http://lists.refractions.net/m2/)
Downloading: http://lists.refractions.net/m2//org/geotools/gt2-api/2.3.0-RC1-SNAPSHOT/gt2-api-2.3.0-RC1-SNAPSHOT.pom
[WARNING] Unable to get resource from repository refractions (http://lists.refractions.net/m2/)
Downloading: http://lists.refractions.net/m2//org/geotools/gt2-api/2.3.0-RC1-SNAPSHOT/gt2-api-2.3.0-RC1-SNAPSHOT.jar
[WARNING] Unable to get resource from repository refractions (http://lists.refractions.net/m2/)
Downloading: http://lists.refractions.net/m2//org/geotools/gt2-main/2.3.0-RC1-SNAPSHOT/gt2-main-2.3.0-RC1-SNAPSHOT.jar
[WARNING] Unable to get resource from repository refractions (http://lists.refractions.net/m2/)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.geotools:gt2-api:jar:2.3.0-RC1-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.geotools -DartifactId=gt2-api \
-Dversion=2.3.0-RC1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) org.geoserver:platform:jar:1.4.0-M2-WCS
2) org.geotools:gt2-api:jar:2.3.0-RC1-SNAPSHOT
2) org.geotools:gt2-main:jar:2.3.0-RC1-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.geotools -DartifactId=gt2-main \
-Dversion=2.3.0-RC1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) org.geoserver:platform:jar:1.4.0-M2-WCS
2) org.geotools:gt2-main:jar:2.3.0-RC1-SNAPSHOT
----------
2 required artifacts are missing.
for artifact:
org.geoserver:platform:jar:1.4.0-M2-WCS
from the specified remote repositories:
espace (http://maven.espace.ird.nc),
geotools (http://maven.geotools.fr/repository/),
mortbay (http://www.mortbay.org/maven2/release),
refractions (http://lists.refractions.net/m2/),
central (http://repo1.maven.org/maven2),
ibiblio (http://www.ibiblio.org/maven2)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Thu Oct 12 13:54:51 CEST 2006
[INFO] Final Memory: 9M/21M
[INFO] ------------------------------------------------------------------------
I checked the geotools repo manually and these jars are indeed missing.
Cheers,
Vincent.