I am working with a mavenised java project in Eclipse with several modules which fails to build throwing the error from the pom file:
Project build error: 'dependencies.dependency.version' for cml:jumbo-converters-molecule-xyz:jar is missing.
These errors relate to the sub-modules. They do not carry version numbers. It does not happen for all cases of submodules
Does this mean I have to add version numbers to all pom files and all references in pom files? Or can I add something which neglects the version number until I get it built?
You need to add a dependencyManagement
section to the parent POM, and specify version numbers there. See http://maven.apache.org/ref/3.0.4/maven-model/maven.html#class_dependencyManagement
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With