I occasionally receive this error when I build my project with
>mvn --version Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602
Disable the automatic build of your IDE (Eclipse or IntellJ IDEA or whatever). It will conflict with the Maven build.