Hi,
take a look at subsystem example https://github.com/jbossas/archetypes/tree/master/jboss-as-subsystem-example
what you are interested in is deployment unit processor
example is here:
https://github.com/jbossas/archetypes/blob/master/jboss-as-subsystem-example/src/main/java/com/acme/corp/tracker/deployment/SubsystemDeploymentProcessor.java
i think you can quite easily modify this example to warn about some strange dependancies.
In general I like your idea :)
--
tomaz