title: Spring boot - is there a way to disable AOP for a given profile?
body: <p>I have been having issues with AOP when running the build and/or running tests. I tried to annotate the <code>@Aspect</code> class with <code>@Profile("local", "war")</code> to make sure that aspect is only accessible to the "local" and "war" profiles, but a scenario might incur when we need to add that aspect support to another profile. And we prefer not to have this hard-coded there.</p>
  
  <p>Is there a clean way to forbid, for instance, the "test" profile to access a given aspect class?</p>