ok. I don't know enough GIT and DSCMs.
I understand that many people want to work on various branches but I find
that dangerous if you kkep the same version.
What happens if you deploy SNAPSHOTs binairies in a repository to do
continuous integration ?

About your problem of optimization, I could understand we need to add a
switch to deactivate it in cases like yours. But I'm not in favor to remove
it. Your usecase (switching between several branches with the same "maven
version") isn't "common" and the gain given by the optimization is
important. I think that we need more optimizations like that to redo the
minimal number of things (like we did many many years ago with make).



Arnaud Héritier
Software Factory Manager
eXo platform - http://www.exoplatform.com
---
http://www.aheritier.net


2009/12/7 Tamás Cservenák <[email protected]>

> Okay, let's put it this way:
>
> are you saying that all the different GIT reposes out there containing
> "project A" mirrors should have different versions? Who will coordinate
> those?
>
> It's somehow incompatible with Git (and probably any other distributed SCM)
> in very fundamental way....
>
> ~t~
>
> On Mon, Dec 7, 2009 at 3:30 PM, Arnaud HERITIER <[email protected]>
> wrote:
>
> > ...
> > "Renaming" (changing GAVs of modules, maybe a LOT of them) is PITA in
> this
> > case, IMHO.
> > ...
> > mvn versions:set -DnewVersion=A.B.C-optim-SNAPSHOT
> >
> > And it's done ?
> >
> >
> > Arnaud Héritier
> > Software Factory Manager
> > eXo platform - http://www.exoplatform.com
> > ---
> > http://www.aheritier.net
> >
> >
> > 2009/12/7 Tamás Cservenák <[email protected]>
> >
> > > Well, how about a "feature branch" (short lived branches)? Or you
> modify
> > > all
> > > the modules to have different GAV upon branch? This is kinda nonsense
> to
> > > me,
> > > since I branch it to do some feature that I know will get back into
> > trunk.
> > > "Renaming" (changing GAVs of modules, maybe a LOT of them) is PITA in
> > this
> > > case, IMHO.
> > >
> > > But even then, I dislike very much the idea that Maven "optimizes"
> this,
> > > and
> > > does less then I tell it to do ;)
> > >
> > > ~t~
> > >
> > > On Mon, Dec 7, 2009 at 3:18 PM, Arnaud HERITIER <[email protected]>
> > > wrote:
> > >
> > > > You have the same version in 2 branches in a project ?
> > > > For me it is a bad practice
> > > > Each branch has it own version to avoid those sort of conflict.
> > > >
> > > >
> > > > Arnaud Héritier
> > > > Software Factory Manager
> > > > eXo platform - http://www.exoplatform.com
> > > > ---
> > > > http://www.aheritier.net
> > > >
> > > >
> > > > 2009/12/7 Tamás Cservenák <[email protected]>
> > > >
> > > > > Hi there,
> > > > >
> > > > > this is mainly about this issue:
> > > > > http://jira.codehaus.org/browse/MNG-4368
> > > > >
> > > > > It caused a lot of grief (and lost hours) to me, until I figured
> what
> > > > > happens on me.
> > > > >
> > > > > IMHO, no "optimization" like this should be done against local
> > > > repository.
> > > > >
> > > > > Please undo it.
> > > > >
> > > > >
> > > > > Thanks,
> > > > > ~t~
> > > > >
> > > >
> > >
> >
>

Reply via email to