How to know what build / dependency management system a project is using?


I'm hoping someone can tell me if there is a way to determine what build system is in place for a project when a plugin is loaded, and, how to access the properties defined either in the maven pom files or the gradle build files?

What I am specifically trying to do is extend the MapStruct plugin to take account of `<comilerArgs/>` that are added to the maven compiler plugin `<annotationProcessor/>` section of a maven POM.

1 comment

Hi Andy,

For detecting the build system, please see:

Regarding the compiler options, try to use:


Please sign in to leave a comment.