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


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

Getting A Build Process In Place

Newsgroups comp.lang.java.programmer
Date 2012-12-07 02:06 -0800
Message-ID <5e2d6688-c429-4551-956f-8e8108a339c5@googlegroups.com> (permalink)
Subject Getting A Build Process In Place
From Lee Theobald <lee@ltheobald.co.uk>

Show all headers | 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