0

Is it possible to somehow include a dependency's version number in a pom's properties tag pair? I simply want to get hold of a dependency's version number. This is more or less an extension of this question:

Possible to get one of dependency version to insert into a filtered resource file?

This is basically what I want to achieve, but I don't want to have to explicitly write down the version number of the dependency I need - i.e. I should be able to inherit the version number of the dependency.

Community
  • 1
  • 1
liquidus219
  • 129
  • 1
  • 8

1 Answers1

0

No.

Version is Mandatory for Dependency Management and dependency resolution.

but can ease you by mentioning version such a way like

getting latest version all the time. getting version between specified range. etc.

More info

Community
  • 1
  • 1
Pramod S. Nikam
  • 4,271
  • 4
  • 38
  • 62