hi,
this should work, the only thing looking fishy is the jandex task, that <fileset dir="${deploy.dir}" there should be just your jar file and nothing else
you can run jandex manualy in command line
by running java -jar jandex.jar and it will give you all options, but in general you need just to create index for your jar file that has annotations.
--
tomaz