Release vs. Snapshot Repositories

rajeshatbuzz created the topic: Release vs. Snapshot repositories
What is the different between Release vs. Snapshot repositories in maven?

Rajesh

scmuser replied the topic: Re:Release vs. Snapshot repositories
A further segregation of remote repositories is the separation of Release repositories and Snapshot repositories. Note that release vs snapshot repos are always remote, since the local repository has effectively no concept of differentiation between releases and snapshots.

Also note that remote repositories can be set to release both snapshots and releases simultaneously.

Release

Release repositories are designed to hold artifacts that have fixed values and released versions, hence the name. Given the lack of control on artifact version names, a release is effectively any artifact whose version does NOT end in the magic string “-SNAPSHOT”.

A release repository is denoted in by having the releases tag in the repo definition set to true, indicating that a given remote repo is capable of serving releases.

Snapshots

Snapshots are defined as artifacts that whose version ends in “-SNAPSHOT”

in other word…

Release repositories hold releases and Snapshot repositories hold snapshots. In maven a snapshot is defined as an artifact with a version ending in -SNAPSHOT. When deployed, the snapshot is turned into a timestamp. By definition, snapshots are mutable, releases are immutable. This is why Nexus makes you store them separately because usually you don’t care if you lose snapshots, but you will care if you lose releases. It makes snapshot cleanup much easier to deal with that way.

Snapshot repositories are denoted by having their snapshots tag set to true in the repository definition.

Tagged :

Cloning/Accessing Repositories Form Windows

vinavs@yahoo.com created the topic: cloning/accessing repositories form windows
I am having trouble accessing the git repository from windows machine. I generated the ssh keys in windows from cygwin and added that in git lab. But still getting the error when accessing git repository

getting the following errior:

Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists

rajeshkumar replied the topic: cloning/accessing repositories form windows
You did not mentioned how you are accessing the git, using cygwin or cmd?
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :