Maven integration with Eclipse JDT Annotation Processor Toolkit
Java XSLT HTML CSS
Latest commit 535bbff Jun 8, 2016 @fbricon fbricon Require jdk8 to build
Signed-off-by: Fred Bricon <fbricon@gmail.com>
Failed to load latest commit information.
.settings
org.jboss.tools.maven.apt.core
org.jboss.tools.maven.apt.feature Bump version to 1.3.0-SNAPSHOT Feb 21, 2016
org.jboss.tools.maven.apt.site
org.jboss.tools.maven.apt.tests Fix #53 : enable the apt configurator for jdt/eclipse compilers Jun 8, 2016
org.jboss.tools.maven.apt.ui
.project
.travis.yml
README.md Update README.md Feb 18, 2016
pom.xml Require JavaSE-1.8 for running tests Jun 8, 2016

README.md

Maven integration with Eclipse JDT Annotation Processor Toolkit.

Build Status

m2e-apt aims at providing automatic Annotation Processing configuration in Eclipse based on your project's pom.xml and its classpath dependencies. m2e- 1.2 Requires Java >= 1.7, but will work on Java 6 projects.

Due to some rogue annotation processors at large, we decided to disable automatic annotation processing by default. By default, your manual settings for Eclipse JDT APT apply.

Go to Window > Preferences > Maven > Annotation Processing or right-click on your project Properties > Maven > Annotation Processing to select the Annotation Processing strategy of your choice.

m2e-apt supports both Annotation Processing set on the maven-compiler-plugin or the maven-processor-plugin (the latter takes precedence over the former).

When Annotation Processing is managed by Eclipse JDT APT, any change in your source classes triggers incremental processing automatically. The downside of using JDT APT is, there's no separation between main and test classes (the way maven-processor-plugin handles them). To mitigate that limitation, you can change the workspace or project preferences to delegate annotation processing to maven, instead of JDT APT. This will result in slower incremental builds (all classes will be processed) but will provide identical results to maven command line builds. Note this only works when using maven-processor-plugin. When annotation processing is driven by maven-compiler-plugin, JDT APT is always used in eclipse.

See this blog post for more informations.

m2e-apt can be installed from :

Please be aware m2e-apt 1.2.0 requires m2e 1.5+