maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manfred Moser" <>
Subject Re: Jenkins and Maven
Date Thu, 13 Oct 2016 16:33:22 GMT
I agree with Stephen .. avoid the Maven job type. In fact I would install Daniel's\

I have spent many hours trying to fix broken builds with the Maven job type only to switch
to Freestyle jobs and they just work. There is a reason why Eclipse Hudson declared the job
type legacy and has an improved Maven freestyle integration (but thats kind of beside the
point when you look at Jenkins).

Also in terms of settings management and such I suggest to use the config file provider plugin.

I recorded a demo video about that stuff some while ago (for Sonatype in the context of deploying
to Nexus but applies generically). Its part of the tips from the trenches series

Here are the two Jenkins videos

Also if you want to invoke maven from a shell script or so you might want to look at the wrapper.



Benson Margulies wrote on 2016-10-13 06:59:

> We've about had it with bamboo, and are dusting off our old Jenkins instance.
> I recall some messages here about things _not_ to do with Jenkins and
> Maven. Do we avoid the 'maven build type' altogether and just run
> Maven from the shell, or is my memory faulty? Anything else.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message