Maven has plugins for practically every conceivable use case - if I have to implement all that, this single Java file will become another giant file that will bring its own can of worms minus the advantages of the Maven ecosystem.
I'm enjoying this approach. It can likely pull most of the Maven functionality needed for my (simple) projects.
Worked on transitive dependencies, and let me tell you, the version of such a dependency can be literally anywhere.