Javed,

Have you tried ${parent.artifactId} and ${parent.version}?


Ian

It's better to be hated for who you are
than loved for who you are not

Ian D. Stewart
Appl Dev Analyst-Advisory, DCS Automation
JPMorganChase Global Technology Infrastructure
Phone: (614) 244-2564
Pager: (888) 260-0078


                                                                                
                                                       
                      "javed mandary"                                           
                                                       
                      <[EMAIL PROTECTED]        To:       "Maven Users List" 
<users@maven.apache.org>                                   
                      >                        cc:                              
                                                       
                                               Subject:  Re: Getting root 
parent POM artifactid                                        
                      04/25/2006 07:14                                          
                                                       
                      AM                                                        
                                                       
                      Please respond to                                         
                                                       
                      "Maven Users                                              
                                                       
                      List"                                                     
                                                       
                                                                                
                                                       




${project.artifactId} and ${project.version} just retrieves value for
MODULE
C not for the root POM unfortunately

On 4/25/06, Sharma, Jaikumar <[EMAIL PROTECTED]> wrote:
>
> It is ${project.artifactId} and ${project.version}, as far as know.
>
> -----Original Message-----
> From: javed mandary [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 25, 2006 4:18 PM
> To: Maven Users List
> Subject: Getting root parent POM artifactid
>
>
> Hi,
>     is there any properties value that returns the top Parent POM's
> artifact id and version number.
>
> Say i have a structure as follows:
>
> root POM
>   |
>   |----------module A POM
>   |
>   |---------module B POM
>                         |
>                         |------------------module C POM
>
>
>
> Is there a way to retrieve the artifactId and version number of top root
> POM from module C POM ?
>
> cheers,
>         Javed
> - - - - - - - DISCLAIMER- - - - - - - -
> Unless indicated otherwise, the information contained in this message is
> privileged and confidential, and is intended only for the use of the
> addressee(s) named above and others who have been specifically authorized
> to
> receive it. If you are not the intended recipient, you are hereby
notified
> that any dissemination, distribution or copying of this message and/or
> attachments is strictly prohibited. The company accepts no liability for
> any
> damage caused by any virus transmitted by this email. Furthermore, the
> company does not warrant a proper and complete transmission of this
> information, nor does it accept liability for any delays. If you have
> received this message in error, please contact the sender and delete the
> message. Thank you.
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to