Re: PSA: Maven 3.3.3 now required to build

2015-08-03 Thread Patrick Wendell
Yeah the best bet is to use ./build/mvn --force (otherwise we'll still use your system maven). - Patrick On Mon, Aug 3, 2015 at 1:26 PM, Sean Owen wrote: > That statement is true for Spark 1.4.x. But you've reminded me that I > failed to update this doc for 1.5, to say Maven 3.3.3 is required. >

Re: PSA: Maven 3.3.3 now required to build

2015-08-03 Thread Sean Owen
That statement is true for Spark 1.4.x. But you've reminded me that I failed to update this doc for 1.5, to say Maven 3.3.3 is required. Patch coming up. On Mon, Aug 3, 2015 at 9:12 PM, Guru Medasani wrote: > Thanks Sean. Reason I asked this is, in Building Spark documentation of > 1.4.1, I still

Re: PSA: Maven 3.3.3 now required to build

2015-08-03 Thread Guru Medasani
Thanks Sean. Reason I asked this is, in Building Spark documentation of 1.4.1, I still see this. https://spark.apache.org/docs/latest/building-spark.html Building Spark using Maven requires Maven 3.0.4 or newer and Java 6+. But I notic

Re: PSA: Maven 3.3.3 now required to build

2015-08-03 Thread Marcelo Vanzin
Just note that if you have "mvn" in your path, you need to use "build/mvn --force". On Mon, Aug 3, 2015 at 12:38 PM, Sean Owen wrote: > Using ./build/mvn should always be fine. Your local mvn is fine too if > it's 3.3.3 or later (3.3.3 is the latest). That's what any brew users > on OS X out the

Re: PSA: Maven 3.3.3 now required to build

2015-08-03 Thread Sean Owen
Using ./build/mvn should always be fine. Your local mvn is fine too if it's 3.3.3 or later (3.3.3 is the latest). That's what any brew users on OS X out there will have, by the way. On Mon, Aug 3, 2015 at 8:37 PM, Guru Medasani wrote: > Thanks Sean. I noticed this one while building Spark version

Re: PSA: Maven 3.3.3 now required to build

2015-08-03 Thread Guru Medasani
Thanks Sean. I noticed this one while building Spark version 1.5.0-SNAPSHOT this morning. WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message: Detected Maven Version: 3.2.5 is not in the allowed range 3.3.3. Should we be using maven 3.3.3 locally or build

PSA: Maven 3.3.3 now required to build

2015-08-03 Thread Sean Owen
If you use build/mvn or are already using Maven 3.3.3 locally (i.e. via brew on OS X), then this won't affect you, but I wanted to call attention to https://github.com/apache/spark/pull/7852 which makes Maven 3.3.3 the minimum required to build Spark. This heads off problems from some behavior diff