We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Maven Compiler plugin supports declaration of annotation processors like this:
<annotationProcessors> <annotationProcessor>org.checkerframework.checker.nullness.NullnessChecker</annotationProcessor> </annotationProcessors>
When I use this with the Groovy Eclipse plugin, an error occurs:
Compilation failure [ERROR] Failure executing groovy-eclipse compiler: [ERROR] Unrecognized option : -processor
The text was updated successfully, but these errors were encountered:
Batch compiler does have support for this option. There is a bug in the compiler adapter.
if (config.getAnnotationProcessors() != null) { StringBuilder procArg = new StringBuilder(); for (String proc : config.getAnnotationProcessors()) { if (proc != null && proc.trim().length() > 0) { procArg.append(proc); procArg.append(","); } } if (procArg.length() > 0) { procArg.replace(procArg.length() - 1, procArg.length(), ""); args.put("-processor ", "\"" + procArg.toString() + "\""); } }
Extra space after -processor prevents recognition of the compiler argument.
-processor
Sorry, something went wrong.
Fix for issue #138: annotation processor arguments for batch compiler
f24f868
Fixed compiler adapter (revision 2.9.2-02) available through bintray.
<pluginRepositories> ... <pluginRepository> <id>bintray</id> <name>Groovy Bintray</name> <url>https://dl.bintray.com/groovy/maven</url> <releases> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> </pluginRepositories>
No branches or pull requests
The Maven Compiler plugin supports declaration of annotation processors like this:
When I use this with the Groovy Eclipse plugin, an error occurs:
The text was updated successfully, but these errors were encountered: