I have several Maven projects, each of which has some common functionality, or at least a common configuration / dependency. I extracted this into a generic pom.xml and then modeled several faces, such as persistence, Spring dependencies, etc. - all in their own modules that inherit from this parent POM.
Right now, โCommonโ is version 1.0.0, and I have โProjectAโ that I want to inherit from it. I get a warning:
Version is a duplicate of the parent version
I do not quite understand why this is a warning. I thought I had the opportunity to omit the version from my POM project in order to inherit the version. (I do this for general modules - for example, common-spring adds additional common dependencies for Spring applications, and in fact ProjectA actually inherits from common-spring.)
Isn't that an option? If I change my version of ProjectA to 1.0.1 or 2.0.0, everything will be fine.
Doug Moscrop Nov 24 2018-11-11T00: 00Z
source share