Looks like for artifact:
<groupId>rafale.wingsofglory</groupId>
<artifactId>wings-of-glory-model</artifactId>
you need to set the version number , try using ${parent.project.version} in
your sub-modules.
hope that helps,
javed
On 5/24/06, Piéroni Raphaël <[EMAIL PROTECTED]> wrote:
Any one ?
2006/5/18, Piéroni Raphaël <[EMAIL PROTECTED]>:
>
> Hello,
>
> I have a strange failure of my buld in multi project (multi module in
new
> parlance) :
>
> When i do :
> in the parent module : mvn -N install,
> then in each module mvn -install : it works fine.
>
> When i do :
> in the parent module : mvn install,
> it fails with such a failure :
> [INFO] version was null for rafale.wingsofglory:wings-of-glory-model
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> java.lang.NullPointerException: version was null for
> rafale.wingsofglory:wings-of-glory-model
>
> my tree is like this :
> parent
> + model
> + utils (depends on model)
> + api (depends on utils and model)
> + core (depends on api utils and model)
>
> In the parent pom, i define dependencyManagment for each of these
modules
> using version = [${project.version}]
> in each module, i define a the dependencies without a version number in
> order to retreive them from the parent.
>
> Can someone help me to fix this ?
>
> In advance Thanks
> Raphaël
>
>