Markus
Parent.pom
|
v
-------------------------------------------------------------------------
|
|
v
v
Child1.pom
Child2.pom
release:prepare where <property> updates/changes
Child1.pom
Child11.pom
Child12.pom
|
v
---------------------------------------
| |
v v
Child11.pom Child12.pom
can you envision a scenario where release plugin should break inheritance and
update Parent instead of child <module> s
?
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung.
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est
interdite. Ce message sert à l'information seulement et n'aura pas n'importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Subject: RE: mvn release:prepare does not update parent version
> Date: Mon, 22 Jul 2013 22:29:07 +0200
> From: [email protected]
> To: [email protected]
>
> Thanks for picking up this thread!
>
> I am using: Maven 3.0.4 and maven-release-plugin 2.4.1
>
> -Markus
>
> > Hi, which version of Maven and Maven-Release-Plugin are you using?
> >
> > On Mon, Jul 22, 2013 at 9:25 AM, Markus Karg <[email protected]> wrote:
> >
> > > I'm driving nuts with mvn release:prepare...:
> > >
> > > When I do mvn release:prepare, Maven asks whether I want to update
> > all
> > > SNAPSHOT version referenced in the POM.
> > > I say "yes" and confirm all suggested replacement versions
> unchanged.
> > > When Maven is done, I check the POM.xml.
> > > It is correctly rewritten for all references, but not for the parent
> > > version.
> > > The parent version still references the *old* SNAPSHOT, while
> > > obviously it should now name the *next* SNAPSHOT.
> > >
> > > Can somebody tell me what I have to do so that mvn release:prepare
> > > will also make the parent version point tot he *next* SNAPSHOT, as
> it
> > > does it correctly with the dependencies and the project's own
> > version?
> > >
> > > Thanks!
> > > -Markus
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > >
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>