Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Include / exclude when using aspect library in maven

Hi,

I am currently moving aspects from a regular multi module maven project with production code to a separate aspect library (different maven artifact). However, I need different modules of my production code to use different subsets of the aspect library.

Is there a possibility to limit the aspects I use from an external library by package?

e.g.

parent
  - project a
  - project b
  - project c

where each of these projects is woven against lib "external" using the packages
  - external.common and external.a
  - external.common and external.b
  - external.common and external.c
respectively.

Is this kind of setup possible with maven or ant or do I have to split my aspect libraries into a multi module project also?

Regards, Sean


Back to the top