You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by John Coleman <jo...@eurobase-international.com> on 2008/10/28 17:56:46 UTC

mvn release plugin only to release parent project

Hi,

I have a pom type parent project with modules of type jar that inherit
settings from the parent.

Is it possible to do a mvn release at the parent level that does not
build and release all the related modules? I have tried the
--non-recursive option to no effect. I just want to create a tagged
version of the parent pom and roll out the next snapshot number.

TIA
John

Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. 

Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited.  If you receive this transmission in error, please notify us immediately, and then delete this E-mail. 

Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments.

Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK.


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


Re: mvn release plugin only to release parent project

Posted by Stephen Connolly <st...@gmail.com>.
You'll probably need to run

mvn -N versions:update-child-modules

afterwards to fix all the parent references in the child modules though

(oh and then you'll need to commit the changed poms for the chiildren to
SCM)

2008/10/28 Olivier Lamy <ol...@apache.org>

> Hi,
> -N should work.
> And add -Darguments="-N"
>
> --
> Olivier
>
> 2008/10/28 John Coleman <jo...@eurobase-international.com>:
> > Hi,
> >
> > I have a pom type parent project with modules of type jar that inherit
> > settings from the parent.
> >
> > Is it possible to do a mvn release at the parent level that does not
> > build and release all the related modules? I have tried the
> > --non-recursive option to no effect. I just want to create a tagged
> > version of the parent pom and roll out the next snapshot number.
> >
> > TIA
> > John
> >
> > Eurobase International Limited and its subsidiaries (Eurobase) are unable
> to exercise control over the content of information in E-Mails. Any views
> and opinions expressed may be personal to the sender and are not necessarily
> those of Eurobase. Eurobase will not enter into any contractual obligations
> in respect of any part of its business in any E-mail.
> >
> > Privileged / confidential information may be contained in this message
> and /or any attachments. This E-mail is intended for the use of the
> addressee(s) only and may contain confidential information. If you are not
> the / an intended recipient, you are hereby notified that any use or
> dissemination of this communication is strictly prohibited.  If you receive
> this transmission in error, please notify us immediately, and then delete
> this E-mail.
> >
> > Neither the sender nor Eurobase accepts any liability whatsoever for any
> defects of any kind either in or arising from this E-mail transmission.
> E-Mail transmission cannot be guaranteed to be secure or error-free, as
> messages can be intercepted, lost, corrupted, destroyed, contain viruses, or
> arrive late or incomplete. Eurobase does not accept any responsibility for
> viruses and it is your responsibility to scan any attachments.
> >
> > Eurobase Systems Limited is the main trading company in the Eurobase
> International Group; registered in England and Wales as company number
> 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex
> CM2 0RE, UK.
> >
> >
> > ---------------------------------------------------------------------
> > 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: mvn release plugin only to release parent project

Posted by Olivier Lamy <ol...@apache.org>.
Hi,
-N should work.
And add -Darguments="-N"

--
Olivier

2008/10/28 John Coleman <jo...@eurobase-international.com>:
> Hi,
>
> I have a pom type parent project with modules of type jar that inherit
> settings from the parent.
>
> Is it possible to do a mvn release at the parent level that does not
> build and release all the related modules? I have tried the
> --non-recursive option to no effect. I just want to create a tagged
> version of the parent pom and roll out the next snapshot number.
>
> TIA
> John
>
> Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail.
>
> Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited.  If you receive this transmission in error, please notify us immediately, and then delete this E-mail.
>
> Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments.
>
> Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK.
>
>
> ---------------------------------------------------------------------
> 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