[infinispan-dev] Workarounds for 'duplicate class...' issues after activation of IntelliJ annotation processing

Galder Zamarreño galder at redhat.com
Fri Jul 15 05:25:58 EDT 2011


Hi,

Since I enabled annotation processing in IntelliJ and got it working, if I build core/ from command line (i.e. to run the testsuite), when I go back to the IDE and try to run a test, I get messages like:

Duplicate class ....$Logger

Now, the eclipse Maven plugin allows to configure a different build output folder for the IDE:
               <buildOutputDirectory>${basedir}/eclipse-output</buildOutputDirectory>

I've looked around the idea mvn plugin but found nothing. If build output was configurable for the IDE, we'd avoid clashes like this.

Any other ideas?
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache




More information about the infinispan-dev mailing list