-1

Last few days I was working on maven topics. I realized all the default plugins comes from super pom as per this link. I executed the command mvn dependency:resolve-plugins after removing the compiler plugin i could see all the plugins there. My question is if i am not mentioning in my pom those compiler plugin then from where those plugin coming to my effective pom. I could not see compiler plugin the Super pom.

Your inputs are valuable.

Swastik
  • 499
  • 1
  • 4
  • 10
  • Okay. So it comes from the packaging type. Therefore, if we do not need to change the version of the compiler and all we do not need to explicitly mention those plugins. am i right? – Swastik Jan 02 '21 at 04:16

1 Answers1

0

The default plugin bindings do not come from the super POM, but from the default lifecycles:

https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#built-in-lifecycle-bindings

J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142