[infinispan-dev] Workarounds for 'duplicate class...' issues after activation of IntelliJ annotation processing
Galder Zamarreño
galder at redhat.com
Fri Jul 15 06:32:59 EDT 2011
Actually, when importing to Intellij, it completely ignores the configured maven plugin.
It has an option to avoid using the Maven output directories (http://www.jetbrains.com/idea/webhelp/maven-importing.html) but it seems to ignore it.
On Jul 15, 2011, at 11:57 AM, Galder Zamarreño wrote:
> Btw, seems like IDEA does not have this in their mvn plugin:
> http://maven.apache.org/plugins/maven-idea-plugin/idea-mojo.html
>
> Trying to hack it though to add similar functionality and see if it helps.
>
> On Jul 15, 2011, at 11:25 AM, Galder Zamarreño wrote:
>
>> 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
>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
> --
> Galder Zamarreño
> Sr. Software Engineer
> Infinispan, JBoss Cache
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache
More information about the infinispan-dev
mailing list