META-INF.beans.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd" version="1.1" bean-discovery-mode="all"> <scan> <exclude name="br.com.caelum.vraptor.converter.jodatime.*"> <if-class-not-available name="org.joda.time.LocalDate"/> </exclude> <exclude name="br.com.caelum.vraptor.validator.beanvalidation.*"> <if-class-not-available name="javax.validation.executable.ExecutableValidator"/> </exclude> <exclude name="br.com.caelum.vraptor.interceptor.multipart.CommonsUploadMultipartInterceptor"> <if-class-not-available name="org.apache.commons.fileupload.FileItem"/> </exclude> <exclude name="br.com.caelum.vraptor.interceptor.multipart.DefaultServletFileUploadCreator"> <if-class-not-available name="org.apache.commons.fileupload.FileItem"/> </exclude> <exclude name="br.com.caelum.vraptor.interceptor.multipart.NullMultipartInterceptor"> <if-class-available name="org.apache.commons.fileupload.FileItem"/> </exclude> <exclude name="br.com.caelum.vraptor.serialization.xstream.*"> <if-class-not-available name="com.thoughtworks.xstream.XStream"/> </exclude> <exclude name="br.com.caelum.vraptor.deserialization.xstream.*"> <if-class-not-available name="com.thoughtworks.xstream.XStream"/> </exclude> <exclude name="br.com.caelum.vraptor.serialization.gson.*"> <if-class-not-available name="com.google.gson.Gson"/> </exclude> <exclude name="br.com.caelum.vraptor.deserialization.gson.*"> <if-class-not-available name="com.google.gson.Gson"/> </exclude> <exclude name="br.com.caelum.vraptor.util.**" /> <exclude name="br.com.caelum.vraptor.*" /> </scan> </beans>