Tuesday, 15 March 2022

What is maven snapshot dependency?

While working with Java maven projects, you might have observed dependencies with ‘SNAPSHOT’ suffix like ‘0.0.1-SNAPSHOT’.

 

Main difference between snapshot and release version is that, snapshot version get updates. That means, suppose if you download a dependency with version 1.0.0-SNAPSHOT today, it might give different jar file if you download it again after some days. Since snapshot releases are not stable ones, while moving your project to production, better not to use any snapshot dependencies.

Previous                                                    Next                                                    Home

No comments:

Post a Comment