Page properties |
---|
Status
This RFC is currently in the DRAFT state. Nothing in this RFC has been agreed or confirmed.
...
Table of Contents |
---|
Introduction
Excerpt |
---|
The remote repository layout defines how the central repositories used by Apache Maven as well as a non-trivial number of third party clients can access the artifacts produced as versioned releases of dependent projects. |
Overview
...
Projects
The basic unit of organisation in a repository is the project coordinates. The project coordinates consist of the pair groupId
:artifactId
.
...
Code Block | ||
---|---|---|
| ||
{ "modified":"yyyy-MM-ddThhdd'T'HH:mm:ss.SSSZSSS'Z'", // always ISONISO 8601 extended format in UTC timezone "group":[ // present if there are any artifacts deployed using the repo path as groupId "artifactId", "artifactId:platformId", "artifactId", "artifactId:platformId", "artifactId:platformId" ], "artifact":[ // present if there are any artifacts deployed using the repo path as groupId:artifactId[:platformId] "version", "version", "version", "version" ], "org.apache.maven:plugins":[ // this is a Maven specific key, hence namespaced { "name":"...", "artifactId":"...", "prefix":"..." }, { "name":"...", "artifactId":"...", "prefix":"..." } ] } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "modified":"2014-01-16T09:55:49.243Z", "artifact":[ "1.0" ] } |
...
TODO consider a counter-proposal... the top level keys are the repository "id" and then everything else is as before. This simplifies aggregating proxies and may assist with PDT Repositories as we would then know the IDs of the content from aggregating proxies, e.g.
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "central":{ "modified":"2014-01-16T09:55:49.243Z", "artifact":[ "1.0" ] } } |
...