Hacker News new | ask | show | jobs
by olalonde 1470 days ago
From the official "Maven in 5 Minutes" tutorial:

    mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 -DinteractiveMode=false
From the official Rust lang book, Cargo section:

    cargo new my-project
I guess it's a matter of taste...
3 comments

I think it's worth making the distinction between Maven as a build tool and Maven as a package manager, because the latter I think does work quite well.

I've had enough maven for a lifetime. Too much time spent fiddling with settings.xml files and m2 folders, debugging builds in enterprise environments with dozen module projects and a mix of internal and public dependencies.

Now I guess you debug config.toml and build.rs files all the way up to ~/.cargo.
My IDE does that for me, you are looking at the wrong tree.
Just use `gradle init`. Even that long maven project gen command can be simply hidden by a shell parameterized alias