Hi João,

It seems like there was a test failure in the main module. The failed test
should have showed up in your build output before the reactor summary, can
you provide the output? Thanks.

-Justin

On Mon, Jul 2, 2012 at 10:09 AM, João Duarte <[email protected]> wrote:

> Hi all,
>
> I'm trying to build GeoServer for the first time but can't get a
> successful build.
>
> I've followed the steps in the developers guide and after installing
> all the tools and getting the source code from trunk and trying "mvn
> clean install", the build fails.
>
> Is this happening to anyone else?
>
> Here's the build report:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] GeoServer ......................................... SUCCESS
> [54.693s]
> [INFO] Core Platform Module .............................. SUCCESS [9.181s]
> [INFO] Open Web Service Module ........................... SUCCESS
> [12.438s]
> [INFO] Main Module ....................................... SUCCESS
> [4:11.383s]
> [INFO] Web Feature Service Module ........................ FAILURE
> [5:18.598s]
> [INFO] Web Coverage Service Module ....................... SKIPPED
> [INFO] Web Map Service Module ............................ SKIPPED
> [INFO] GeoServer Web Modules ............................. SKIPPED
> [INFO] Core UI Module .................................... SKIPPED
> [INFO] Security UI Module ................................ SKIPPED
> [INFO] GeoServer Security Modules ........................ SKIPPED
> [INFO] GeoServer CAS Security Module ..................... SKIPPED
> [INFO] GeoServer JDBC Security Module .................... SKIPPED
> [INFO] GeoServer LDAP Security Module .................... SKIPPED
> [INFO] Web Coverage Service 1.0 Module ................... SKIPPED
> [INFO] Web Coverage Service 1.1 Module ................... SKIPPED
> [INFO] GeoWebCache (GWC) Module .......................... SKIPPED
> [INFO] REST Support Module ............................... SKIPPED
> [INFO] REST Configuration Service 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] GeoServer Web Application ......................... SKIPPED
> [INFO] Community Space ................................... SKIPPED
> [INFO] GeoServer Extensions .............................. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 10:47.477s
> [INFO] Finished at: Mon Jul 02 17:01:42 BST 2012
> [INFO] Final Memory: 16M/45M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.10:test
> (default-test) on project w
> fs: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> D:\Projects\GeoServer\geoserver-trunk\src\wfs\target\surefire-reports
> for the individual te
> st results.
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute goal org.apache.maven.plugins:maven-suref
> ire-plugin:2.10:test (default-test) on project wfs: There are test
> failures.
>
> Please refer to
> D:\Projects\GeoServer\geoserver-trunk\src\wfs\target\surefire-reports
> for the individual test resul
> ts.
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>         at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>         at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>         at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>         at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are
> test failures.
>
> Please refer to
> D:\Projects\GeoServer\geoserver-trunk\src\wfs\target\surefire-reports
> for the individual test resul
> ts.
>         at
> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:87)
>         at
> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:641)
>         at
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:615)
>         at
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireM
> ojo.java:137)
>         at
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
>         at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>         ... 19 more
> [ERROR]
> [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 read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
>
> --
> João
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>



-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to