[Geoserver-devel] Building GeoServer with Maven 3

Andrea,

I have GeoServer building with Maven 3. If you have a moment, please review these two small patches:

"Stale WGS84 axis order in KMLUtils breaks Maven 3 build"
https://jira.codehaus.org/browse/GEOS-4689
Patch: https://jira.codehaus.org/secure/attachment/56148/GEOS-4689.KMLUtils.patch

"Support building GeoServer with Maven 3"
https://jira.codehaus.org/browse/GEOS-4652
Patch: https://jira.codehaus.org/secure/attachment/56160/GEOS-4652.complete.patch

The latter is Justin's original patch plus a small test fix and a one line pom fix. Ian Schneider has already committed the xercesImpl version fixes.

Kind regards,

--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

Thanks a lot for pushing this one forward Ben. Just commented on both issues with a +1.

On Wed, Jul 27, 2011 at 12:52 AM, Ben Caradoc-Davies Ben.Caradoc-Davies@anonymised.com wrote:

Andrea,

I have GeoServer building with Maven 3. If you have a moment, please
review these two small patches:

“Stale WGS84 axis order in KMLUtils breaks Maven 3 build”
https://jira.codehaus.org/browse/GEOS-4689
Patch:
https://jira.codehaus.org/secure/attachment/56148/GEOS-4689.KMLUtils.patch

“Support building GeoServer with Maven 3”
https://jira.codehaus.org/browse/GEOS-4652
Patch:
https://jira.codehaus.org/secure/attachment/56160/GEOS-4652.complete.patch

The latter is Justin’s original patch plus a small test fix and a one
line pom fix. Ian Schneider has already committed the xercesImpl version
fixes.

Kind regards,


Ben Caradoc-Davies Ben.Caradoc-Davies@anonymised.com
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre


Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don’t ask for help often.
Plus, you’ll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey


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


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Thanks, Justin (and Andrea and Ian). I have committed the last two patches; trunk now builds with Maven 3.

On the downside, Maven 3 takes about 30% longer to build GeoServer on my box (10 minutes for Maven 2 increases to about 13 minutes for Maven 3 [-PallExtensions -Prelease and some other cruft]). This might be because my JVM settings were tweaked for Maven 2 and I need to re-optimise.

Kind regards,
Ben.

On 27/07/11 23:27, Justin Deoliveira wrote:

Thanks a lot for pushing this one forward Ben. Just commented on both issues with a +1.

On Wed, Jul 27, 2011 at 12:52 AM, Ben Caradoc-Davies<Ben.Caradoc-Davies@anonymised.com> wrote:
Andrea,

I have GeoServer building with Maven 3. If you have a moment, please
review these two small patches:

"Stale WGS84 axis order in KMLUtils breaks Maven 3 build"
https://jira.codehaus.org/browse/GEOS-4689
Patch:
https://jira.codehaus.org/secure/attachment/56148/GEOS-4689.KMLUtils.patch

"Support building GeoServer with Maven 3"
https://jira.codehaus.org/browse/GEOS-4652
Patch:
https://jira.codehaus.org/secure/attachment/56160/GEOS-4652.complete.patch

The latter is Justin's original patch plus a small test fix and a one
line pom fix. Ian Schneider has already committed the xercesImpl version
fixes.

Kind regards,

--
Ben Caradoc-Davies<Ben.Caradoc-Davies@anonymised.com>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net<mailto:Geoserver-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

On Thu, Jul 28, 2011 at 5:49 AM, Ben Caradoc-Davies
<Ben.Caradoc-Davies@anonymised.com> wrote:

Thanks, Justin (and Andrea and Ian). I have committed the last two patches;
trunk now builds with Maven 3.

On the downside, Maven 3 takes about 30% longer to build GeoServer on my box
(10 minutes for Maven 2 increases to about 13 minutes for Maven 3
[-PallExtensions -Prelease and some other cruft]). This might be because my
JVM settings were tweaked for Maven 2 and I need to re-optimise.

Ouch! Did you try the parallel build option?
http://java.dzone.com/articles/more-new-cool-features-maven-3?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+javalobby%2Ffrontpage+(Javalobby+%2F+Java+Zone)

Cheers
Andrea

--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

I did some timing on my local machine of mvn 2 vs 3 and I don’t see much of a difference between them but when i do parallel build I get a good speed up!

geotools with mvn 2: 7:54geotools with mvn 3: 7:48
geotools with mvn 3 -T 2C (2 threads per core): 5:12

geoserver with mvn 2: 9:00
geoserver with mvn 3: 8:39
geoserver with mvn 3 -T 2C: 6:42

On Thu, Jul 28, 2011 at 1:40 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Thu, Jul 28, 2011 at 5:49 AM, Ben Caradoc-Davies

Ben.Caradoc-Davies@anonymised.com wrote:

Thanks, Justin (and Andrea and Ian). I have committed the last two patches;
trunk now builds with Maven 3.

On the downside, Maven 3 takes about 30% longer to build GeoServer on my box
(10 minutes for Maven 2 increases to about 13 minutes for Maven 3
[-PallExtensions -Prelease and some other cruft]). This might be because my
JVM settings were tweaked for Maven 2 and I need to re-optimise.

Ouch! Did you try the parallel build option?
http://java.dzone.com/articles/more-new-cool-features-maven-3?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+javalobby%2Ffrontpage+(Javalobby+%2F+Java+Zone)

Cheers
Andrea

Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf



Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.