added sourceEncoding property, changed source and target values to be
1.8 instead of 8, added version 3.1 for maven compiler plugin