The version of H2 used by geotoosl should be 1.1.104. Looking into the issue I found that imagemosaic-jdbc declares its own version of h2, which is why you are running into that issue.
I believe that imagemosaic-jdbc should remove the explicit version declaration and delegate to the one declared in the root pom.xml. Christian: any objections? -Justin Ben Caradoc-Davies wrote: > Jody, > > I have uploaded org.h2database:h2:jar:1.0-SNAPSHOT from my local repo to > the osgeo repo (this looked like the only one in your list enabled in > the current build). > > Kind regards, > Ben. > > > Jody Garnett wrote: >> Hi Ben; can you deploy the missing jar? There are instructions in the >> developers guide about deploying a 3rd party jar: >> - http://docs.codehaus.org/display/GEOT/How+to+add+a+3rd+party+jar >> >> We are in a bit of a muddle with respect to repositories right now - >> here is what I have been able to figure out: >> - refractions repository: no longer used. Well udig developers working >> on GeoTools 2.2.x still use it >> - geomatys repository: no longer used? Well udig developers in europe >> use it for GeoTools 2.2.x work >> - opengeo repository: used by Hudson for continuous builds; and should >> probably be the default for trunk and/or 2.6-SNAPSHOT work >> - osgeo repository: should be used as our target when we deploy >> geotools releases >> >> For a while there was an rsync set up between refractions and geomatys >> repositories; I am not sure about uploading 3rd party jars to the >> opengeo repository. >> >> Jody >> >> On Mon, Apr 20, 2009 at 1:32 PM, Ben Caradoc-Davies >> <[email protected]> wrote: >>> 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 >>> > > -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. ------------------------------------------------------------------------------ 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
