I was wondering if there is any way to achieve multiple pom inheritance with
maven. I have created several pom abstractions (i.e. data access which
includes dependencies for hibernate, spring, etc... webapp which includes
dependencies for struts, etc) for convenience as most of my data access
projects follow the same pattern using hibernate and spring. I don't want
to have to redefine these dependencies in each of my data access projects.
Now here is where the problem comes in, I have a multi-module projectA that
has a model, data access, webapp projects. In addition, I have a
multi-module projectB that has a model, data access, webapp project. I
would like to have all modules in projectA have the same version so that I
can refer to version for projectA as ${project.version} in my model, data
access, and webapp. The problem that I have is that I want projectA's data
access project to inherit from both the data access pom as well as the
projectA pom. Is there any way to do this? Or is there a different
approach to achieve the desired results?
Thanks,
jp4
--
View this message in context:
http://www.nabble.com/POM-Inheritance-tf3164691s177.html#a8779117
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]