spring-guides / getting-started-guides

Getting Started Guide template :: The template for new guides and also the place to request them.
https://github.com/spring-guides/getting-started-guides/wiki
Apache License 2.0
519 stars 204 forks source link

too complicated pom in Maven guide #82

Open noelo-cohelo opened 5 years ago

noelo-cohelo commented 5 years ago

Hello.

I'm stepping through https://spring.io/guides/gs/maven/. It presents a pom.xml and says

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.