I have a failure building GeoTools trunk with a clean maven local repo.
Workaround: copy from an old local repo.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.h2database:h2:jar:1.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.h2database -DartifactId=h2
-Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.h2database -DartifactId=h2
-Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1) org.geotools:gt-imagemosaic-jdbc:jar:2.6-SNAPSHOT
2) org.h2database:h2:jar:1.0-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.geotools:gt-imagemosaic-jdbc:jar:2.6-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
osgeo (http://download.osgeo.org/webdav/geotools/),
maven2-repository.dev.java.net (http://download.java.net/maven/2),
geotools (http://maven.geotools.fr/repository)
--
Ben Caradoc-Davies <[email protected]>
Software Engineer, CSIRO Exploration and Mining
Australian Resources Research Centre
26 Dick Perry Ave, Kensington WA 6151, Australia
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel