Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-11-10 Thread Eric B
Thanks. The extension is precisely what I'm looking for. Eric On Nov 9, 2017 3:47 AM, "Pascal" wrote: > > interpolation of these special parameters must happen prior to the > execution of any plugins > > That's exactly correct. It's why I built >

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-11-09 Thread Pascal
> interpolation of these special parameters must happen prior to the execution of any plugins That's exactly correct. It's why I built https://github.com/pascalgn/properties-maven-extension which is implemented as an extension and runs before any plugins will be executed. Maybe it can help you.

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-11-08 Thread Eric B
I tried removing the empty sha1 declaration as well but that didn't work either. I'm guessing it's due to sequencing - that the interpolation of these special parameters must happen prior to the execution of any plugins, but would love confirmation of that. Additionally would love to know if

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-11-08 Thread Laird Nelson
On Wed, Nov 8, 2017 at 2:31 PM Eric Benzacar wrote: > But when I actually run the build all the interpolated version numbers > ignore the ${sha1} property as generated by the buildnumber-m-p, even > though I bound the create to the validate phase. > [snip] A snippet of my

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-11-08 Thread Dan Tran
I don't think I can help much since I don't use sha1 for revision prop. For my case, I run buildnumber:create-metadata top level only (true) to track SCM info per build and user Jenkins env.BUILD_NUMBER for CD version -Dan On Wed, Nov 8, 2017 at 2:30 PM, Eric Benzacar

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-11-08 Thread Eric Benzacar
Hi Guys, Sorry to reopen a 6 month old thread, but I'm trying to add some more smarts to my stuff, and am failing trying to figure out how to do this. I want to use the buildnumber-maven-plugin:create-metadata goal to generate the metadata build.properties file, which is a great addition to my

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-07-26 Thread Dan Tran
Hi Eric i am using the follow at top level parent ${revision} x.y.x-SNAPSHOT In child pom ... ${revision} At jenskins file I have a param releaseVersion by default it is empty if the releaseVersion is not empty, then pass

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-07-26 Thread Eric Benzacar
Dan, Thanks for the update. I'm at the state where I am trying to integrated CD with a large multi-module maven project and trying to get this process running smoothly with Jenkins. For the moment, I'm ok to use a split-Continuous Deployment concept - similar to yours. ie: using SNAPSHOTs for

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-06-02 Thread Dan Tran
Just want to share our final outcomes 1. Use snapshot build during development phase 2. At release candidate phase, switch jenkinsfile to release mode * For small projects, use version less Maven continuous deliver friendly, * For large projects, use versions-maven-plugin to change

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-14 Thread Dan Tran
I also noticed it takes about a minute for the build to roll after this [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... This is not a good news for local dev build here are 2 time summaries running 250+ modules with skipTests and 4 thread smart builder. The first

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-10 Thread Dan Tran
gt;> >>> Kind regards >>> Karl Heinz Marbaise >>> >>> >>> >>> >>> >>> >>> >>> On 08/05/17 14:29, Stephen Connolly wrote: >>> >>> On Mon 8 May 2017 at 03:58, Eric Benzacar

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-10 Thread Eric B
t; Sent: Wednesday, May 10, 2017 3:32:43 AM > To: Maven Users List; i...@soebes.de > Subject: Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible? > > Thanks for the detailed explanation. > > A couple of questions come to mind: > > 1) can the element only contai

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-10 Thread Karl Heinz Marbaise
From: Eric Benzacar <e...@benzacar.ca> Sent: Monday, May 8, 2017 3:35:46 AM To: Maven Users List Cc: i...@soebes.de Subject: Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible? I'm confused by something in Karl's blog as well as the instructions for the

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-09 Thread Dan Tran
: Maven Users List; i...@soebes.de > Subject: Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible? > > Thanks for the detailed explanation. > > A couple of questions come to mind: > > 1) can the element only contain a variables, or can it be a > combination of

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-09 Thread Bernd Eckenfels
; Sent: Wednesday, May 10, 2017 3:32:43 AM To: Maven Users List; i...@soebes.de Subject: Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible? Thanks for the detailed explanation. A couple of questions come to mind: 1) can the element only contain a variables, or can it be a combination of

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-09 Thread Eric Benzacar
LI or by an extension. At >> least as I understand it >> >> >> >>> Thanks, >>> >>> Eric >>> >>> >>> On Sun, May 7, 2017 at 9:59 PM, Bernd Eckenfels <e...@zusammenkunft.net> >>> wrote: >>> >>> Hel

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-09 Thread Dan Tran
gt;>> >>> >>> On Sun, May 7, 2017 at 9:59 PM, Bernd Eckenfels <e...@zusammenkunft.net> >>> wrote: >>> >>> Hello, >>>> >>>> Only those specific properties are allowed. If I remember correctly the >>>> r

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-08 Thread Karl Heinz Marbaise
fels.net From: Eric Benzacar <e...@benzacar.ca> Sent: Monday, May 8, 2017 3:35:46 AM To: Maven Users List Cc: i...@soebes.de Subject: Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible? I'm confused by something in Karl's blog as well as the in

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-08 Thread Karl Heinz Marbaise
s Karl Heinz Marbaise -Original Message- From: Robert Patrick [mailto:robert.patr...@oracle.com] Sent: Thursday, May 4, 2017 3:18 PM To: Maven Users List <users@maven.apache.org>; i...@soebes.de Subject: [EXTERNAL] RE: Continuous Delivery with Maven now possible? External Sender: Use

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-08 Thread Dan Tran
urthermore handles in this relationship some other things >>> wrong >>> which results in not working things like this.. >>> >>> >>> Kind regards >>> Karl Heinz Marbaise >>> >>> >>> -Original Message

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-08 Thread Karl Heinz Marbaise
atrick [mailto:robert.patr...@oracle.com] Sent: Thursday, May 4, 2017 3:18 PM To: Maven Users List <users@maven.apache.org>; i...@soebes.de Subject: [EXTERNAL] RE: Continuous Delivery with Maven now possible? External Sender: Use caution with links/attachments. Hard to train developers to brea

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-08 Thread Stephen Connolly
> > Thanks, > > > > Eric > > > > > > On Thu, May 4, 2017 at 9:40 PM, Justin Georgeson <jgeorge...@lgc.com> > > wrote: > > > > > Yup :) > > > > > > -Original Message- > > > From: Karl Heinz Marbaise [ma

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-07 Thread Eric Benzacar
9e152db9d2c08b1a01436547805 > > Gruss > Bernd > -- > http://bernd.eckenfels.net > > From: Eric Benzacar <e...@benzacar.ca> > Sent: Monday, May 8, 2017 3:35:46 AM > To: Maven Users List > Cc: i...@soebes.de > Subject: Re: [EXTE

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-07 Thread Bernd Eckenfels
=181b0215aa1199e152db9d2c08b1a01436547805 Gruss Bernd -- http://bernd.eckenfels.net From: Eric Benzacar <e...@benzacar.ca> Sent: Monday, May 8, 2017 3:35:46 AM To: Maven Users List Cc: i...@soebes.de Subject: Re: [EXTERNAL] RE: Continuous Delivery with Maven now po

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-07 Thread Eric Benzacar
Thursday, May 4, 2017 4:52 PM > To: Justin Georgeson <jgeorge...@lgc.com>; Maven Users List < > users@maven.apache.org>; i...@soebes.de > Subject: Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible? > > External Sender: Use caution with links/attachments. >

RE: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-04 Thread Justin Georgeson
Yup :) -Original Message- From: Karl Heinz Marbaise [mailto:khmarba...@gmx.de] Sent: Thursday, May 4, 2017 4:52 PM To: Justin Georgeson <jgeorge...@lgc.com>; Maven Users List <users@maven.apache.org>; i...@soebes.de Subject: Re: [EXTERNAL] RE: Continuous Delivery with Maven

