[hibernate-dev] [HSEARCH] Problem with JBoss logging

Hardy Ferentschik hardy at hibernate.org
Fri Jun 3 14:44:07 EDT 2011


Hi,

I blogged about this before in relation to the metamodel generator -  
http://in.relation.to/17636.lace
As Sanne is saying the best way to run a annotation processor independent  
 from the
main compilation is maven-processor-plugin.

--Hardy

On Fri, 03 Jun 2011 02:09:48 +0200, Davide D'Alto <daltodavide at gmail.com>  
wrote:

> Thank you. Great job.
> And now I can have some fun with git.
>
> Davide
>
> On Thu, Jun 2, 2011 at 7:26 PM, Sanne Grinovero <sanne at hibernate.org>  
> wrote:
>> Hi Davide,
>> so, this took me a while as there where a number of problems with the
>> annotation processor; thanks to John and Steve for pointing me in the
>> right direction.
>>
>> The main problem was:  http://bugs.sun.com/view_bug.do?bug_id=6512707
>> basically we can't have the annotation processor run during compile
>> phase, but need to do that in a second phase.
>>
>> I've pushed my version of your patches on my branch:
>> https://github.com/Sanne/hibernate-search/tree/HSEARCH-675
>>
>> After many experiments including maven-ant-run and maven compiler
>> settings, it seems I found a clean strategy using
>> org.bsc.maven:maven-processor-plugin.
>> I had this discarded initially as it's documentation said it was not
>> in central.. but Gustavo pointed out it actually is! great teamwork.
>>
>> Please note I've been cleaning up the reformatting mess in the pom.xml
>> s, now you can see that the changes are straight to the point, with no
>> whitespace noise or other unrelated changes. I've appended some of the
>> patches you made on top of it, but I'll leave that to you to judge
>> which ones where duplicate/redundant and to cleanup your history:
>> have fun with git, that's a good excercise :)
>>
>> thanks again for all the help,
>> Sanne



More information about the hibernate-dev mailing list