<div dir="ltr"><div><div><div><div>I understand that, so just add that property to alias module.<br><br></div>But I think that adding that metadata to alias will *not* result in WARN message at boot time if anyone is using the module.<br></div>AFAIR doing ModuleLoader.loadModule(aliasModule)<br></div>will return the module to which alias is pointing to, as result we cannot read metadata of the alias directly. <br></div>David can correct me about this.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 4, 2016 at 2:19 PM, Sanne Grinovero <span dir="ltr">&lt;<a href="mailto:sanne@hibernate.org" target="_blank">sanne@hibernate.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Tomaz,<br>
the module is not deprecated: the module-alias is.<br>
<br>
In other words, I wish to deprecate the &quot;old name&quot; only.<br>
<br>
Thanks,<br>
Sanne<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 4 May 2016 at 13:08, Tomaž Cerar &lt;<a href="mailto:tomaz.cerar@gmail.com">tomaz.cerar@gmail.com</a>&gt; wrote:<br>
&gt; add extra properties to module.xml<br>
&gt;<br>
&gt; for deprecated<br>
&gt;<br>
&gt; &lt;properties&gt;<br>
&gt;     &lt;property name=&quot;jboss.api&quot; value=&quot;deprecated&quot;/&gt;<br>
&gt; &lt;/properties&gt;<br>
&gt;<br>
&gt;<br>
&gt; should do it.<br>
&gt;<br>
&gt;<br>
&gt; On Wed, May 4, 2016 at 1:49 PM, Sanne Grinovero &lt;<a href="mailto:sanne@hibernate.org">sanne@hibernate.org</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hello,<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m renaming some modules intended for WildFly users. To minimize<br>
&gt;&gt; impact on existing users, I&#39;m including module-aliases using the old<br>
&gt;&gt; name, to resolve to the new module ids.<br>
&gt;&gt;<br>
&gt;&gt; Is there a way to mark such an alias as &quot;deprecated&quot; to encourage<br>
&gt;&gt; people moving to the new naming scheme?<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; Sanne<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; wildfly-dev mailing list<br>
&gt;&gt; <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>