[
http://opensource.atlassian.com/projects/hibernate/browse/HV-457?page=com...
]
Kevin Pollet commented on HV-457:
---------------------------------
I've created a shaded jar with the {{maven-shade-plugin}}. After that, I've
configured an annotation processor with this shaded jar in Eclipse, Netbeans and IntelliJ.
It seems that all works fine.
To configure the annotation processor I've used the following steps:
* Eclipse: just add the shaded jar in the Processor path (by default the AP and project
classpath are isolated).
* Netbeans: Remove {{Classpath for Compiling Sources}} from the Processor path and add the
shaded jar.
* IntelliJ : Add the shaded jar path in the _Processor path_ option.
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira