java - Why do I need Maven if I use Eclipse? -


i have seen if right click on project in eclipse , choose run on server, can see output means project running.

if working fine without maven, what's point of using it. how different running via eclipse?

maven build tool (build manager, in fact), similar ant. main job of build tool configure project, compile using required projects , final packaging. build script in project gives blue-print of project's deliverable structure. frees configurable dependencies on specific ide eclipse. need know standard command perform build , can build code anywhere.

now, question, why wouldn't in eclipse?

for simple project , small team maven overkill. can communicate configuration, ide use, , instruct special steps taken. in big projects, however, there exits lots of loosely coupled dependencies. start with, there different settings developer machine build, test build , production build. there requirements run automated test, integration tests, store build package (artifact) commonly accessible repository, update versions of various modules.

obviously, if steps mentioned above done manually there chances of missing step. moreover, manual process time consuming.

ideally, should prefer tool fits best you. if think you're able achieve required without maven, makes sense not use maven/build-tool because uses it.

it suggested study automated deployment, give bigger picture on stuffs can build tools. , if not feel adds value current process, don't need maven or other build tool right now.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -