Hello,

While some repository managers have additional logic (like staging repos where 
the user can review and integrate the result of single/multiple uploads) the 
protocol is not particular transactional. It’s a bunch of single file uploads 
and the Repo managers are more or less smart to do that in a consistent way.

This includes correlating and checking checksums, signatures and pom file. Most 
probably the most important part is the meta data file for that, uploaded last.

(Simple Repo managers rely on the merging of existing versions by wagon Repo 
merge)

https://maven.apache.org/ref/3.8.4/maven-repository-metadata/index.html

Gruss
Bernd
--
http://bernd.eckenfels.net
________________________________
Von: amruta kawade <amrutakaw...@gmail.com>
Gesendet: Saturday, July 30, 2022 4:55:44 AM
An: users@maven.apache.org <users@maven.apache.org>
Betreff: Maven multiple requests transaction

Hi

I wanted to understand if there is any marker or handshake by which we will
get to know how many files will be uploaded in maven deploy project.

as maven uploads a single file at a time and there is no indication of how
many files will be uploaded once you receive a request for any particular
release version. how will the maven repository understand that all file
requests are received ? how many pending file requests are there.

Also how does the central maven repository handle this scenario ?

Thanks,
Amruta Kawade

Reply via email to