The true order should be:
jboss-ejb3 > as-int > AS jboss-ejb3 > Plugin
Whereas now as-int goes into Plugin. Also endpoint-deployer should be included in as-int and Plugin, and not explicitly declared by AS itself.