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 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.