I am trying to learn how to use annotationProcessor feature with maven-compiler-plugin 2.3.2 under maven 3. My configuration is below. The processor indeed works and it generates the files. My problem is that the compiler does not see those files during compile phase. What am I doing wrong? I tried to put my generated-sources in different places, under target, directly under the project folder. I tried to use generated-sources/src/main/java structure. Nothing works.
============================================= <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.6</source> <target>1.6</target> <generatedSourcesDirectory>generated-sources/src/main/java</generatedSourcesDirectory> <annotationProcessors> <annotationProcessor>com.newamsterdam.framework.flexrecord.FlexRecordProcessor</annotationProcessor> </annotationProcessors> </configuration> </plugin> </plugins> </build> -- View this message in context: http://maven.40175.n5.nabble.com/Using-annotationProcessor-in-maven-compiler-plugin-tp3298435p3298435.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org