[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8208) Improve how annotation processors are setup/detected via maven/m2eclipse
Sanne Grinovero (JIRA)
jira-events at lists.jboss.org
Tue Jun 7 06:37:59 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-8208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606782#comment-12606782 ]
Sanne Grinovero commented on JBIDE-8208:
----------------------------------------
Hi,
the Hibernate annotation processors (and JBoss Logging too) are affected by this JDK bug: standard compile due to Oracle bug http://bugs.sun.com/view_bug.do?bug_id=6512707
The only workaround for us resulted to disable annotation processing during compile, and then run the processors only after the compile phase.
This is an example of how I need to set it up in Maven; please note I can't use the compiler plugin settings but hd to find an alternative plugin:
https://github.com/Sanne/hibernate-search/commit/31e61bdc66a7d140f33169ed509c1c29c5004d8f#L1R306
Now wondering how to have people setup their project in m2eclipse ?
> Improve how annotation processors are setup/detected via maven/m2eclipse
> ------------------------------------------------------------------------
>
> Key: JBIDE-8208
> URL: https://issues.jboss.org/browse/JBIDE-8208
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: maven, UpStream
> Reporter: Max Rydahl Andersen
> Fix For: 3.3.0.M2
>
>
> Any way m2eclipse can setup and detect annotation processors ?
> Why isn't annotation processor not enabled by default when generating the .settings files for it ?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list