How to filter JARs added to EAR classpath in JBoss EAP 5

Solution Verified - Updated -

Issue

I am looking for a way to control the deployment of jar files inside of our EAR file. Basically want to filter the jar files to control which ones load and which ones should be omitted. Is there a way to do this will a custom deployer or some sort of deployment filter. If I had to write a custom deployer I would obviously have more control but being able to exclude based on jar suffix would work as well.

Environment

  • JBoss Enterprise Application Platform (EAP) 5.0.0

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.