Thanks for the tips, but i'm still struggling with this. Here's what I've done so far.
I've added the module name under -Djboss.modules.system.pkgs and added it as a cp argument as :
My org.aspectj module is defined as:
<module xmlns="urn:jboss:module:1.3" name="org.aspectj">
Now when I start Wildfly, I still don't see it trying to weave any of the base Wildfly/undertow modules. If I define the org.aspectj as a global module in the standalone.xml, the I see the weaver attempting to weave my application deployment but none of the base WF classes.
Does the jboss.modules.system.pkgs argument relate to the module name or to the package naming of the libraries? ie: do my aspects in aspectj-0.0.1-SNAPSHOT.jar also have to be in an 'org.aspectj' java package or am I free to use any package naming structure I want as long as they are part of the org.aspectj WF module definition? My aspect is actually in a test package called "aspectj". I even tried added "aspectj" to the jboss.modules.system.pkgs variable, but to no avail.
How does WF know where to find classes/packages defined in 'jboss.modules.system.pkgs'?