Wow..This is really cool plugin. I usually do mvnsearch for deps upgrade. @2:06 noticed that it suggested spring boot from 2.2.5 to 2.4.0-M1, usually spring publishes GA releases to maven central. Just wondering how this plugin identified milestone releases. is it looking at custom repos as well other than maven central?
Hey Anbu, good catch! I configured the Spring Snapshot repository inside the project, that's why it detects the M1 release: github.com/rieckpil/blog-tutorials/blob/master/dependency-version-update-plugin/pom.xml#L97. If you are excluding this, it won't find any milestone or snapshot releases as they are not on Maven central.
Hi thanks for the video.I run my project on my local and not in a version control environment.What is the name of the plugin for these dependency and plugin updates?
The plugin is called Versions Maven Plugin: www.mojohaus.org/versions-maven-plugin/ - you can include it in any Maven project with/without version control.
Is there any way we can generate reports of the dependency? I checked out the property-updates-report goal but it doesn't work. Can you suggest how can reporting be done with this?
Can you try mvn dependency:analyze-report? You can find and overview of all available goals and their usae case here: maven.apache.org/plugins/maven-dependency-plugin/
How can I excludes some packages while running mvn versions:display-dependency-updates. Could you please share an example ? I tried but not worked for me.
thanks for your tutorial, how to configure automatic updates to select only stable version (not RC , not beta, alpha etc..) only the stable version for dependencies and plugins ? thanks..
i am able to update the version for dependencies locally with use-latest-release, how can make it happen on the version control(git repo) and update POM files??
you can use GitHub actions (or any CI server like Jenkins/Travis CI) for this but then would have to commit back to your repository the changed pom.xml file
Excellent info that very few nows about! Thank you!
very useful, i was looking for same
Wow..This is really cool plugin. I usually do mvnsearch for deps upgrade. @2:06 noticed that it suggested spring boot from 2.2.5 to 2.4.0-M1, usually spring publishes GA releases to maven central. Just wondering how this plugin identified milestone releases. is it looking at custom repos as well other than maven central?
Hey Anbu, good catch! I configured the Spring Snapshot repository inside the project, that's why it detects the M1 release: github.com/rieckpil/blog-tutorials/blob/master/dependency-version-update-plugin/pom.xml#L97.
If you are excluding this, it won't find any milestone or snapshot releases as they are not on Maven central.
Hi thanks for the video.I run my project on my local and not in a version control environment.What is the name of the plugin for these dependency and plugin updates?
The plugin is called Versions Maven Plugin: www.mojohaus.org/versions-maven-plugin/ - you can include it in any Maven project with/without version control.
@@rieckpil Thanks
Is there any similar plugin available for gradle to detect latest dependencies?
Yes, there is github.com/ben-manes/gradle-versions-plugin
@@rieckpil Thank you
Is there any way we can generate reports of the dependency? I checked out the property-updates-report goal but it doesn't work. Can you suggest how can reporting be done with this?
Can you try mvn dependency:analyze-report? You can find and overview of all available goals and their usae case here: maven.apache.org/plugins/maven-dependency-plugin/
How can I excludes some packages while running mvn versions:display-dependency-updates. Could you please share an example ?
I tried but not worked for me.
Is there any Automated Scripts Pipeline to check a particular dependency is included in Maven File?
I'm not aware of that
thanks for your tutorial, how to configure automatic updates to select only stable version (not RC , not beta, alpha etc..) only the stable version for dependencies and plugins ? thanks..
For automatic dependency updates I can recommend Dependabot: dependabot.com/
i am able to update the version for dependencies locally with use-latest-release, how can make it happen on the version control(git repo) and update POM files??
you can use GitHub actions (or any CI server like Jenkins/Travis CI) for this but then would have to commit back to your repository the changed pom.xml file