The difference between release warehouse and snapshot warehouse in maven

In maven dependency management, the unique identification of a dependency is composed of three attributes of the dependency: groupId, artifactId, version

In fact, in the nexus warehouse, a warehouse is generally divided into release and snapshot

The main difference between the snapshot version (snapshot) and the official version is that the local acquisition mechanism for these dependencies is different. In the official version, if the dependency is downloaded to the local repository, if the configuration file is not modified, no matter how the remote repository modifies the dependency, it will not access the download update.

The snapshot version is different. If you don't configure it, the default is the first time every day (what? Those behaviors will cause the update) to go to the remote repository to see if it is updated. Of course it can also be configured. There are four kinds of frequencies: always: every time, daily: as above, interval: set interval minutes, never: never

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326117541&siteId=291194637