maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen (JIRA) <>
Subject [jira] Created: (MCOMPILER-134) add support for jdk 6 javac -processorpath parameter
Date Fri, 10 Sep 2010 01:10:32 GMT
add support for jdk 6 javac -processorpath parameter

                 Key: MCOMPILER-134
             Project: Maven 2.x Compiler Plugin
          Issue Type: New Feature
    Affects Versions: 2.3.2
            Reporter: Jürgen
            Priority: Minor
         Attachments: maven-compiler-plugin-2.3.3-SNAPSHOT.jar,

add support for annotation processing javac option -processorpath

while not supported, annotation processor classes have to be supplied via compile classpath.

annotation processor dependencies (e.g. database, xml processing, ...) might not be wanted
as project dependencies or event be in conflict with them.

as a workaround I have attached new ProcCompilerMojo, where I tried to implement processorpath
1) via a new configuration option: dependency resolution is done with bits of code I copied
from other maven classes like ProjectBuilder, ...

2) (unused) via plugin dependencies: I basically make use of ProcCompilerMojo classloader
urls. This variant is quite "dirty". it adds unnecessary maven plugin jars to annotation processor
classpath and unnecessary annotation processor jars to compiler-plugin classpath

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message