On my understanding with the release plugin, if you run it on the parent pom, all module references to the parent pom will be incremented too. And it is done by using the release:prepare

So, if you have:
 parent (1.0-SNAPSHOT)
    - child01
    - child02

The parent declarations for child01 and child02 will become 1.0 after release:prepare.




Olivier Lamy wrote:

Hi,
I have the following structure
pom.xml (pom packaging root with modules declaration and some common
dependencies)
        - apis (interfaces and abstract classes)
        - jdbc one implementation of the api
        - webservices one implementation of the api
        ....

All are in snapshots versions.
I want to release only the root pom in order to release only few
modules.
I use the release plugin in the root directory with -N option just to
release the root pom.
I need it because I can't a release a module with SNAPSHOT parents. But all the cvs is tagging (the modules are not excluding).

Do I have a solution ?
Do I need to change the structure to something as this :
Fake root pom
        - root-pom
        ...

Thanks in advance,
- Olivier



This e-mail, any attachments and the information contained therein ("this 
message") are confidential and intended solely for the use of the addressee(s). If 
you have received this message in error please send it back to the sender and delete it. 
Unauthorized publication, use, dissemination or disclosure of this message, either in 
whole or in part is strictly prohibited.
********************************************************************** Ce message electronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci apres "le message" ), sont confidentiels et destines exclusivement a l'usage de la personne a laquelle ils sont adresses. Si vous avez recu ce message par erreur, merci de le renvoyer a son emetteur et de le detruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressement autorisees de ce message, sont interdites. **********************************************************************

---------------------------------------------------------------------
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]

Reply via email to