Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: x@x.com (=?utf-8?Q?zn=C3=B4rt?=) Newsgroups: comp.lang.java.programmer Subject: Re: what is the advantage of using maven for java standalone app Date: Mon, 15 Apr 2013 20:56:19 +0200 Organization: love&happiness Lines: 29 Message-ID: <87bo9ffwrw.fsf@smoothskuarematr.ix_> References: <9db463b7-fba0-46be-9390-4a144df49443@googlegroups.com> <00047d26-c262-4b60-be0c-9e75a3bfa56b@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx05.eternal-september.org; posting-host="693232b22f231c4c41bc4f65768ff8e3"; logging-data="7411"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18rFitMwc6B1dNInO0B3szL" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:RDsZjFwNw9BWo31uTWcu6AKb6bo= sha1:AHrCmpglm9F48jdGM32KiharGkk= Xref: csiph.com comp.lang.java.programmer:23459 mcheung63@gmail.com writes: > hi i used husdon to build a war and auto deploy to my tomcat every 1 > hour, so when i browse to my tomcat, i always see the my latest > webapp. If i am doing standalone app, even hudson can build a jar for > me, i still need a lot of step to run it manually, so i think it is > not a great advantage. just in case: maven is just a build system, hudson provides continuous integration and for that it supports maven or many other build systems. the goal of continuous integration is not that "you seee your last app" at any moment, but to verify that the app is always in consistent state at any moment, and that you will know if it is not. this verification is done by running automated tests when anything changes. now, these automated tests you have to write yourself, and the tools needed for this depend entirely on the type and purpose of your apps and on what you want to test. if you do not have automated testing for that app then continuous integration is of little value. it may be even dangerous. some kitten could die, man! > One point I agree with maven is that it can manage the dependence > version more easily. But this is not a very bid advantage for me. That > why i ask the questionin here. thanks if you alerady use maven and your next project fits, i guess the natural choice is to keep using maven. the less tools the better, but choose wisely :-)