we can get some ra.xml files in the deployer resources directory. like src/test/resources/Ra15Outbound.xml. And we use ant to handle it: rename Ra15Outbound.xml into ra.xml and jar it (include jboss-ra.xml and metafest) to Ra15Outbound.rar, put into build/deployer.
Is it ok?
Just put the metadata files under separate directories - using the name of the .rar file as the name.
It makes it easier to figure out where each file goes.