-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version Update Configuration Rules. #541
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.versionBackup
to .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.xml
so 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