[Geoserver-devel] Error when I build with maven

Hi all, when I try to build with maven (mvn clean install) I get the following results:

Results :

Failed tests: testSingleBandedCoverage(org.geoserver.catalog.impl.CatalogBuild
erTest): expected:<1> but was:<0>

Tests run: 571, Failures: 1, Errors: 0, Skipped: 1

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoServer … SUCCESS [ 22.771 s]
[INFO] Core Platform Module … SUCCESS [ 44.342 s]
[INFO] Open Web Service Module … SUCCESS [01:21 min]
[INFO] Main Module … FAILURE [05:46 min]
[INFO] GeoServer Security Modules … SKIPPED
[INFO] GeoServer JDBC Security Module … SKIPPED
[INFO] GeoServer LDAP Security Module … SKIPPED
[INFO] Web Coverage Service Module … SKIPPED
[INFO] Web Coverage Service 1.0 Module … SKIPPED
[INFO] Web Coverage Service 1.1 Module … SKIPPED
[INFO] Web Coverage Service 2.0 Module … SKIPPED
[INFO] Web Feature Service Module … SKIPPED
[INFO] Web Map Service Module … SKIPPED
[INFO] KML support for GeoServer … SKIPPED
[INFO] GeoWebCache (GWC) Module … SKIPPED
[INFO] REST Support Module … SKIPPED
[INFO] REST Configuration Service Module … SKIPPED
[INFO] GeoServer Web Modules … SKIPPED
[INFO] Core UI Module … SKIPPED
[INFO] WMS UI Module … SKIPPED
[INFO] GWC UI Module … SKIPPED
[INFO] WFS UI Module … SKIPPED
[INFO] Demoes Module … SKIPPED
[INFO] WCS UI Module … SKIPPED
[INFO] Security UI Modules … SKIPPED
[INFO] Security UI Core Module … SKIPPED
[INFO] Security UI JDBC Module … SKIPPED
[INFO] Security UI LDAP Module … SKIPPED
[INFO] REST UI Module … SKIPPED
[INFO] GeoServer Web Application … SKIPPED
[INFO] Community Space … SKIPPED
[INFO] GeoServer Extensions … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:17 min
[INFO] Finished at: 2014-06-28T21:24:22-06:00
[INFO] Final Memory: 53M/157M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.
12.3:test (default-test) on project gs-main: There are test failures.
[ERROR]
[ERROR] Please refer to C:\geoserver\src\main\target\surefire-reports for the in
dividual test results.
[ERROR] → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR] mvn -rf :gs-main

Could guide me a bit to find the cause of the error, thanks.nks.

Have any more details on your environment?

mvn -version should do the trick.

···

Jody Garnett

On Sun, Jun 29, 2014 at 1:04 PM, luis enrique bustamante aragón <sco351@anonymised.com> wrote:

Hi all, when I try to build with maven (mvn clean install) I get the following results:

Results :

Failed tests: testSingleBandedCoverage(org.geoserver.catalog.impl.CatalogBuild
erTest): expected:<1> but was:<0>

Tests run: 571, Failures: 1, Errors: 0, Skipped: 1

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoServer … SUCCESS [ 22.771 s]
[INFO] Core Platform Module … SUCCESS [ 44.342 s]
[INFO] Open Web Service Module … SUCCESS [01:21 min]
[INFO] Main Module … FAILURE [05:46 min]
[INFO] GeoServer Security Modules … SKIPPED
[INFO] GeoServer JDBC Security Module … SKIPPED
[INFO] GeoServer LDAP Security Module … SKIPPED
[INFO] Web Coverage Service Module … SKIPPED
[INFO] Web Coverage Service 1.0 Module … SKIPPED
[INFO] Web Coverage Service 1.1 Module … SKIPPED
[INFO] Web Coverage Service 2.0 Module … SKIPPED
[INFO] Web Feature Service Module … SKIPPED
[INFO] Web Map Service Module … SKIPPED
[INFO] KML support for GeoServer … SKIPPED
[INFO] GeoWebCache (GWC) Module … SKIPPED
[INFO] REST Support Module … SKIPPED
[INFO] REST Configuration Service Module … SKIPPED
[INFO] GeoServer Web Modules … SKIPPED
[INFO] Core UI Module … SKIPPED
[INFO] WMS UI Module … SKIPPED
[INFO] GWC UI Module … SKIPPED
[INFO] WFS UI Module … SKIPPED
[INFO] Demoes Module … SKIPPED
[INFO] WCS UI Module … SKIPPED
[INFO] Security UI Modules … SKIPPED
[INFO] Security UI Core Module … SKIPPED
[INFO] Security UI JDBC Module … SKIPPED
[INFO] Security UI LDAP Module … SKIPPED
[INFO] REST UI Module … SKIPPED
[INFO] GeoServer Web Application … SKIPPED
[INFO] Community Space … SKIPPED
[INFO] GeoServer Extensions … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:17 min
[INFO] Finished at: 2014-06-28T21:24:22-06:00
[INFO] Final Memory: 53M/157M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.
12.3:test (default-test) on project gs-main: There are test failures.
[ERROR]
[ERROR] Please refer to C:\geoserver\src\main\target\surefire-reports for the in
dividual test results.
[ERROR] → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR] mvn -rf :gs-main

Could guide me a bit to find the cause of the error, thanks.nks.


Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel