[Geoserver-devel] error build 1.4.x

Hi,

I just checked out geoserver 1.4.x branch and am building it with maven 2. Simple mvn install command. It fails to build Web Map Service Module. It seems there are no tests therefore it just up and fails. Should we add a test so that it will build? Or is there another command I should be using?

Here's the error:

[INFO] ----------------------------------------------------------------------------
[INFO] Building GeoServer Web Map Service Module
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] While downloading itext:itext:1.3
   This artifact has been relocated to com.lowagie:itext:1.3.

[INFO] [compiler:compile]
Compiling 81 source files to /Users/Jesse/Development/repo/geoserver/1.4.x/wms/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] No Java test frameworks found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14 seconds
[INFO] Finished at: Thu Jun 01 12:34:46 PDT 2006
[INFO] Final Memory: 12M/38M
[INFO] ------------------------------------------------------------------------

Should be fixed now. Issue with the surefire plugin (who would have thought).

-Justin

Jesse Eichar wrote:

Hi,

I just checked out geoserver 1.4.x branch and am building it with maven 2. Simple mvn install command. It fails to build Web Map Service Module. It seems there are no tests therefore it just up and fails. Should we add a test so that it will build? Or is there another command I should be using?

Here's the error:

[INFO] ------------------------------------------------------------------------ ----
[INFO] Building GeoServer Web Map Service Module
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------ ----
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] While downloading itext:itext:1.3
   This artifact has been relocated to com.lowagie:itext:1.3.

[INFO] [compiler:compile]
Compiling 81 source files to /Users/Jesse/Development/repo/geoserver/ 1.4.x/wms/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] No Java test frameworks found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14 seconds
[INFO] Finished at: Thu Jun 01 12:34:46 PDT 2006
[INFO] Final Memory: 12M/38M
[INFO] ------------------------------------------------------------------------

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

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Justin Deoliveira ha scritto:

Should be fixed now. Issue with the surefire plugin (who would have thought).

Make sure to do a mvn clean before trying to rebuild, since an emtpy
test class has been removed, and the .class file needs to be removed as well
Cheers
Andrea