[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mh_make failing due to not finding junit:junit:jar:debian



Le 12/02/2014 17:40, Matthew Vernon a écrit :

> Thanks, that was just the ticket. My next issue is how to specify in
> maven.properties (or somewhere else?) that I want to compile with a
> newer JDK version - currently maven is defaulting to 1.3(!), which isn't
> good enough:

In Wheezy it defaults to 1.3, but in Jessie/sid it defaults to 1.5. To
specify the source/target level you simply have to add two properties to
debian/maven.properties:

    maven.compiler.source=1.5
    maven.compiler.target=1.5

Emmanuel Bourg


Reply to: