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