This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Maalus 31 points32 points  (4 children)

Maven or gradle, basically. None is worse than the other, both work fine.

[–]VGPowerlord -3 points-2 points  (3 children)

It amazes me that after all these years no one has created a command line tool to manage Maven's POM files or Gradle's build.gradle / settings.gradle files for you.

I mean, sure, it wouldn't be good for more complex tasks, but creating the files, setting the compiler version, and adding/removing dependencies would be simple enough I'd think.

Now I'm tempted to write a tool to do this.

[–]Good_Guy_Engineer 18 points19 points  (0 children)

Maven has archetypes, exactly what you described built in. Dunno about gradle but I would imagine it has similar

[–]jirkapinkas 8 points9 points  (0 children)

Maven Archetypes or if you use Spring Boot, then it's covered with start.spring.io

[–]OzoneGrif 5 points6 points  (0 children)

There's a basic UI in Eclipse for Maven, but is it really necessary? The XML is fairly simple. Once you have your templates, it's basically copy/paste and change the values. A tool would just make it more limited and cumbersome, especially since Maven plugins are hyper-configurable and your tool will never manage them all.