[hibernate-issues] [Hibernate-JIRA] Commented: (HV-457) Simplify annotation processor setup in IDEs by providing a shaded jar

Hardy Ferentschik (JIRA) noreply at atlassian.com
Mon Mar 19 05:24:48 EDT 2012


    [ https://hibernate.onjira.com/browse/HV-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46010#comment-46010 ] 

Hardy Ferentschik commented on HV-457:
--------------------------------------

{quote}
although I'm a bit concerned a bit type-safety
{quote}

I would in this case sacrifice the type-safety for the benefit of a single (non shaded) jar. Given the issues you sometimes have with integrating an AP in an IDE, the simpler is really the better.

{quote}
On the other hand the BV API doesn't change that frequently.
{quote}

Right. Give it a go. I was initially also a little concerned about dropping the JPA dependency for the metamodelgen generator, but in the end I was pleased with the result. :-)

> Simplify annotation processor setup in IDEs by providing a shaded jar
> ---------------------------------------------------------------------
>
>                 Key: HV-457
>                 URL: https://hibernate.onjira.com/browse/HV-457
>             Project: Hibernate Validator
>          Issue Type: Improvement
>          Components: annotation-processor
>            Reporter: Kevin Pollet
>            Assignee: Gunnar Morling
>
> When configuring the annotation processor in IDEs it's classpath has to be specified. In IDEs like Netbeans or IntelliJ the annotation processor can use the project classpath. But it's better if the classpath of project and annotation processor are isolated.
> In that case people shall setup manually the annotation processor classpath which has to contain at least HV and BV dependency. As Gunnar said it would be usefull to simplify the annotation processor configuration in IDEs by providing a shaded jar.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list