ApacheValidatorConfiguration.Properties.VALIDATION_XML_PATH allows you to override the location of validation.xml in a manner that is specific to Apache BVal, but if you are creating some kind of plugin I'd hardly think you'd want to tie yourself to a specific implementation of the Bean Validation specification. What specific pattern of use are you trying to support for the hypothetical plugin user?
Matt On Tue, Oct 15, 2013 at 11:48 AM, Umesh Awasthi <[email protected]>wrote: > I am trying to test bean validation for my plugin using XML based > configuration and while doing i found that i need to place validation/xml > file under > > META-INF/validation.xml inside my resource folder. > For me this seems a little strange and who so ever want to use plugin > needs to create META-INF folder inside resource folder. > > I am not sure, if my understanding is correct here and in case i am right, > is there any specific reason to choose XML location like this? or can we > customize this location > > -- > With Regards > Umesh Awasthi > http://www.travellingrants.com/ > > >
