[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dependencies.dependency.version is missing in pom.xml



Hi all,

Recently I have ran into maven-built package with POMs lacking
'<version>...</version>' properties for its dependencies. This however
seems to fail the build process:

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for junit:junit:jar is
missing. @ line 121, column 15

I don't know much about POMs, so my first question is: Is this
allowed/usual?

I have managed to get around the problem by patching the POMs by adding
'<version>debian</version>'. Maybe there is a better way to deal with
such cases? If not, could the mh_patchpoms be modified to add
'<version>debian</version>' where they are missing?

Best,
Andrius



Reply to: