kostaskougios / cloning

deep clone java objects
Other
591 stars 111 forks source link

Objenesis dependency version maintenance in this repo #122

Open Maheswari-Nagendran opened 1 year ago

Maheswari-Nagendran commented 1 year ago

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

Maheswari-Nagendran commented 1 year ago

In this commit, Powermock deps has moved the version of objenesis from dependency section to dependencyManagement section. The same needs to be implemented here as well so that team who is using this library no need to define objenesis version as well.