Bug#808691: jboss-xnio: FTBFS: duplicate class: org.xnio._private.Messages_$logger

Markus Koschany apo at debian.org
Mon Dec 21 20:59:48 UTC 2015


I think jboss-xnio and undertow are only affected by this issue and
presumably maven-compiler-plugin is to blame here.

I have found this upstream bug report

https://issues.apache.org/jira/browse/MCOMPILER-235

which seems related. I can work around the FTBFS by disabling the
annotation processing and passing -proc:none as an argument to the
compiler plugin. However this isn't really a proper fix because those
generated classes are then not part of the final jar file and this may
cause several other issues.

The upstream bug report claims that maven-compiler-plugin 3.1 works or
explicitly setting useIncrementalCompilation to false. Not sure if this
might help us. At the moment I don't see a way to fix this in jboss-xnio
or undertow though.

Markus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20151221/527ea712/attachment-0001.sig>


More information about the pkg-java-maintainers mailing list