+1 for enforcing Maven 3, it's more strict so will check and report issues
with build script, and newer versions of plugins require it or just work
and are tested with it.

Go to each job (e.g. https://builds.apache.org/job/mahout-nightly/ ), and
if you have access/rights click on Configure link; then in Build section,
there should be "Maven Version" drop-down, with hopefully some Maven 3
option in it. Click Save or Apply.
Check on the same page, if there are some prebuild/postbuild steps which
run maven, they also need to be configured to use Maven 3.

If nobody has appropriate access rights, maybe create support ticket on
INFRA.

Kind regards,
Stevo Slavić.


On Mon, May 27, 2013 at 12:34 PM, Sean Owen <[email protected]> wrote:

> (I snuck in this Maven requirement with some other updates to plugins. I
> think it is not strictly essential for the other plugins, so could be
> reverted. But Maven 3 has been out for nearly 3 years, and surely Apache
> itself should use it now. But I don't know how to configure these jobs to
> run with 3 vs 2.)
>
>
> On Mon, May 27, 2013 at 1:39 AM, Stevo Slavić <[email protected]> wrote:
>
> > Hello Apache Mahout developers,
> >
> > Several Apache Mahout build jobs are failing, they are configured to run
> > with Apache Maven 2, while pom.xml has recently been changed to require
> > Apache Maven 3. To fix this it's enough to update configuration of these
> > jobs, so they use Apache Maven 3 to execute.
> >
> > While at it, please also configure mahout-nightly job to deploy/release
> > distribution archive, by appending:
> >
> > -Dmahout.skip.distribution=false
> >
> > to the Maven goals of the job. I think this will be useful, Mahout
> beginner
> > which wants to use latest algorithms, will not have to build Mahout
> > herself, to get nicely packaged distribution of Apache Mahout from Apache
> > snapshots repository like
> >
> >
> https://repository.apache.org/content/groups/snapshots/org/apache/mahout/mahout-distribution/0.8-SNAPSHOT/
> >
> > Current Maven goals for mahout-nightly job are "clean install deploy".
> That
> > "install" is redundant, it's implied because of "deploy", both of these
> > phases are in same, default lifecycle, executing up to deploy will run
> > through install phase as well.
> >
> > Kind regards,
> > Stevo Slavić.
> >
>

Reply via email to