Fixing strange problem where eclipse was compiling correctly and javac via maven was not.