Enforce Maven and Java versions