java - Trying to understand what gradle and maven actually do -


what gradle , maven "do" eclipse or sts doesn't? i've read builds, runs, etc can done in eclipse easily.

if have existing project i've created, built, , runs in eclipse via tomcat, use gradle for?

gradle , maven build tools. maven first , bit older, gradle newer , has redefined way of how projects built , maintained. in opinion it's easier use, more readable , easier maintain. prefer gradle ;)

you use eclipse or sts (any other ide) development. , while finish process need provide configured artifact (war, ear, whatever...) production , deploy there. these artifacts have defined format , application won't run eclipse or sts @ production environment. it's tiresome , error prone prepare such artifacts hand.

gradle or maven can take responsbility of building , preparing these artifacts (in fact such tools can more) off shoulders, make process automated.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -