Hi,

I believe that it is not possible to access artifactId/version/etc from
parent poms. However it is possible to define properties in the parent
pom which are accessable from the dependent projects.

Cheers,

Simon


On Tue, 2006-04-25 at 15:14 +0400, javed mandary wrote:
> ${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