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

Kevin Pollet (JIRA) noreply at atlassian.com
Mon Mar 21 14:58:08 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41811#action_41811 ] 

Kevin Pollet commented on HV-457:
---------------------------------

Maybe we could provide two jar of the AP (the shaded and the original AP jar). I'm thinking that the shaded is only a "distribution" artifact of the AP to simplify the user setup in IDEs and the use with the maven annotation plugin (if the shaded jar is deployed with the original jar). The original jar could be used when the AP is added to the project class path (like a normal maven dependency). The disadvantage of this approach is that it can be a source of misuse for the user.

WDYT ?

> Simplify annotation processor setup in IDEs by providing a shaded jar
> ---------------------------------------------------------------------
>
>                 Key: HV-457
>                 URL: http://opensource.atlassian.com/projects/hibernate/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.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list