Try to use "Maven build ..." and put jboss:hard-deploy into "Goals" field.
Thank you very much, it works.
I have met another case. I do on the command line $ mvn -Drun -Dname=Pete , this is one of the se weld examples. So i have no goal. I can give on the goals line: -Drun -Dname=Pete , and this works. I can also move name=Pete to the parameters, and keep -Drun on the goals line. How can i move run to the parameters?