How can I turn off annotation scanning of a WAR/EAR/JAR in JBoss Enterprise Applictation Platform?

Solution Verified - Updated -

Issue

  • Our jar names change for every build and so putting the names in metadata-deployer-jboss-beans.xml file will need additional scripts etc.
Does this xml file take in wild cards or is there another way to achieve turning off annotation scanning? 

Environment

  • JBoss Enterprise Application Platform (EAP) 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.