Filter resources correctly to void to copy twice the beans.xml file