On 22 July 2016 at 22:13, Joe Witt <[email protected]> wrote:

> Within NiFi we went with the "oldest version of Maven we could fairly
> easily support" approach.  I really wish we had not.
>
> As a new project you have one shot to set some of the fundamentals
> down right such as the JVM you're tied to or the Maven build
> environment and such.  I recommend, picking the most forward leaning
> one you think you'll need.  It is really easy to install the latest
> version of Maven


Just checking I'm not missing something about installing the latest version
of Maven on Travis.

A quick search shows we need to either script the download of a later
version [1], or a seemingly better option is to define the entire build env
using Docker[2].

[1]
http://binkley.blogspot.co.uk/2015/10/struggling-with-travis-ci-and-maven-33.html
[2]
http://blog.javabien.net/2015/08/21/travis-ci-on-a-java-project-with-docker-support/

Regards,
Tim



> but it is really non-trivial if you're doing
> interesting things with Maven to maintain support over long periods of
> time for behaviors of older versions.
>
> I'd seriously recommend you take the latest Maven release and call
> that the Maven version.  That is purely a recommendation.  I'll help
> whatever path is the consensus.
>

Reply via email to