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


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

Getting A Build Process In Place

Received by 10.224.189.16 with SMTP id dc16mr3806377qab.0.1354874799930; Fri, 07 Dec 2012 02:06:39 -0800 (PST)
Received by 10.49.86.106 with SMTP id o10mr920741qez.14.1354874799914; Fri, 07 Dec 2012 02:06:39 -0800 (PST)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!c8no1880651qao.0!news-out.google.com!gf5ni48613358qab.0!nntp.google.com!c8no1880649qao.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Fri, 7 Dec 2012 02:06:39 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=193.34.187.142; posting-account=YO8NKQoAAAAa_mKUOvHC5zaoZ6Idw1uK
NNTP-Posting-Host 193.34.187.142
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <5e2d6688-c429-4551-956f-8e8108a339c5@googlegroups.com> (permalink)
Subject Getting A Build Process In Place
From Lee Theobald <lee@ltheobald.co.uk>
Injection-Date Fri, 07 Dec 2012 10:06:39 +0000
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Xref csiph.com comp.lang.java.programmer:20151

Show key headers only | View raw


Hi all,

I'm trying to get our company build process a little more automated and would appreciate some feedback on where to direct our attention.  The current build process works as follows:

- Projects are normally web applications packaged in wars.  We use Maven to manage dependencies etc. & the code is stored in SVN.
- Within our pom.xml, we have a number of Maven profiles.  There is normally a "shared" profile that contains the majority of the configuration for the application (put in place with the resources plugin) followed by a more environment specific profile (dev, staging, production etc.) containing additional information.
- When it comes to building for an environment, a developer will build a war file on his local machine using a machine command similar to "mvn -P shared,production clean package".
- This gives the developer a war file.  They then SCP these up to the relevant server, extract to a Tomcat & restart that Tomcat.

This is working fine but there's a lot of room for improvement.  Recently we've looked at using Jenkins for continuous integration but haven't got too far with it.

So here are the points I'm wondering about:

1) Are Maven profiles the best way of storing this specific environment?  The pom's are certainly getting bloated with a lot of configuration & this can be quite intimidating to a newbie.  Any suggestions on alternatives
2) The whole devops movement seems to be something that could help me out here but I'm not too sure where to start.  I've heard about a pipeline using something along the lines of Maven --> Jenkins --> Puppet working well.  With Jenkins handling the build & Puppet deploying.  Does anyone have any experience with this?

Cheers for any input
Lee,

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


Thread

Getting A Build Process In Place Lee Theobald <lee@ltheobald.co.uk> - 2012-12-07 02:06 -0800
  Re: Getting A Build Process In Place Leif Roar Moldskred <leifm@dimnakorr.com> - 2012-12-07 04:36 -0600
    Re: Getting A Build Process In Place Arne Vajhøj <arne@vajhoej.dk> - 2012-12-07 20:13 -0500
      Re: Getting A Build Process In Place Leif Roar Moldskred <leifm@dimnakorr.com> - 2012-12-07 20:44 -0600
  Re: Getting A Build Process In Place Roedy Green <see_website@mindprod.com.invalid> - 2012-12-08 00:51 -0800
    Re: Getting A Build Process In Place Arne Vajhøj <arne@vajhoej.dk> - 2012-12-09 18:47 -0500
  Re: Getting A Build Process In Place Fredrik Jonson <fredrik@jonson.org> - 2012-12-08 10:45 +0000
  Re: Getting A Build Process In Place Lee Theobald <lee@ltheobald.co.uk> - 2013-01-24 01:45 -0800
    Re: Getting A Build Process In Place Roedy Green <see_website@mindprod.com.invalid> - 2013-01-26 19:24 -0800

csiph-web