The most important thing I've struggled was that to install the aspectj-maven-plugin 1.7 jar I had to do it manually since these jar/pom files aren't on maven repo yet.
Update: So, the jar file can be downloaded from Haus Jira link (look at the Attachment section). If Haus is not available anymore you can download it from my github:
I based on a copy from version 1.6 but had to modify the following content:
1.7-SNAPSHOT1.8.12.2.12.9
That's all here you go, hope to help.
Update: (adding more details as Xtreme Biker asked in the comments)
In my context configuration I have:
For my java aspect I use:
@Aspect
public class NotificationAspect
{
...
@AfterThrowing(pointcut="@annotation(com.integration.core.meta.NotifyOnFailure)", throwing="ex")
public void executeOnException(JoinPoint joinPoint, ExternalApiExecutionException ex) throws Throwable
{
...
Finally official plugin released since Sep 2015
This is an update to the answer with the official plugin release. In order to use Java 8 with AspectJ, the official aspectj maven plugin can be found on this link: