[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
Fri Mar 16 12:30:48 EDT 2012


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

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

I became a little reluctant towards shading after our experience with shading in HV directly. 

Our of interest, why do we need any dependency. Just for the annotations? If so, I had the same issue in meamodelgen which required initially the JPA spec. However, it was just using it, because it was referencing some annotation classes. In the end I as able to remove the dependency and just work with strings. Would that not be an option for the HV AP as well?

> 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
>
> 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