/maven-annotation-plugin

A maven plugin to process annotation for jdk6 at compile time

Primary LanguageHTMLMIT LicenseMIT

A maven plugin to process compile time annotation for jdk6 and above.

      

This plugin helps to use from maven the new annotation processing integrated in java compiler provided from JDK6

This plugin could be considered the 'alter ego' of maven apt plugin http://mojo.codehaus.org/apt-maven-plugin/

Documentation

Related plugin

m2e-apt eclipse plugin from Jboss
m2e-annotations eclipse plugin

Develop an annotation processor

Releases

Aug 12,2018 Release 3.3.3. Available on MAVEN CENTRAL REPO
  • Issue 75 - Add support for Java9 --release parameter
  • Issue 72 - How to solve multiple executions of plugin
Sep 7,2017 Release 3.3.2. Available on MAVEN CENTRAL REPO
Apr 11,2017 Release 3.3.1. Available on MAVEN CENTRAL REPO
  • Issue 66 - source 1.8 ignored
  • Issue 67 - options are not taking in consideration
Apr 10,2017 Release 3.3. Available on MAVEN CENTRAL REPO
  • Issue 64 - Add option to fork for JDK9 support
  • Issue 65 - Add support for maven-toolchains-plugin
Oct 7,2016 Release 3.2.0. Available on MAVEN CENTRAL REPO
  • Issue 63 - -sourcepath is not configured
Feb 2,2016 Release 3.1.0. Available on MAVEN CENTRAL REPO

Thanks to borisbrodski for contribution

Jun 28,2014 Release 3.1.0-beta1. Available on MAVEN CENTRAL REPO

This plugin use maven 3.1.0 runtime

  • Issue 56 - diagnostic message from NOTE to INFO
Jun 14,2013 Release 2.2.4. Available on MAVEN CENTRAL REPO
  • Issue 54 - diagnostic messages mapping
May 22,2013 Release 2.2.3. Available on MAVEN CENTRAL REPO
May 20,2013 Release 2.2.2. Available on MAVEN CENTRAL REPO
Apr 6,2013 Release 2.2.1. Available on MAVEN CENTRAL REPO
Apr 4,2013 Release 2.2.0. Available on MAVEN CENTRAL REPO
  • Issue 50 - support for scanning maven source artifacts. Thanks to ike.braun for patch
Jan 30,2013 Release 2.1.1. Available on MAVEN CENTRAL REPO
Nov 6,2012 Release 2.1.0. Available on MAVEN CENTRAL REPO
Oct 18,2012 Release 2.1.0-beta1. Available on MAVEN CENTRAL REPO
  • Issue 44 - move code to use maven 3 annotation
Oct 09,2012 Release 2.0.8. Available on MAVEN CENTRAL REPO
  • Issue 43 - @parameter for addOutputDirectoryToCompilationSources
Sep 01,2012 Release 2.0.7. Available on MAVEN CENTRAL REPO
Aug 07,2012 Release 2.0.6. Available on MAVEN CENTRAL REPO
Sep 13,2011 Release 2.0.5. Available on MAVEN CENTRAL REPO
  • fixed issue 35 - enhance options support
Aug 11,2011 Release 2.0.4. Available on MAVEN CENTRAL REPO
  • fixed issue 24 - add support of options
Jul 6,2011 Release 2.0.3. Available on MAVEN CENTRAL REPO
  • fixed issue 29 - Don't Swallow Cause. patch from eric.dalquist
  • fixed issue 30 - Be more lenient of missing source directories
  • fixed issue 31 - plugin respect classpath/dependency order
Apr 18,2011 Release 2.0.2. Available on MAVEN CENTRAL REPO
  • fixed issue 23 - Publish to Maven Central - Thank you to Igor Vaynberg for support
Feb 25,2011 Release 2.0.1. Available on INTERNAL MAVEN REPOSITORY
  • fixed issue 28 - add incudes/excludes feature
Dec 05,2010 Release 2.0.0. Available on JAVA.NET REPOSITORY
  • fixed issue 26 - Tested over maven3 release
Aug 27,2010 Release 1.3.7. Available on JAVA.NET REPOSITORY
  • fixed issue 25- skip processing whether no source files found
Jun 17,2010 Release 1.3.6. Available on JAVA.NET REPOSITORY
  • fixed issue 22- support system properties
May 18,2010 Release 1.3.5. Available on JAVA.NET REPOSITORY
  • fixed issue 12- support output class folder directly in configuration
May 4,2010 Release 1.3.4. Available from maven

fixed issue 20- add plugin dependencies to processor classpath

Apr 23,2010 Release 1.3.3. Available from maven

fixed issue 19 - possible disable diagnostic output

Apr 11,2010 Release 1.3.2. Available from maven

fixed issue 17 skip when packaging is pom (useful to add plugin declaration in parent pom)

Feb 04,2010 Release 1.3.1. Available from maven

fixed issue 15 add failOnError parameter

import maven dependency

If you want stay tuned on each update, use the SNAPSHOT version as shown below

   <plugin>
      <groupId>org.bsc.maven</groupId>
      <artifactId>maven-processor-plugin</artifactId>
      <version>x.x.x-SNAPSHOT</version>

   </plugin>

News

From release 2.0.2 this plugin is available from MAVEN CENTRAL REPO
Created branch 1.3.x to continue to support maven2.x - Trunk has been moved to release 2.x that will support maven3 features

Old Releases

Jan 22,2010 Release 1.3. Available from maven
Nov 25,2009 Release 1.2. Available from maven
Nov 08,2009 Release 1.1. Available from maven
Nov 08,2009 Release 1.0. Available from maven