Re: how to use both buildnumber-maven-plugin and maven-release-plugin

2017-10-25 Thread Stephen Coy
Doh! I misinterpreted the docs and was thinking that the flatten-maven-plugin was something only needed for multi-module projects… Thanks for clearing that up. Steve C > On 25 Oct 2017, at 7:46 pm, Karl Heinz Marbaise wrote: > > Hi, > > On 25/10/17 08:50, Stephen Coy

Re: how to use both buildnumber-maven-plugin and maven-release-plugin

2017-10-25 Thread Karl Heinz Marbaise
Hi, On 25/10/17 08:50, Stephen Coy wrote: Hi Pascal, Unfortunately this method results in pom files being deployed with releases that do not have corresponding versions in them. In fact, the version is literally: ${revision} This results in build warnings for consumers of the

Re: how to use both buildnumber-maven-plugin and maven-release-plugin

2017-10-25 Thread Stephen Coy
Hi Pascal, Unfortunately this method results in pom files being deployed with releases that do not have corresponding versions in them. In fact, the version is literally: ${revision} This results in build warnings for consumers of the released artifact. Cheers, Steve C > On 24 Oct

RE: [EXTERNAL] Re: how to use both buildnumber-maven-plugin and maven-release-plugin

2017-10-24 Thread Justin Georgeson
ight be walking into with something like that? > > > > -Original Message- > > From: Karl Heinz Marbaise [mailto:khmarba...@gmx.de] > > Sent: Tuesday, October 24, 2017 4:30 AM > > To: Maven Users List <users@maven.apache.org>; Justin Georgeson > > <

Re: [EXTERNAL] Re: how to use both buildnumber-maven-plugin and maven-release-plugin

2017-10-24 Thread Karl Heinz Marbaise
n Users List <users@maven.apache.org>; Justin Georgeson <justin.george...@halliburton.com> Subject: [EXTERNAL] Re: how to use both buildnumber-maven-plugin and maven-release-plugin External Sender: Use caution with links/attachments. Hi, the question is what the real problem is? Can yo

RE: [EXTERNAL] Re: how to use both buildnumber-maven-plugin and maven-release-plugin

2017-10-24 Thread Justin Georgeson
aven Users List <users@maven.apache.org>; Justin Georgeson <justin.george...@halliburton.com> Subject: [EXTERNAL] Re: how to use both buildnumber-maven-plugin and maven-release-plugin External Sender: Use caution with links/attachments. Hi, the question is what the real problem is? C

Re: how to use both buildnumber-maven-plugin and maven-release-plugin

2017-10-24 Thread Karl Heinz Marbaise
Hi, the question is what the real problem is? Can you have an example project which shows the problem? Or can you describe more in detail what exactly does not work or not work like you expect it.. Kind regards Karl Heinz Marbaise

Re: how to use both buildnumber-maven-plugin and maven-release-plugin

2017-10-24 Thread Pascal
For me it's hard to understand the problem you are having, it might help to specify the exact errors you are getting. If you are willing to try something other than the release plugin, have a look at https://axelfontaine.com/blog/dead-burried.html Cheers, Pascal 2017-10-23 18:40 GMT+02:00

how to use both buildnumber-maven-plugin and maven-release-plugin

2017-10-23 Thread Justin Georgeson
The 'clean verify' invoked by release:prepare fails in buildnumber-maven-plugin because pom.xml is modified. I can pass arguments to release:prepare have buildnumber-maven-plugin skip the check for modifications, but that check is one of the main motivations for using it in the first place.