[infinispan-issues] [JBoss JIRA] (ISPN-11951) Component annotation processor should use javax.annotation.processing.Generated
Dan Berindei (Jira)
issues at jboss.org
Wed Jun 3 17:04:00 EDT 2020
[ https://issues.redhat.com/browse/ISPN-11951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14134680#comment-14134680 ]
Dan Berindei commented on ISPN-11951:
-------------------------------------
I gave it a try, but the Maven compiler can't find the new {{Generated}} class, presumably because of
{code:xml}
<release>8</release>
{code}
Looks like we'll have to postpone this until we stop supporting Java 8.
> Component annotation processor should use javax.annotation.processing.Generated
> -------------------------------------------------------------------------------
>
> Key: ISPN-11951
> URL: https://issues.redhat.com/browse/ISPN-11951
> Project: Infinispan
> Issue Type: Task
> Affects Versions: 11.0.0.CR1
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
>
> The component annotation processor currently uses {{javax.annotation.Generated}} in the source files. Since the annotation only has source retention, we can switch to the JDK 9+ {{javax.annotation.processing.Generated}} annotation and remove the {{javax.annotation-api-1.3.1}} dependency.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list