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
>

------------------------------------------------------------------------------
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

Reply via email to