Version Update Configuration Rules.#541
Version Update Configuration Rules.#541cheenamalhotra merged 4 commits intomicrosoft:devfrom nsidhaye:dev
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #541 +/- ##
============================================
- Coverage 46.68% 46.67% -0.02%
+ Complexity 2228 2219 -9
============================================
Files 108 108
Lines 25308 25308
Branches 4175 4175
============================================
- Hits 11815 11812 -3
- Misses 11463 11465 +2
- Partials 2030 2031 +1
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## dev #541 +/- ##
===========================================
+ Coverage 46.5% 46.54% +0.03%
- Complexity 2211 2214 +3
===========================================
Files 108 108
Lines 25320 25320
Branches 4177 4177
===========================================
+ Hits 11775 11785 +10
+ Misses 11515 11501 -14
- Partials 2030 2034 +4
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Hello @nsidhaye Thank you very much for your contribution. I really like the idea of this PR.
A few questions before we merge:
- let's delete
<!-- try with false -->in pom file? - let's also add
pom.xml.versionBackupto .gitignore file?
Maybe we can also add the following comments that you have mentioned to the pom file:
mvn versions:display-dependency-updates : Shows newer version of dependencies
mvn versions:use-latest-releases : Update dependencies to latest version
mvn versions:update-properties : Update dependencies by updating properties
|
Thanks @nsidhaye for the updates. Thanks for your contribution. |
Generally Maven Project use version plugin to update dependencies. Maven Version gives you way to automate update dependencies.
Most of times we need only stable dependencies. In this PR I am adding
maven-version-rules.xmlso we can configure which version we need to omit from automatic update.Ref:
Any Maven Project can use following commands:
mvn versions:display-dependency-updates: Shows newer version of dependenciesmvn versions:use-latest-releases: Update dependencies to latest versionmvn versions:update-properties: Update dependencies by updating properties