Hi:
I found that the test of org.geoserver.config.GeoServerPersisterTest often failure when I run the maven command.
I look into the sources codes and I noticed that "File ws = new File( testData.getDataDirectoryRoot(), “workspaces/acme” );".
So I wonder the failure is caused by the lack of some files? Should I create them manully?
2010/1/30 maven apache <apachemaven0@anonymised.com>
Hi:
I found that the test of org.geoserver.config.GeoServerPersisterTest often failure when I run the maven command.
I look into the sources codes and I noticed that "File ws = new File( testData.getDataDirectoryRoot(), “workspaces/acme” );".
So I wonder the failure is caused by the lack of some files? Should I create them manully?
Also , if I skip the test, the whole project can not be built since the main-test.2.01.jar is need by the other module.
So, how ?
maven apache ha scritto:
2010/1/30 maven apache <apachemaven0@anonymised.com <mailto:apachemaven0@anonymised.com>>
Hi:
I found that the test of org.geoserver.config.GeoServerPersisterTest
often failure when I run the maven command.
I look into the sources codes and I noticed that "*File ws = new
File( testData.getDataDirectoryRoot(), "workspaces/acme" );".
*So I wonder the failure is caused by the lack of some files? Should
I create them manully?Also , if I skip the test, the whole project can not be built since the main-test.2.01.jar is need by the other module.\
I don't know about the first failure, never experienced it,
but for the second issue use -DskipTests=true, the old -Dmaven.test.skip=true is supported only for backwards compatibility:
http://maven.apache.org/plugins/maven-surefire-plugin/examples/skipping-test.html
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.