Re: Continuous Delivery with Maven now possible?

2017-05-04 Thread Eric Benzacar
Hi, Thanks for the detailed response. You have a lot of great points in there, and most of them I agree with (and partially implement already). As a CI/CD server, I'm using Jenkins and constantly trying to find better ways to do things. > First if you make a release your release process must

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-04 Thread Dan Tran
May 4, 2017 3:18 PM >> To: Maven Users List <users@maven.apache.org>; i...@soebes.de >> Subject: [EXTERNAL] RE: Continuous Delivery with Maven now possible? >> >> External Sender: Use caution with links/attachments. >> >> >> >> Hard to train deve

Re: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-04 Thread Karl Heinz Marbaise
Robert Patrick; Maven Users List; i...@soebes.de Subject: Re: Continuous Delivery with Maven now possible? Hi Robert, Ah now I see the issue. If you have a multi module build you should use mvn -pl moduleToBuild clean install but from root location and don't change into the module directory

RE: [EXTERNAL] RE: Continuous Delivery with Maven now possible?

2017-05-04 Thread Justin Georgeson
Users List; i...@soebes.de Subject: Re: Continuous Delivery with Maven now possible? Hi Robert, Ah now I see the issue. If you have a multi module build you should use mvn -pl moduleToBuild clean install but from root location and don't change into the module directory cause this can't wor

