my needs are very similar as those described by you,
My inicial idea was to create a build number based on the ant task, and start by having just a property file with build id.
this is far from optimal, but it's better than having to mantain that manually synchronized.

In an ideal world, this build number plugin would have to use cases:
UC1: goal to increment current build number (stored in a property file)
UC2: make available build number as a property in the pom, I don't know if this is possible, and if possible, if it requires a plugin or something else.

UC2: would facilitate things like <version>M.m-${buildnumber}

now that I've wrote this, a lot of my problems would be solved if I could have a plugin that increments the current pom version and write the pom version in the property file. this would be functionally similar but I think is a better approach. what do you think about this?


On 1/27/06, Brian E. Fox <[EMAIL PROTECTED]> wrote:
Cause release doesn't work for me with the whole plugin/dependencyManagment parent injection issue. I have to do everything manually.


From: dan tran [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 27, 2006 6:29 PM

To: [email protected]
Subject: Re: [mojo-dev] BuildNumber plugin

why not let release plugin to handle your build number   1.0.0-xyx?
xyx is increamented automatically
 
-Dan


 
On 1/27/06, Brian E. Fox <[EMAIL PROTECTED]> wrote:
I'd be potentially interested also depending on how/what it does. We go
to test with multiple iterations, each needing a unique id. Currently we
use a 4 digit model where the last is the build number. We increment
each iteration until the final one ships.

-----Original Message-----
From: John Casey [mailto:[EMAIL PROTECTED] ]
Sent: Friday, January 27, 2006 2:28 PM
To: [email protected]
Subject: Re: [mojo-dev] BuildNumber plugin

Do you have an idea of how you'd implement this build number? If so, how
would it change the way you represent artifacts built with it in another
project's dependencies?

I may have a similar need before long, but I'd like to hear what your
ideas are.

-john

Miguel Griffa wrote:
> Hi all
>   I was wondering if there would be any interest in hosting a build
> number plugin at mojo.
> For political reasons, I need this functionallity in a project, in
> this case read political = stupid + closed to discussion.
>   Any ideas?
>
> --
> Miguel Griffa
> Skype: miguel.griffa
> Y!: m_griffa
> MSN: [EMAIL PROTECTED] <mailto: [EMAIL PROTECTED]>
> Cell: 54-911-62519355






--
Miguel Griffa
Skype: miguel.griffa
Y!: m_griffa
MSN: [EMAIL PROTECTED]
Cell: 54-911-62519355

Reply via email to