How can a module-alias be created to reference a different version of a module in JBoss EAP 6?

Solution Verified - Updated -

Issue

  • How can a module-alias be created to reference a different version of a module?
  • How can a module be versioned without duplicating the JAR files?
  • How can an application be forced to always reference the newest version of a module without changing the ‘jboss-deployment-structure.xml’ or replacing the JARs inside the ‘main’ directory?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.0.1
    • 6.1.0
    • 6.1.1
    • 6.2.0

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