During deployment, application server does scanning of the whole archive, CDI is just one small part of of that whole process.
If process takes long time it is usually because of the big deployment,
server tries to index all code in your deployment (war,jar, lib jars,...) so it can discover all annotations it need for different things.
so if it is taking lots of time, maybe problem is either your whole deployment is really big, or you maybe running antivirus software that is blocking/slowing the scanning process.
if your deployment is big, you can maybe post list of jars you have in your lib folders and maybe we can help you trim some fat.
if it is antivirus, disable it for .class/.jar files or add excludes for wildfly folder