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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content