-
Bug
-
Resolution: Done
-
Major
-
29.0.0.Alpha1
-
None
-
---
-
---
The following module aliases are relics of refactored modules and should be deprecated:
- org.hibernate.infinispan
- Alias to org.infinispan.hibernate-cache
- org.hibernate.envers
- Alias to org.hibernate
- org.infinispan.cachestore.remote
- Alias to org.infinispan.persistence.remote
- org.jboss.as.clustering.ejb3
- Alias to org.wildfly.clustering.ejb.infinispan
- org.jboss.as.clustering.web
- Alias to org.wildfly.clustering.web.infinispan
- org.jboss.as.modcluster
- Alias to org.wildfly.extension.mod_cluster
- org.wildfly.clustering.server
- Alias to org.wildfly.clustering.server.infinispan
- org.wildfly.clustering.singleton
- Alias to org.wildfly.clustering.singleton.api
To deprecate a module intended for use in deployment-structure.xml:
<module-alias xmlns="urn:jboss:module:1.9" name="foo.bar" target-name="foo.baz"/>
Replace with:
<module xmlns="urn:jboss:module:1.9" name="foo.bar"> <properties> <property name="jboss.api" value="deprecated"/> </properties> <dependencies> <module name="foo.baz" export="true" services="export"/> </dependencies> </module>
Otherwise, just leave a comment indicating the module alias is deprecated (since no WARN would otherwise be emitted).