When writing a gradle-plugin, we can add some functional tests under src/functionalTest/java.
What is your recommendation for Maven Plugin? Everything seems quite old.
Documentation: https://maven.apache.org/plugin-developers/plugin-testing.html
Did you try any of those method?