www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Bayer <andrew.ba...@gmail.com>
Subject Re: Jenkins: what Java versions are available for building with Maven?
Date Thu, 08 Jan 2015 19:10:16 GMT
Yeah, we're moving to installing via puppet all the legacy JDKs etc in
/home/jenkins/tools from packages, so there is good reason to assume
they'll always be there. =)

A.

On Thu, Jan 8, 2015 at 3:20 AM, sebb <sebbaz@gmail.com> wrote:

> On 8 January 2015 at 11:09, Andreas Lehmkühler <andreas@lehmi.de> wrote:
> > Hi,
> >
> >> sebb <sebbaz@gmail.com> hat am 8. Januar 2015 um 11:05 geschrieben:
> >>
> >>
> >> I have been trying to test Commons Math build on Jenkins.
> >>
> >> It runs fine if I choose Java 1.6 latest, however Math currently
> targets 1.5.
> >>
> >> If I try building using Java 1.5, Jenkins complains about class file
> >> incompatibility.
> >>
> >> So it looks like Jenkins needs a minimum of Java 1.6.
> >> Is that correct?
> > I guess the issue is maven, newer versions (> 3.0.3 I'm not sure about
> the
> > excact version) somehow need a minimum of Java 1.6.
> >
>
> Thanks!
>
> I've looked again at the stack trace, and you're correct - it's Maven
> that is complaining.
>
> Meanwhile I've found a way round the issue for Commons projects:
>
> -Pjava-1.5 -DJAVA_1_5_HOME=/home/jenkins/tools/java/latest1.5
>
> [The java-1.5 profile sets the java version for compile and test
> assuming that JAVA_1_5_HOME is set appropriatel]
>
> So long as 1.5 is always at that location we should be good.
>
> >
> > BR
> > Andreas Lehmkühler
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message