We have 5 different projects A,B,C,D and E where aspect class and poitncut is declared only in ProjectA and we are trying to call this pointcut method in these projects A,B,C,D and E
Project A - has the aspect class and poitncut on MethodA of CLassA. pom.xml includes aspectJ-maven-plugin , maven-compiler-plugin, aspectjrt.
From Project A, if we call MethodA , pointcut function and MethodA are executed without any issues.
Project B/C/D - pojectA is added as pom dependency in these projects to call MethodA of ProjectA
When we call ProjectA's MethodA of classA, we can see only MethodA is called and NOT the POINTCUT function is called.
STRAIGHT QUESTION - Without adding aspect-jrt dependency in the Projects B,C,D and E , if we call MethodA of ProjectA (pointcut declared) , pointcut advice /around call should be executed ?? Any possibility.
Actual Ouptut - pointcut function is not called.
Requirement - Declare a pointcut to method A of ProjectA ,whenever a method A of projectA is called by other projects, pointcut function should be executed. Is Achievable using aspectJ.
Any help pls.