-------- Original Message --------
Subject: Re: [Geoserver-devel] [ExternalEmail] Re: [Geotools-devel] Proposal to update to Maven 3
Date: Thu, 30 Jun 2011 10:21:50 +0800
From: Ben Caradoc-Davies
To: Justin Deoliveira
CC: geoserver-devel@lists.sourceforge.net, Andrea Aime
Justin,
with your patch, maven 3 build has a unit test failure in ows:
testHandleServiceExceptionCauses(org.geoserver.ows.DefaultServiceExceptionHandlerTest)
-------------------------------------------------------------------------------
Test set: org.geoserver.ows.DefaultServiceExceptionHandlerTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.274
sec <<< FAILURE!
testHandleServiceExceptionCauses(org.geoserver.ows.DefaultServiceExceptionHandlerTest)
Time elapsed: 0.223 sec <<< FAILURE!
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertTrue(Assert.java:27)
at
org.geoserver.ows.DefaultServiceExceptionHandlerTest.testHandleServiceExceptionCauses(DefaultServiceExceptionHandlerTest.java:102)
Kind regards,
Ben.
On 29/06/11 13:20, Justin Deoliveira wrote:
> Yeah, the geoserver build uses a custom plugin to copy over a data directory into the webapp. Its pretty outdated as it seems. A full blown plug-in is not really need for that, and actually it just complicates the build. Some inline ant with the antrun plugin in the web/app pom should do the same and be easier to maintain. So I attached a patch to GEOS-4652 that does just that.
>
> With that and a few other minor tweaks I was able to build geoserver with maven 3. However I did not not run with tests, getting late here
So if the other devs could give the patch a spin that would be great. Regardless it should be a decent starting point.
>
> -Justin
>
>
-------- Original Message --------
Subject: Re: [Geoserver-devel] [ExternalEmail] Re: [Geotools-devel] Proposal to update to Maven 3
Date: Thu, 30 Jun 2011 10:21:50 +0800
From: Ben Caradoc-Davies
To: Justin Deoliveira
CC: geoserver-devel@lists.sourceforge.net, Andrea Aime
Justin,
with your patch, maven 3 build has a unit test failure in ows:
testHandleServiceExceptionCauses(org.geoserver.ows.DefaultServiceExceptionHandlerTest)
-------------------------------------------------------------------------------
Test set: org.geoserver.ows.DefaultServiceExceptionHandlerTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.274
sec <<< FAILURE!
testHandleServiceExceptionCauses(org.geoserver.ows.DefaultServiceExceptionHandlerTest)
Time elapsed: 0.223 sec <<< FAILURE!
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertTrue(Assert.java:27)
at
org.geoserver.ows.DefaultServiceExceptionHandlerTest.testHandleServiceExceptionCauses(DefaultServiceExceptionHandlerTest.java:102)
Kind regards,
Ben.
On 29/06/11 13:20, Justin Deoliveira wrote:
So if the other devs could give the patch a spin that would be great. Regardless it should be a decent starting point.
> Yeah, the geoserver build uses a custom plugin to copy over a data directory into the webapp. Its pretty outdated as it seems. A full blown plug-in is not really need for that, and actually it just complicates the build. Some inline ant with the antrun plugin in the web/app pom should do the same and be easier to maintain. So I attached a patch to
GEOS-4652that does just that.>
> With that and a few other minor tweaks I was able to build geoserver with maven 3. However I did not not run with tests, getting late here
>
> -Justin
>
>