RE: Continuous Delivery with Maven now possible?

2017-05-04 Thread Robert Patrick
Hard to train developers to break old habits but thanks... :-) -Original Message- From: Karl Heinz Marbaise [mailto:khmarba...@gmx.de] Sent: Thursday, May 04, 2017 3:16 PM To: Robert Patrick; Maven Users List; i...@soebes.de Subject: Re: Continuous Delivery with Maven now possible? Hi

Re: Continuous Delivery with Maven now possible?

2017-05-04 Thread Karl Heinz Marbaise
..@gmx.de] Sent: Thursday, May 04, 2017 3:02 PM To: Maven Users List Subject: Re: Continuous Delivery with Maven now possible? Hi Robert, On 04/05/17 21:55, Robert Patrick wrote: With 3.5, you can now use a variable *but* that variable > has to be accessible to the POM prior to finding its

RE: Continuous Delivery with Maven now possible?

2017-05-04 Thread Robert Patrick
..@gmx.de] Sent: Thursday, May 04, 2017 3:02 PM To: Maven Users List Subject: Re: Continuous Delivery with Maven now possible? Hi Robert, On 04/05/17 21:55, Robert Patrick wrote: > With 3.5, you can now use a variable *but* that variable > has to be accessible to the POM prior to finding i

Re: Continuous Delivery with Maven now possible?

2017-05-04 Thread Karl Heinz Marbaise
hand shouldn't be that hard ... Kind regards Karl Heinz Marbaise -Original Message- From: Eric Benzacar [mailto:e...@benzacar.ca] Sent: Thursday, May 04, 2017 12:53 PM To: Maven Users List Subject: Re: Continuous Delivery with Maven now possible? I've read through Karl's blog (https

Re: Continuous Delivery with Maven now possible?

