Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #23459

Re: what is the advantage of using maven for java standalone app

From x@x.com (znôrt)
Newsgroups comp.lang.java.programmer
Subject Re: what is the advantage of using maven for java standalone app
Date 2013-04-15 20:56 +0200
Organization love&happiness
Message-ID <87bo9ffwrw.fsf@smoothskuarematr.ix_> (permalink)
References <9db463b7-fba0-46be-9390-4a144df49443@googlegroups.com> <kkbod5$jpj$1@dont-email.me> <00047d26-c262-4b60-be0c-9e75a3bfa56b@googlegroups.com> <kkbtjs$o67$1@dont-email.me> <d985e078-7bf4-48a7-996c-4c0a32b39635@googlegroups.com>

Show all headers | View raw


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 :-)

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

what is the advantage of using maven for java standalone app mcheung63@gmail.com - 2013-04-13 04:37 -0700
  Re: what is the advantage of using maven for java standalone app Stanimir Stamenkov <s7an10@netscape.net> - 2013-04-13 17:02 +0300
    Re: what is the advantage of using maven for java standalone app mcheung63@gmail.com - 2013-04-13 08:14 -0700
      Re: what is the advantage of using maven for java standalone app Stanimir Stamenkov <s7an10@netscape.net> - 2013-04-13 18:31 +0300
        Re: what is the advantage of using maven for java standalone app mcheung63@gmail.com - 2013-04-14 00:27 -0700
          Re: what is the advantage of using maven for java standalone app Stanimir Stamenkov <s7an10@netscape.net> - 2013-04-14 13:34 +0300
          Re: what is the advantage of using maven for java standalone app Lew <lewbloch@gmail.com> - 2013-04-14 18:13 -0700
          Re: what is the advantage of using maven for java standalone app x@x.com (znôrt) - 2013-04-15 20:56 +0200
          Re: what is the advantage of using maven for java standalone app Arne Vajhøj <arne@vajhoej.dk> - 2013-04-15 21:40 -0400
    Re: what is the advantage of using maven for java standalone app Arne Vajhøj <arne@vajhoej.dk> - 2013-04-15 21:37 -0400
  Re: what is the advantage of using maven for java standalone app Stanimir Stamenkov <s7an10@netscape.net> - 2013-04-13 18:42 +0300
    Re: what is the advantage of using maven for java standalone app Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-04-13 15:02 -0300
    Re: what is the advantage of using maven for java standalone app mcheung63@gmail.com - 2013-04-14 00:27 -0700
    Re: what is the advantage of using maven for java standalone app Arne Vajhøj <arne@vajhoej.dk> - 2013-04-15 21:42 -0400
  Re: what is the advantage of using maven for java standalone app Arne Vajhøj <arne@vajhoej.dk> - 2013-04-15 21:36 -0400

csiph-web