33## What is stored in the Maven metadata?
44
55The ` maven-metadata.xml ` file is a place where Maven stores basic information about artifacts.
6- It can contain useful data such as, for example :
6+ It can contain useful data such as:
77
88- Which timestamped artifact file represents the current ` SNAPSHOT ` artifact
99- What the latest deployed version of an artifact is
@@ -144,7 +144,7 @@ The `<latest/>` field is used to point to the most-recently deployed (release, o
144144that this is not always necessarily the highest available version. For example, if you have several active branches
145145under version control from which you're deploying versions of the artifact (for example ` 1.2 ` and ` 2.0 ` branches from
146146which you respectively release artifacts with versions ` 1.2.1 ` , ` 1.2.2 ` , etc. and ` 2.0.1 ` , ` 2.0.2 ` ), you may have the
147- case where an artifact from the ` 1.2 ` branch been deployed while at the same time there is also a ` 2.0.3 ` version as well .
147+ case where an artifact from the ` 1.2 ` branch has been deployed while at the same time there is also a ` 2.0.3 ` version.
148148Depending on the repository type, the ` <latest/> ` field may also be pointing to ` SNAPSHOT ` artifacts as well.
149149
150150## What is the ` release ` field used for?
@@ -168,7 +168,7 @@ When you deploy an artifact to a remote repository, Maven will check if there is
168168necessary changes into a new copy and then overwrite the data on the remote. If there is no existing ` maven-metadata.xml `
169169in the remote repository, Maven will generate a new one and deploy it.
170170
171- Sometimes the data in the repository can become corrupt and this is when the repository manager needs to be told
171+ Sometimes, the data in the repository can become corrupt and this is when the repository manager needs to be told
172172to rebuild it (or, alternatively, a scheduled task on the repository manager can take care of this to pre-emptively fix it).
173173
174174## What are the official resources on Maven metadata?
0 commit comments