Estava recebendo o seguinte erro:
[ERROR] Source option 5 is no longer supported. Use 6 or later
[ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
[INFO] 2 errors
Resolvi adcionando as seguintes linhas no meu pom.xml
<properties>
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
</properties>
Resolvido apartir desse post no stackoverflow : https://stackoverflow.com/questions/49028810/error-source-option-1-5-is-no-longer-supported-use-1-6-or-later