Since we are using this dependency, we are maintaining the version of objenesis dependency which is coming as compile dependency even though we are not using the objenesis dependency directly in our project.
In this case, why the dependency version is not being managed in this cloning lib itself ?
Code changes requested:
Instead of maintaining the version here, we need to manage it in dependencyManagement section of pom
Since we are using this dependency, we are maintaining the version of
objenesisdependency which is coming as compile dependency even though we are not using the objenesis dependency directly in our project.In this case, why the dependency version is not being managed in this cloning lib itself ?
Code changes requested:
Instead of maintaining the version here, we need to manage it in
dependencyManagementsection of pom