<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Folks,<div><br></div><div>currently we allow an arbitrary module alias to be defined with a deployment/subdeployment in jboss-deployment-structure.xml. The ServiceModuleLoader will however only accept module identifiers that have the 'deployment.' prefix.&nbsp;</div><div><br></div><div>I believe the 'deployment.' prefix is an unnecessary constraint for deployed module aliases. Deployments should be able to define any alias. This would allow for a deployment to get&nbsp;'promoted' to a system module without breaking clients. A module alias should be unique, if a deployment defines an alias of an already existing module it should fail. System modules&nbsp;cannot have dependencies on deployment modules.<br><div><div></div></div></div><div><br></div><div>This&nbsp;<a href="https://github.com/wildfly/wildfly/pull/4547">change</a>, provides a fallback in the&nbsp;ServiceModuleLoader that allows deployment modules to be loaded by their alias even if they don't have the&nbsp;'deployment.' prefix. Unless I'm mistaken it only applies to inter deployment dependencies.</div><div><br></div><div>What do you think?</div><div><br></div><div>cheers</div><div>--thomas</div><div><div apple-content-edited="true">
<div><pre class="moz-signature" cols="72">xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
JBoss OSGi Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx </pre><div><br></div></div><br class="Apple-interchange-newline">

</div>
<br></div></body></html>