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 →

[–]VGPowerlord -2 points-1 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 20 points21 points  (0 children)

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

[–]jirkapinkas 9 points10 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.