${pom.parent.parent.artifactId} and ${pom.parent.parent.version}

this should work with the specified hierarchy.
but if "C POM" does not have 2 parent poms, but just 1 or even 0, your
script fails with NullPointerException.




On 4/25/06, javed mandary <[EMAIL PROTECTED]> wrote:
> 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
>
>

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

Reply via email to