Ran into this one my self a while back. And +1 on standardizing h2 version.
On 10-05-17 9:46 AM, Andrea Aime wrote: > Hi, > looking at the build scroll by I've noticed this: > > [INFO] Copying 1 resource > Downloading: > http://download.java.net/maven/2/org/h2database/h2/1.0-SNAPSHOT/h2-1.0-SNAPSHOT.pom > [INFO] Unable to find resource 'org.h2database:h2:pom:1.0-SNAPSHOT' in > repository maven2-repository.dev.java.net (http://download.java.net/maven/2) > Downloading: > http://download.osgeo.org/webdav/geotools//org/h2database/h2/1.0-SNAPSHOT/h2-1.0-SNAPSHOT.pom > [INFO] Unable to find resource 'org.h2database:h2:pom:1.0-SNAPSHOT' in > repository osgeo (http://download.osgeo.org/webdav/geotools/) > Downloading: > http://repo.opengeo.org/org/h2database/h2/1.0-SNAPSHOT/h2-1.0-SNAPSHOT.pom > [INFO] Unable to find resource 'org.h2database:h2:pom:1.0-SNAPSHOT' in > repository opengeo (http://repo.opengeo.org) > Downloading: > http://download.java.net/maven/2/org/h2database/h2/1.0-SNAPSHOT/h2-1.0-SNAPSHOT.pom > [INFO] Unable to find resource 'org.h2database:h2:pom:1.0-SNAPSHOT' in > repository maven2-repository.dev.java.net (http://download.java.net/maven/2) > Downloading: > http://download.osgeo.org/webdav/geotools//org/h2database/h2/1.0-SNAPSHOT/h2-1.0-SNAPSHOT.pom > [INFO] Unable to find resource 'org.h2database:h2:pom:1.0-SNAPSHOT' in > repository osgeo (http://download.osgeo.org/webdav/geotools/) > Downloading: > http://repo.opengeo.org/org/h2database/h2/1.0-SNAPSHOT/h2-1.0-SNAPSHOT.pom > [INFO] Unable to find resource 'org.h2database:h2:pom:1.0-SNAPSHOT' in > repository opengeo (http://repo.opengeo.org) > [INFO] [compiler:compile {execution: default-compile}] > [INFO] Nothing to compile - all classes are up to date > [INFO] [resources:testResources {execution: default-testResources}] > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 5 resources > Downloading: > http://download.java.net/maven/2/org/h2database/h2/1.0-SNAPSHOT/h2-1.0-SNAPSHOT.pom > [INFO] Unable to find resource 'org.h2database:h2:pom:1.0-SNAPSHOT' in > repository maven2-repository.dev.java.net (http://download.java.net/maven/2) > Downloading: > http://download.osgeo.org/webdav/geotools//org/h2database/h2/1.0-SNAPSHOT/h2-1.0-SNAPSHOT.pom > > > Hummm... odd? Shouldn't all modules use the same version of the H2 > dependency, as reported in the root module? > > By removing the version number in the module's POM the tests do work > fine anyways, mvn dependency:tree informs me the module ends up using > > [INFO] +- org.h2database:h2:jar:1.1.104:test > > Cheers > Andrea > -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. ------------------------------------------------------------------------------ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel