[jboss-user] [JBoss AOP] - packaging .aop using maven?

Jonas Heineson do-not-reply at jboss.com
Mon Apr 12 10:12:17 EDT 2010

Jonas Heineson [http://community.jboss.org/people/heineson] replied to the discussion

"packaging .aop using maven?"

To view the discussion, visit: http://community.jboss.org/message/536922#536922


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:
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

Jonas Heineson


Reply to this message by going to Community

Start a new discussion in JBoss AOP at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100412/1f8e88d5/attachment.html 

More information about the jboss-user mailing list