Hola Alain, Mientras se soluciona el problema puedes probar lo siguiente:
mvn install -Dmaven.test.failure.ignore eso debería compilar los tests pero si hay alguno falla lo ignora y continua. Un Saludo, Rafa. 2009/7/6 Alain Tamayo <[email protected]>: > Hola, > Al intentar compilar el código de gvSIG 2.0 descargado del SVN público > ejecutando mvn-install me da el siguiente problema: > [artifact:mvn] Results : > [artifact:mvn] Tests in error: > [artifact:mvn] > testResourceChangeNotification(org.gvsig.fmap.dal.store.shp.TestSHP) > [artifact:mvn] Tests run: 68, Failures: 0, Errors: 1, Skipped: 0 > [artifact:mvn] [INFO] > ------------------------------------------------------------------------ > [artifact:mvn] [ERROR] BUILD FAILURE > [artifact:mvn] [INFO] > ------------------------------------------------------------------------ > [artifact:mvn] [INFO] There are test failures. > [artifact:mvn] Please refer to > D:\gvSOSProject\gvSIG-2.0\libFMap_dalfile\target\surefire-reports for the > individual test results. > Adjunto los archivos txt y xml que aparecen en el camino de la última > línea. > También he intentado compilar sin los tests y en ese caso me da el siguiente > error: > Downloading: > http://downloads.gvsig.org/pub/gvSIG-desktop/maven-repository/org/gvsig/org.gvsig.raster/2.0-SNAPSHOT/org.gvsig.raster-2.0-SNAPSHOT-tests.jar > [artifact:mvn] [INFO] > ------------------------------------------------------------------------ > [artifact:mvn] [ERROR] BUILD ERROR > [artifact:mvn] [INFO] > ------------------------------------------------------------------------ > [artifact:mvn] [INFO] Failed to resolve artifact. > [artifact:mvn] Missing: > [artifact:mvn] ---------- > [artifact:mvn] 1) org.gvsig:org.gvsig.raster:jar:tests:2.0-SNAPSHOT > [artifact:mvn] Try downloading the file manually from the project website. > [artifact:mvn] Then, install it using the command: > [artifact:mvn] mvn install:install-file -DgroupId=org.gvsig > -DartifactId=org.gvsig.raster -Dversion=2.0-SNAPSHOT -Dclassifier=tests > -Dpackaging=jar -Dfile=/path/to/file > [artifact:mvn] Alternatively, if you host your own repository you can > deploy the file there: > [artifact:mvn] mvn deploy:deploy-file -DgroupId=org.gvsig > -DartifactId=org.gvsig.raster -Dversion=2.0-SNAPSHOT -Dclassifier=tests > -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > [artifact:mvn] Path to dependency: > [artifact:mvn] 1) org.gvsig:org.gvsig.raster.io:jar:2.0-SNAPSHOT > [artifact:mvn] 2) org.gvsig:org.gvsig.raster:jar:tests:2.0-SNAPSHOT > [artifact:mvn] ---------- > [artifact:mvn] 1 required artifact is missing. > [artifact:mvn] for artifact: > [artifact:mvn] org.gvsig:org.gvsig.raster.io:jar:2.0-SNAPSHOT > [artifact:mvn] from the specified remote repositories: > [artifact:mvn] gvsig-public-http-repository > (http://downloads.gvsig.org/pub/gvSIG-desktop/maven-repository), > [artifact:mvn] central (http://repo1.maven.org/maven2) > ¿Alguien me puede ayudar? :-( > Saludos > Alain > pd. Se me olvidaba, estoy usando Windows XP SP2 > ________________________________ > ¡Obtén la mejor experiencia en la web! > Descarga gratis el nuevo Internet Explorer 8 > http://downloads.yahoo.com/ieak8/?l=e1 > ________________________________ > ¡Obtén la mejor experiencia en la web! > Descarga gratis el nuevo Internet Explorer 8 > http://downloads.yahoo.com/ieak8/?l=e1 > _______________________________________________ > gvSIG_desarrolladores mailing list > [email protected] > http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_desarrolladores > > -- Rafael Gaitán Linares Instituto de Automática e Informática Industrial http://www.ai2.upv.es Ciudad Politécnica de la Innovación Universidad Politécnica de Valencia _______________________________________________ gvSIG_desarrolladores mailing list [email protected] http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_desarrolladores