2017-05-04 Thread Karl Heinz Marbaise
From: Eric Benzacar [mailto:e...@benzacar.ca] Sent: Thursday, May 04, 2017 12:53 PM To: Maven Users List Subject: Re: Continuous Delivery with Maven now possible? I've read through Karl's blog (https://urldefense.proofpoint.com/v2/url?u=http-3A__blog.soebes.de_blog_=DwIFaQ=RoP1YumCXCgaW

Re: Continuous Delivery with Maven now possible?

2017-05-04 Thread Karl Heinz Marbaise
Hi, On 04/05/17 19:53, Eric Benzacar wrote: I've read through Karl's blog (http://blog.soebes.de/blog/ 2017/04/02/maven-pom-files-without-a-version-in-it/), and while I understand the approach, there is still one critical issue that bothers me. I think this actually reopens an old thread that

RE: Continuous Delivery with Maven now possible?

2017-05-04 Thread Robert Patrick
be overridden to refer to it? -Original Message- From: Eric Benzacar [mailto:e...@benzacar.ca] Sent: Thursday, May 04, 2017 12:53 PM To: Maven Users List Subject: Re: Continuous Delivery with Maven now possible? I've read through Karl's blog (https://urldefense.proofpoint.com/v2/url?u=http

Re: Continuous Delivery with Maven now possible?

2017-05-04 Thread Dan Tran
for trace-ability, i add this to top level pom org.codehaus.mojo buildnumber-maven-plugin this-has-scm-info-for-tagging-and-tracability-purpose prepare-package create-metadata

Re: Continuous Delivery with Maven now possible?

2017-05-04 Thread Eric Benzacar
I've read through Karl's blog (http://blog.soebes.de/blog/ 2017/04/02/maven-pom-files-without-a-version-in-it/), and while I understand the approach, there is still one critical issue that bothers me. I think this actually reopens an old thread that circulated on this list a few months ago, but

Re: Continuous Delivery with Maven now possible?

2017-05-04 Thread Dan Tran
a couple corrections: * for Jenkins freeslyle, one can create a job parameter similiar to this format revision=x.y.x-${BUILD_NUMBER} to override the default maven version * for Jenkins Pipeline, the revision handling is part of projec's t Jenkinsfile The original blog is here

Re: Continuous Delivery with Maven now possible?

2017-05-04 Thread Thomas Broyer
How about everybody read their mail? (see below) On Thu, May 4, 2017 at 6:10 PM Curtis Rueden wrote: > Hi Dan, Karl & everyone, > > > See Karl's Blog > > Link, please? > […] > > > > On 03/05/17 20:39, Dan Tran wrote: > > > > > > > >> Hi > > > >> > > > >> I have been

Re: Continuous Delivery with Maven now possible?

2017-05-04 Thread Curtis Rueden
Hi Dan, Karl & everyone, > See Karl's Blog Link, please? Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden On Wed, May 3, 2017 at 7:54 PM, Dan Tran wrote: > I am able

Re: Continuous Delivery with Maven now possible?

2017-05-04 Thread jieryn
http://blog.soebes.de/blog/2017/04/02/maven-pom-files-without-a-version-in-it/ On Thu, May 4, 2017 at 7:48 AM, Eric B wrote: > Hi Dan, > > Can you point me to Karl's blog please? I looked for it, but can't seem to > find it. > > Thanks! > > Eric > > On May 3, 2017 8:56 PM,

Re: Continuous Delivery with Maven now possible?

2017-05-04 Thread Eric B
Hi Dan, Can you point me to Karl's blog please? I looked for it, but can't seem to find it. Thanks! Eric On May 3, 2017 8:56 PM, "Dan Tran" wrote: > I am able to bring it to production with very small project with few > modules. Where I hook up jenkins build number with

Re: Continuous Delivery with Maven now possible?

2017-05-03 Thread Dan Tran
I am able to bring it to production with very small project with few modules. Where I hook up jenkins build number with the version 1.0.0-${env.BUILD_NUMBER} See Karl's Blog At the same time, use buildnumber-m-p to deploy text file with SCM info, and finally push to staging repo using

Re: Continuous Delivery with Maven now possible?

2017-05-03 Thread Eric B
Hi Karl, Can you provide a little more information how you are doing this? Or do you have a blog about it somewhere? It's something I desperately need to insert into my build pipeline but haven't had the time to work on yet. So far, the best I've been able to think of is to use a parameter for a

Re: Continuous Delivery with Maven now possible?

2017-05-03 Thread Karl Heinz Marbaise
Hi Dan, I'm trying to do something in this direction starting next week... Apart from that already tested it with Eclipse Neon without any issue...(at the moment only test projects with 10-15 modules)... But it works at the moment.. In the meantime I have found one issue which is related to