Changed maven based compilation, java 1.7.