Hi all. This is my first mail to this list. I hope a can help and be helped. And please excuse me for my bad English.
I would like to get help from this list to a proble I have with maven compiler plugin and annotation processing in javac. As you can see in plugin definition at myproject.pom I have added an annotation processor at a compiler argument. Compiling with javac, when this processor fail (when a message of kind ERROR is sent to the annotations processing API 'messager') the compilation must be interrupted and no class file must be generated. The problem is that sending an error message (while with command line compilation with javac it works as it is supossed to be) with maven the compilation continues (creates class files) and no error nor any 'messager' issue is sent to output. The execution of the processor is verified sending text to output with System.out.println("Text"). ¿Can you help me? Thank you very much. This is the plugin configuration in '.pom': <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.6</source> <target>1.6</target> <verbose>true</verbose> <compilerArguments> <processor>com.xx.annotations.xxAnnotationProcessor</processor> </compilerArguments> </configuration> </plugin> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org