I’ve got to build a GUI to be run on Desktops in Java. I’m decently new to Java, and I”m trying to understand what Maven is best suited for. Is this the type of application that would be well suited for Maven? Could someone just give me a 100 word explanation of what Maven basically is?
Share
You most certainly want to use Maven for desktop apps. It’s well suited for building all kind of Java application and I personally use it for 2 quite large Swing applications. In short Maven gives you the following:
predefined project directory structure(very, very helpful)
project lifecycle(clean, compile, package, install, test)
dependency management(you only declare the libraries you use in the project and maven fetches them for you)
a lot of plugins that can basically do just about everything – run a static analysis tool on your code or update your database schema
Maven is basically driven by “convention over configuration” – sane defaults for everything to save you the time to figure out (probably) worse settings then the maven authors have chosen. I heartily recommend you to have a look at the first chapter of the Maven book(it’s just a short overview to get you hooked).