added reporting and compile setting for maven.