New issue

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

No processor claimed any of these annotations: lombok.Data #1117

Closed
aaron-haskins opened this Issue May 23, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@aaron-haskins

When building a maven project with -Werror compiler option, the projcet produces a warning:
No processor claimed any of these annotations: lombok.Data
, and then fails with a compilation error:
warnings found and -Werror specified

Maven compiler:

<plugin>
   <groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-compiler-plugin</artifactId>
   <configuration>
      <showDeprecation>true</showDeprecation>
      <showWarnings>true</showWarnings>
      <compilerArgs>
         <arg>-Werror</arg>
         <arg>-Xlint:all</arg>           
      </compilerArgs> 
   </configuration>
</plugin>`
@rspilker

This comment has been minimized.

Show comment
Hide comment
@rspilker

rspilker Jun 9, 2016

Collaborator

To fix this without breaking lombok, I added a second annotation processor that claims all annotations starting with lombok..

Will be in the next release, but is already available in the edge release.

Can you verify this solves your problem, and that lombok still works?

Collaborator

rspilker commented Jun 9, 2016

To fix this without breaking lombok, I added a second annotation processor that claims all annotations starting with lombok..

Will be in the next release, but is already available in the edge release.

Can you verify this solves your problem, and that lombok still works?

@rspilker rspilker added the parked label Jun 9, 2016

@aaron-haskins

This comment has been minimized.

Show comment
Hide comment
@aaron-haskins

aaron-haskins Jun 10, 2016

Yes, it builds successfully with this edge release.
Thank you and looking forward to the next release!

Yes, it builds successfully with this edge release.
Thank you and looking forward to the next release!

@aaron-haskins

This comment has been minimized.

Show comment
Hide comment
@aaron-haskins

aaron-haskins Jan 20, 2017

I believe this fix causes the problem described in No processor claimed any of these annotations #6421 ticket. Should it be re-opened?

I believe this fix causes the problem described in No processor claimed any of these annotations #6421 ticket. Should it be re-opened?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment