When running mvn deploy in order to deploy a SNAPSHOT the following error occurs:
Most likely this is a problem with the current version of the Maven compiler plugin - https://jira.codehaus.org/browse/MCOMPILER-236
This problem seems to be also the cause of sporadic failures of the SNAPSHOT deploy CI job.
Maven home: /opt/java/maven
Java version: 1.8.0_25, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.3", arch: "x86_64", family: "mac"
Resolved by downgrading the compiler plug-in to 3.1.