You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Paul Benedict <pb...@apache.org> on 2009/12/17 18:28:09 UTC

Batch releasing many projects in Maven. Is it possible?

My work situation is similar to what I learned about Eclipse. There's
a "release train" in which 10-20 projects -- with dependencies on each
other -- have to be versioned, built, and deployed. It's extremely
tedious manually do this in the console. Can Maven provide any
alleviation? Ideally, I would write a project (type pom) with all the
projects as dependencies that I want to batch release, and let the
Maven Release Plugin take care of things.

Possible or a dream?

Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Batch releasing many projects in Maven. Is it possible?

Posted by Siegfried Goeschl <si...@it20one.at>.
Hi Paul,

had a similar situation which I temporarily this week

+) all "variable" version are expressed as properties in the M2 pom
+) wrote a little ANT script based on <regexp> task to replace the
variable with the expanded values

if this helps I can send you the script as a starting point

Cheers,

Siegfried Goeschl

Paul Benedict wrote:
> Thanks Stephen. It looks like this feature isn't handled by Maven yet.
> These aren't parent-child projects, so it appears I have to remain
> doing it manually.
>
> Paul
>
> On Thu, Dec 17, 2009 at 12:28 PM, Stephen Connolly
> <st...@gmail.com> wrote:
>   
>> http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#commitByProject
>>
>> might be a property that "could" help
>>
>> 2009/12/17 Stephen Connolly <st...@gmail.com>
>>
>>     
>>> depends on how your scm's are organised...
>>>
>>> 2009/12/17 Paul Benedict <pb...@apache.org>
>>>
>>> My work situation is similar to what I learned about Eclipse. There's
>>>       
>>>> a "release train" in which 10-20 projects -- with dependencies on each
>>>> other -- have to be versioned, built, and deployed. It's extremely
>>>> tedious manually do this in the console. Can Maven provide any
>>>> alleviation? Ideally, I would write a project (type pom) with all the
>>>> projects as dependencies that I want to batch release, and let the
>>>> Maven Release Plugin take care of things.
>>>>
>>>> Possible or a dream?
>>>>
>>>> Paul
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>>         
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Batch releasing many projects in Maven. Is it possible?

Posted by Paul Benedict <pb...@apache.org>.
Thanks Stephen. It looks like this feature isn't handled by Maven yet.
These aren't parent-child projects, so it appears I have to remain
doing it manually.

Paul

On Thu, Dec 17, 2009 at 12:28 PM, Stephen Connolly
<st...@gmail.com> wrote:
> http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#commitByProject
>
> might be a property that "could" help
>
> 2009/12/17 Stephen Connolly <st...@gmail.com>
>
>> depends on how your scm's are organised...
>>
>> 2009/12/17 Paul Benedict <pb...@apache.org>
>>
>> My work situation is similar to what I learned about Eclipse. There's
>>> a "release train" in which 10-20 projects -- with dependencies on each
>>> other -- have to be versioned, built, and deployed. It's extremely
>>> tedious manually do this in the console. Can Maven provide any
>>> alleviation? Ideally, I would write a project (type pom) with all the
>>> projects as dependencies that I want to batch release, and let the
>>> Maven Release Plugin take care of things.
>>>
>>> Possible or a dream?
>>>
>>> Paul
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Batch releasing many projects in Maven. Is it possible?

Posted by Stephen Connolly <st...@gmail.com>.
http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#commitByProject

might be a property that "could" help

2009/12/17 Stephen Connolly <st...@gmail.com>

> depends on how your scm's are organised...
>
> 2009/12/17 Paul Benedict <pb...@apache.org>
>
> My work situation is similar to what I learned about Eclipse. There's
>> a "release train" in which 10-20 projects -- with dependencies on each
>> other -- have to be versioned, built, and deployed. It's extremely
>> tedious manually do this in the console. Can Maven provide any
>> alleviation? Ideally, I would write a project (type pom) with all the
>> projects as dependencies that I want to batch release, and let the
>> Maven Release Plugin take care of things.
>>
>> Possible or a dream?
>>
>> Paul
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>

Re: Batch releasing many projects in Maven. Is it possible?

Posted by Stephen Connolly <st...@gmail.com>.
depends on how your scm's are organised...

2009/12/17 Paul Benedict <pb...@apache.org>

> My work situation is similar to what I learned about Eclipse. There's
> a "release train" in which 10-20 projects -- with dependencies on each
> other -- have to be versioned, built, and deployed. It's extremely
> tedious manually do this in the console. Can Maven provide any
> alleviation? Ideally, I would write a project (type pom) with all the
> projects as dependencies that I want to batch release, and let the
> Maven Release Plugin take care of things.
>
> Possible or a dream?
>
> Paul
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>