Added configuration for maven compiler plugin to support generics.