From: Andrea A. <aa...@op...> - 2010-05-17 15:46:09
|
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 -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. |