0

I am new to maven. Got an issue which is probably resolved by the first answer in this question

My question is where do I find this plugin configuration? There is no "plugins" section in my pom.xml, so I am guessing it should be somewhere else. I have grep'd for "maven-compiler-plugin" in my project's dir and I cant find it in any file. So where would this plugin configuration be ?

Community
  • 1
  • 1
NRJ
  • 1,064
  • 3
  • 15
  • 32

1 Answers1

1

Some "internal" maven plugins (like maven-compiler-plugin) have a default, implicit configuration according to the packaging of your project.

You can see what is the default configuration with mvn help:effective-pom.

In order to override this configuration, just add the build, plugins section to your pom.xml. Once you've added the configuration, just check again with mvn help:effective-pom.

Martín Schonaker
  • 7,273
  • 4
  • 32
  • 55