druid
druid copied to clipboard
It seems the forbidden apis check do not work
The build log:
Classes directory does not exist, forbidden apis check skipped
The forbiddenapis plugin works on compiled classes. Currently, the Mojo runs in the validate lifecycle phase, there may be no classes for it to check forbidden apis if we have cleared all classes. To make it work, we have to run a compile command first, then the maven command may like this mvn clean compile compile which is not elegant. So modify the execution phase to compile may better.
I'll open a PR to do this.