#configure aspectj for working with method call point cut
1 messages · Page 1 of 1 (latest)
<@&987246399047479336> please have a look, thanks.
While you are waiting for getting help, here are some tips to improve your experience:
If your code is long, or you have multiple files to share, consider posting it on sites like https://pastebin.com/ and share the link instead, that is easier to browse for helpers.
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
this is my aspect test
here is my method
plugin section
dependencies
@hearty folio Is there anything else to be done
Depending on the type of weaving you are doing, you may want to disable maven-compiler-plugin to ensure you're using ajc
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler-plugin.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<excludes>
<!-- also exclude all java files -->
<exclude>**/*.java</exclude>
</excludes>
</configuration>
<!-- skip default compile (otherwise it overrides aspectj's compiler) -->
<executions>
<execution>
<id>default-compile</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
Detected code, here are some useful tools:
Since it looks like you are testing it too, also probably want to add <goal>test-compile</goal> to aspectj-maven-plugin also