-----Original Message----- From: Laird Nelson [mailto:ljnel...@gmail.com] > You can of course just chalk this up to magic and exclude them, regardless of > whatever mystical internals put them there in the first place:
Thanks Laird, but I have already tried this: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <executions> <execution> <id>default-compile</id> <configuration> <excludes> <exclude>${project.build.directory}/generated-sources-jacorb/**</exclude> <exclude>${project.build.directory}/generated-sources-sunorb/**</exclude> </excludes> </configuration> </execution> .... With no success. I have the duplicate class error, again. Now, I am investigating to understand why and how the sources folders are "recorded" into the compiler plugin. Thanks Claves The information contained in this email is strictly confidential and for the use of the addressee only, unless otherwise indicated. If you are not the intended recipient, please do not read, copy, use or disclose to others this message or any attachment. Please also notify the sender by replying to this email or by telephone (+44 (0)20 7896 0011) and then delete the email and any copies of it. Opinions, conclusions (etc) that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. IG Group Holdings plc is a company registered in England and Wales under number 01190902. VAT registration number 761 2978 07. Registered Office: Cannon Bridge House, 25 Dowgate Hill, London EC4R 2YA. Authorised and regulated by the Financial Services Authority. FSA Register number 114059.