Martin Gainty created MCOMPILER-226: ---------------------------------------
Summary: Annotation Precompiler causes javac compiler not to compile Key: MCOMPILER-226 URL: https://jira.codehaus.org/browse/MCOMPILER-226 Project: Maven Compiler Plugin Issue Type: Bug Environment: mvn 3.0.5 JDK 1.7 test-bed sisu-inject (loaded with annotations!) Reporter: Martin Gainty when the javac is forked for processing annotations the javac task is never called in the compile goal Here is a workaround <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.0</version> <executions> <execution> <goals> <goal>compile</goal> </goals> <phase>generate-sources</phase> <configuration> <!-- do this first --> <proc>only</proc> <source>1.7</source> <target>1.7</target> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.0</version> <executions> <execution> <goals> <goal>compile</goal> </goals> <phase>compile</phase> <configuration> <!-- do this second --> <proc>none</proc> <source>1.7</source> <target>1.7</target> </configuration> </execution> </executions> </plugin> This is a hack that needs fixing Can we separate the annotation-processing goal as completely separate from the compile goal? Thanks Martin -- This message was sent by Atlassian JIRA (v6.1.6#6162)