Re: Parent, Modules and version management

2009-09-26 Thread Emmanuel24

As I said, I define the version in ProjectParent and in this project, I
defined my modules as the figure shows it.
But my modules don't inherit from this project. That is the problem.

Emmanuel.



jeffma...@jeffmaury.com wrote:
> 
> In that case, I don't understand where the versions of your projects are
> defined because if the parents are enterprise pom, you are not allowed to
> modify them !!!
> 
> Jeff
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Parent%2C-Modules-and-version-management-tp25614127p25627113.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Parent, Modules and version management

2009-09-26 Thread Emmanuel24

Hi Jeff,

Thank you for your answer. The problem is that I can't change parent poms
because it's enterprise poms. My poms inherit from them to respect
enterprise archictecture choices.

Emmanuel.



Jeff MAURY wrote:
> 
> From my experience with Maven, I discourage using properties for
> defining pom version, Maven does handle it correctly on some cases,
> even if the properties are defined on the parent pom
> 
> I recommand using version herited from the parent and updating the
> parent version with the version plugin
> Jeff MAURY
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Parent%2C-Modules-and-version-management-tp25614127p25625561.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Parent, Modules and version management

2009-09-25 Thread Emmanuel24

Hello,


I have a multimodules project (ProjectParent) with each module has a super
pom's parent . 

See the figure:


http://www.nabble.com/file/p25614127/Screen03.jpg 

(red : parent, blue : module)


My problem is very simple. I can't manage the version of my modules from my
multimodules project. I wish to have the same version in all modules and
define this version in the ProjectParent.


I look for this in a new plugin called versions (Codehaus), but I didn't
find what I need.



Has anybody a solution for this?


Thank you very much,

Emmanuel.
-- 
View this message in context: 
http://www.nabble.com/Parent%2C-Modules-and-version-management-tp25614127p25614127.html
Sent from the Maven - Users mailing list archive at Nabble.com.