Hi,
Regarding your first question, you can do this to get an .aop module via maven, if you put it inside an .ear:
1) Create a standard .jar-module and put your jboss-aop.xml inside the META-INF directory.
2) In the pom-file where you assembe the ear do like this:
...
<plugin>
<build>
<plugins>
<plugin>
<artifactId>maven-ear-plugin</artifactId>
...
<modules>
<javaModule>
<groupId>group.id</groupId>
<artifactId>aop-jar</artifactId>
<bundleFileName>aop-jar.aop</bundleFileName>
<includeInApplicationXml>true</includeInApplicationXml>
</javaModule>
...
The <bundleFileName> tag will package the aop-jar.jar module as aop-jar.aop in the .ear.
I have only done this for .ear-modules, but you can always check if is is possible to do with the maven plugin for assembling .wars in case you want a .war archive
Regards
Jonas Heineson