Here is a more recent answer that works for Java8 (JDK8) and compile time weaving.
The problem is that the maven compiler can perform annotation processing. If its turned on and aspectj, you will try to double create the same classes.
its better to leave the maven compiler to process the annotations (generate the workflow/activity classes) since aspectJ needs them created so it can then do its weaving (@Retry @Async)
org.codehaus.mojo
aspectj-maven-plugin
1.8
compile
test-compile
1.8
true
true
1.8
1.8
com.amazonaws
aws-java-sdk-swf-libraries
none
org.apache.maven.plugins
maven-compiler-plugin
true
true
1.8
1.8