[Geoserver-devel] geoserver_release.sh stuck with maven 2 and -T1C

The build box is mostly setup for new version numbers for master, and new build jobs for geoserver-2.5.x

I am however stuck on the geoserver_reelase.sh script used to create 2.5-RC1

The logs #14 show a mvn failure, looks like maven 3 is expected and the script is being provided with maven 2.

maven/java settings:
Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+0000)
Java version: 1.6.0_22
Java home: /usr/lib/jvm/java-6-sun-1.6.0.22_x86/jre

…snip…
Unable to parse command line options: Unrecognized option: -T1C

usage: mvn [options] [<goal(s)>] [<phase(s)>]

I am not quite sure what configuration change is needed to run with maven 3, perhaps Justin can provide a hint?

Maven 2 has dropped out of support last week, perhaps it is time to drop it out of our build box.

Jody Garnett

On Fri, Feb 21, 2014 at 5:38 AM, Jody Garnett <jody.garnett@anonymised.com>wrote:

The build box is mostly setup for new version numbers for master, and new
build jobs for geoserver-2.5.x<http://ares.boundlessgeo.com/jenkins/job/geoserver-2.5.x/&gt;

I am however stuck on the geoserver_reelase.sh<https://github.com/geoserver/geoserver/blob/2.5.x/build/build_release.sh&gt; script
used to create 2.5-RC1

The logs #14<http://ares.boundlessgeo.com/jenkins/view/geoserver/job/geoserver-release/14/console&gt; show
a mvn failure, looks like maven 3 is expected and the script is being
provided with maven 2.

*maven/java settings:*
*Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+0000)*
*Java version: 1.6.0_22*
*Java home: /usr/lib/jvm/java-6-sun-1.6.0.22_x86/jre*
*..snip...*
*Unable to parse command line options: Unrecognized option: -T1C*
*usage: mvn [options] [<goal(s)>] [<phase(s)>]*

I am not quite sure what configuration change is needed to run with maven
3, perhaps Justin can provide a hint?

Maven 2 has <http://maven.40175.n5.nabble.com/RESULT-VOTE-Maven-2-x-is-end-of-life-tt5785220.html&gt;dropped
out of support last week<http://maven.40175.n5.nabble.com/VOTE-Maven-2-x-is-end-of-life-td5784522.html&gt;,
perhaps it is time to drop it out of our build box.

Feel free to remove that -T1C, I added it last time to speed up the round
trips as I was fixing
the scripts for the beta release.
However mind, at the time the release scripts were working with -T1C,
something must
have changed in the maven installation in the meantime

Cheers
Andrea

--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

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

Afaik nothing on the build server changed with respect to maven install. As for why we use maven 2 it is because of the annoying deployment issues that come with maven 3 and snapshots. So perhaps not an issue for releasing.

···

On Fri, Feb 21, 2014 at 1:24 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:


Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk


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

Justin Deoliveira
Vice President, Engineering | Boundless
jdeolive@anonymised.com
@j_deolive

On Fri, Feb 21, 2014 at 5:38 AM, Jody Garnett <jody.garnett@anonymised.com> wrote:

The build box is mostly setup for new version numbers for master, and new build jobs for geoserver-2.5.x

I am however stuck on the geoserver_reelase.sh script used to create 2.5-RC1

The logs #14 show a mvn failure, looks like maven 3 is expected and the script is being provided with maven 2.

maven/java settings:
Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+0000)
Java version: 1.6.0_22
Java home: /usr/lib/jvm/java-6-sun-1.6.0.22_x86/jre

…snip…
Unable to parse command line options: Unrecognized option: -T1C

usage: mvn [options] [<goal(s)>] [<phase(s)>]

I am not quite sure what configuration change is needed to run with maven 3, perhaps Justin can provide a hint?

Maven 2 has dropped out of support last week, perhaps it is time to drop it out of our build box.

Feel free to remove that -T1C, I added it last time to speed up the round trips as I was fixing
the scripts for the beta release.
However mind, at the time the release scripts were working with -T1C, something must
have changed in the maven installation in the meantime

Cheers
Andrea

== Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information ==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


With a bit of help from Andrea I managed to sort this out ( needed to update geoserver_release.sh on master, and then build 2.5.x).

With that in mind release artefacts are available for testing here:

http://ares.boundlessgeo.com/geoserver/release/2.5-RC1/


Jody Garnett

On 21 February 2014 at 3:39:01 pm, Jody Garnett (jody.garnett@anonymised.com) wrote:

The build box is mostly setup for new version numbers for master, and new build jobs for geoserver-2.5.x

I am however stuck on the geoserver_reelase.sh script used to create 2.5-RC1

The logs #14 show a mvn failure, looks like maven 3 is expected and the script is being provided with maven 2.

maven/java settings:
Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+0000)
Java version: 1.6.0_22
Java home: /usr/lib/jvm/java-6-sun-1.6.0.22_x86/jre

…snip…
Unable to parse command line options: Unrecognized option: -T1C

usage: mvn [options] [<goal(s)>] [<phase(s)>]

I am not quite sure what configuration change is needed to run with maven 3, perhaps Justin can provide a hint?

Maven 2 has dropped out of support last week, perhaps it is time to drop it out of our build box.

Jody Garnett

On Sat, Feb 22, 2014 at 1:18 AM, Jody Garnett <jody.garnett@anonymised.com>wrote:

With a bit of help from Andrea I managed to sort this out ( needed to
update geoserver_release.sh on master, and then build 2.5.x).

With that in mind release artefacts are available for testing here:

http://ares.boundlessgeo.com/geoserver/release/2.5-RC1/

Gave it a quick spin, seems to work fine :slight_smile:

Cheers
Andrea

--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

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

Thanks, there is a draft blog post as well (if you have a moment).

···

Jody Garnett

On Sat, Feb 22, 2014 at 10:02 PM, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Sat, Feb 22, 2014 at 1:18 AM, Jody Garnett <jody.garnett@anonymised.com> wrote:

With a bit of help from Andrea I managed to sort this out ( needed to update geoserver_release.sh on master, and then build 2.5.x).

With that in mind release artefacts are available for testing here:

http://ares.boundlessgeo.com/geoserver/release/2.5-RC1/

Gave it a quick spin, seems to work fine :slight_smile:

Cheers

Andrea

== Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information ==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On Sat, Feb 22, 2014 at 1:32 PM, Jody Garnett <jody.garnett@anonymised.com>wrote:

Thanks, there is a draft blog post as well (if you have a moment).

Made a couple of minor edits, thanking feature sponsors

Cheers
Andrea

--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

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