Hi
Sorry if this has been discussed before but I can not really find a
satisfying solution for this.

I have read several pre-announcement for Maven 3 indicating support for
"version less parent":"Those of you who have worked in multi-module
<http://tomionsoftware.blogspot.com/2005/12/maven-2-how-to-multiple-module-flat.html>
or multi-pom projects in Maven2 might have asked themselves, why do I
have to specify the parent version in every sub module. Maven 3 will
remove this redundancy and add version-less parent elements."

Is this really shipped in Maven 3.0.x? I can not really find any info
about it.

Anyway what is the best practice for when having several
multi-module/aggregation project? E.g
- Product (super pom)
-- Component 1 (aggregation pom)
--- project 1
--- project 2
--- project 3
-- Component 2 (aggregation pom)
--- project 4
--- project 5
--- project 6


The closest I can come with still needs to hardcode the version in
"Product" and in "Component 1" and "Component 2".
This can't not really be good. Why should I have to update several files
when I want to change the version number for my build?
It is the same product I am building.


Thanks
Lucas

Reply via email to