You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stefan Fritz <sf...@gmx.at> on 2008/10/14 08:06:28 UTC

How to release module build projects?

Hi,

I try to use mvn release in a multi-module build scenario but I'm not 
sure whether I go into the right direction.
Our standalone projects have the following structure:

projA
        \_trunk
        \_tags
        \_branches

We also have some multi module projects and I wonder what is the best 
way to structure these to be able to run a "mvn release:perform" on the 
module build pom?

My first thought was to have trunk/tags/branches on the module-parent as 
well:

moduleBuild
                    \_trunk
                    |          \_pom.xml (which defines the modules via 
../projA/trunk etc.)
                     \_tags
                     \_branches
                     \_projA
                                \_trunk
                                \_tags
                                \_branches
                     \_projB
                                \_trunk
                                \_tags
                                \_branches
   
  

Is that recommended or is there a smarter way to do that?
Is there any documentation regarding releasing module builds?

Thanks
Stefan


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


Re: How to release module build projects?

Posted by Brett Porter <br...@apache.org>.
release:* is designed for a single trunk. So if you'd like to develop and
release them together, keep them in the same trunk. If you'd like to develop
and branch them separately as you have below, released them separately.
Cheers,
Brett

2008/10/14 Stefan Fritz <sf...@gmx.at>

> Hi,
>
> I try to use mvn release in a multi-module build scenario but I'm not sure
> whether I go into the right direction.
> Our standalone projects have the following structure:
>
> projA
>       \_trunk
>       \_tags
>       \_branches
>
> We also have some multi module projects and I wonder what is the best way
> to structure these to be able to run a "mvn release:perform" on the module
> build pom?
>
> My first thought was to have trunk/tags/branches on the module-parent as
> well:
>
> moduleBuild
>                   \_trunk
>                   |          \_pom.xml (which defines the modules via
> ../projA/trunk etc.)
>                    \_tags
>                    \_branches
>                    \_projA
>                               \_trunk
>                               \_tags
>                               \_branches
>                    \_projB
>                               \_trunk
>                               \_tags
>                               \_branches
>
> Is that recommended or is there a smarter way to do that?
> Is there any documentation regarding releasing module builds?
>
> Thanks
> Stefan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Brett Porter
http://blogs.exist.com/bporter/