Exclude some fixtures from ECJ compilation.
<id>ecj</id>
<build>
<plugins>
+ <!-- TODO: There's still a problem with some of the fixtures being compiled by ECJ.
+ And there's no way to exclude them using maven compiler plugin so we temporarily
+ delete them -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals><goal>clean</goal></goals>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>src/org/immutables/fixture/with</directory>
+ <followSymlinks>false</followSymlinks>
+ <includes>
+ <include>Enc.java</include>
+ </includes>
+ </fileset>
+ </filesets>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
