<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"><<a href="mailto:sanne@hibernate.org" target="_blank">sanne@hibernate.org</a>></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 "old name" only.<br>
<br>
Thanks,<br>
Sanne<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 4 May 2016 at 13:08, Tomaž Cerar <<a href="mailto:tomaz.cerar@gmail.com">tomaz.cerar@gmail.com</a>> wrote:<br>
> add extra properties to module.xml<br>
><br>
> for deprecated<br>
><br>
> <properties><br>
> <property name="jboss.api" value="deprecated"/><br>
> </properties><br>
><br>
><br>
> should do it.<br>
><br>
><br>
> On Wed, May 4, 2016 at 1:49 PM, Sanne Grinovero <<a href="mailto:sanne@hibernate.org">sanne@hibernate.org</a>> wrote:<br>
>><br>
>> Hello,<br>
>><br>
>> I'm renaming some modules intended for WildFly users. To minimize<br>
>> impact on existing users, I'm including module-aliases using the old<br>
>> name, to resolve to the new module ids.<br>
>><br>
>> Is there a way to mark such an alias as "deprecated" to encourage<br>
>> people moving to the new naming scheme?<br>
>><br>
>> Thanks,<br>
>> Sanne<br>
>> _______________________________________________<br>
>> wildfly-dev mailing list<br>
>> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>