continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Höller <mar...@xss.co.at>
Subject Re: Sub modules don't find parent pom
Date Wed, 13 Feb 2008 07:56:31 GMT
Hi!

On Tuesday 12 February 2008 wrote ewryan:
> The error I receive follows:
>
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
> Project ID: null:moduleA:jar:null
>
>
> Reason: Cannot find parent: ${myGroupId}:${myArtifactId} for project:
> null:moduleA:jar:null for project null:moduleA:jar:null
>
>
> ${myGroupId} and ${myArtifactId} variables are defined in the parent pom.
> It seems as though ${myGroupId} ${myArtifactId} are not being picked up
> by the submodules.  How can I get these variables to be recognized up by
> the subModules?

Are you defining ${myGroupId} and ${myArtifactId} in the parent and then 
using it in the child to specify the parent? That's not possible! At least 
the parent has to be specified without variables comming from the 
parent-pom!

hth,
- martin
-- 
Martin Höller                   | martin.hoeller@xss.co.at
*x Software + Systeme           | http://www.xss.co.at/
Karmarschgasse 51/2/20          | Tel: +43-1-6060114-30
A-1100 Vienna, Austria          | Fax: +43-1-6060114-71

Mime
View raw message