I have setted up my Structure Deployer to recognize (return true) some deployments I'm not really need. But JBoss5 returned me a message like that:
Are you sure you don't have any classpath and metadata location entries setup?
Seems that annotations from this "not need" subdeployments are still recognized by EJBDeployer or some other deployers. How can I tell other deployers not to check "not need" package at all?
* http://java.dzone.com/articles/jboss-microcontainer-scanning