A guy at stackoverflow named Kenney reproduced, provided a work around (use <optimize>true</optimize> on maven-compiler-plugin 3.x configuration) and created a github issue https://github.com/sonatype/plexus-compiler/issues/16
Just thought I'd add this here for completeness sake. Dimitris On Mon, May 13, 2013 at 5:53 PM, Dimitrios Kateros <dkate...@gmail.com>wrote: > Hello, > > There looks to be an issue with the plexus compiler plugin with the > eclipse compiler configuration when using the switch statement with enums. > > Please, find details on following stackoverflow thread: > > > http://stackoverflow.com/questions/16520888/maven-compilation-failure-when-switching-on-enum > > Regards, > > Dimitris > -- Dimitris Kateros