How this can happen when we have everything in place.
1>Jboss 5.1 home set in environmental variables
2>Pom.xml is written properly.
3>Sample application downloaded from jboss arquillian site only.
4>Build it successfully.
5>While running the tests in junit , it showing this warning.
6>What should i do to avoid this type of warning, after doing all the set-up ready?
You have missed something in step 2.
This is Maven complaining that your trying to activate a Profile, using mvn -Pjbossas-remote-5.1, but you don't have a Profile defined with the name in the pom.