With the exception of the optional element, this is the simplest possible pom.xml file necessary to build a Java project.
which is not true.
First thing, the is anyway set as default, so I don't see why it's explicitly set in the pom which is intended to be minimal and simple.
But the more important thing is whole build tag - that's true, the guide says in the end it's not necessary, but not everyone will read to the end.
And that makes impression that tag is necessary for valid pom (and it takes around half of code here), which is not correct.
Hello.
I'm stepping through https://spring.io/guides/gs/maven/. It presents a pom.xml and says
which is not true.
First thing, the is anyway set as default, so I don't see why it's explicitly set in the pom which is intended to be minimal and simple.
But the more important thing is whole build tag - that's true, the guide says in the end it's not necessary, but not everyone will read to the end.
And that makes impression that tag is necessary for valid pom (and it takes around half of code here), which is not correct.