Fixes #5782: Use the JDK 1.7+ by default on our packages

Ticket: http://www.rudder-project.org/redmine/issues/5782

To be merged in 3.0
Lines below that call mvn need to be changed to use the maven/ path (instead of maven2/).

Github won't let me comment on those lines directly, for some reason. Sorry.