Finally, I found a way to accomplish this by define a map inside the class org.jboss.system.deployers.LegacyDeploymentContextComparator
in conf/bootstrap/deployers.xml.
Reply to this message by going to Community
Start a new discussion in JBoss Tools at Community