As far as I know, the application deployed on WildFly will see the datastores dependencies only if they are included in the manifest or in the jboss-deployment.xml.
Why do you think this might be a recipe for disaster on WildFly?