www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarek Jarcec Cecho <jar...@apache.org>
Subject How can we choose the right maven version for our build?
Date Mon, 24 Aug 2015 20:20:05 GMT
I have a job that is quite regularly failing with:

Error resolving version for 'org.codehaus.mojo:findbugs-maven-plugin': Plugin requires Maven
version 3.0.1

Looking into the job’s configuration, I don’t see any way to specify maven version (similarly
as we do for let say java). It seems that we were trying to deal with this in the past as
the we’re having following “Detection” in the command we’re running:

export MAVEN_HOME=/home/jenkins/tools/maven/latest
export PATH=$PATH:$JAVA_HOME/bin:$MAVEN_HOME/bin

But that sees quite flaky, so I’m wondering what is the right way to get the right maven
version for the job? :)

Jarcec

Links:
1: https://builds.apache.org/job/PreCommit-SQOOP-Build/1622/artifact/patch-process/test_unit.txt
Mime
View raw message