Updated maven config to include target Java version