Hi Alex,
If you can share your maven config to get the two compilers to work together nicely, that would be appreciated. Which IDE do you use? I recently switched to IntelliJ to be more compatible with my team, and it seems that it doesn't handle maven AJ compilation/weaving as nicely/transparently as Eclipse does. I tend to need to either launch the maven compile process by hand, or manually activate a post-build trigger on the maven-compile process. Eclipse, on the other hand, "magically" uses the ajc compiler instead of javac on a AspectJ faceted project without any issues/worries.
I think I will need to revert to a factory based approach for the Aspect, whereby I will manually "inject" the required dependencies. I can at least use DI to inject dependencies into my factory, and then use the aspectOf() method to retrieve the Aspect and inject the appropriate fields/members there. It's the closest that I've been able to figure out. Unfortunately, I'm not able to retrieve everything from the joinpoint context, as I need to access some services that aren't used by the target class, and hence, aren't available through the JP. However, they are in the application context - hence the desire to have CDI inject the service into the Aspect for me.
Thanks,
Eric