In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to parse the Snapshot version and Release version of Maven. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have some understanding of the relevant knowledge after reading this article.
Snapshot version and Release version of Maven
1. The Snapshot version represents the unstable and developing version 2. The Release version represents the stable version 3. Under what circumstances should I use SNAPSHOT? In collaborative development, if A depends on component B, because B will update, B should use SNAPSHOT to identify itself. The necessity of this practice can be disproved as follows: a. If B does not use SNAPSHOT, but uses a stable version after each update, the version number will rise too fast, one liter per day or even one liter per hour, which is the abuse of the version number. b. If B does not use SNAPSHOT but always uses a single Release version number, A may not accept the update when B is updated. Because the repository used by A does not update the cache of the release version (that is, the local repository) frequently, after B is updated without changing the version number, A finds that this version already exists locally when taking B, so it will not go to the remote Repository to download the latest B4. Is it okay to use the SNAPSHOT version everywhere instead of the Release version? no way. The snapshot version of the library cannot be used in a formal environment. For example, if you successfully build your application today on a third-party library of a version of snapshot, you may fail to build it again tomorrow, because the third party may have updated its snapshot library tonight. When you build again, Maven will go to the remote repository to download the latest version of snapshot, and the library you build will be the new jar file, so it's hard to guarantee correctness. On how to parse the Snapshot version of Maven and Release version to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.