You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2023/05/18 16:53:38 UTC

[maven-site] branch index created (now 60b94fa4)

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a change to branch index
in repository https://gitbox.apache.org/repos/asf/maven-site.git


      at 60b94fa4 add documentation on additional content published in repositories

This branch includes the following new commits:

     new 60b94fa4 add documentation on additional content published in repositories

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-site] 01/01: add documentation on additional content published in repositories

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch index
in repository https://gitbox.apache.org/repos/asf/maven-site.git

commit 60b94fa4462aca1374dce7f027a25029cdc60ebe
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Thu May 18 18:53:24 2023 +0200

    add documentation on additional content published in repositories
---
 content/apt/repository/central-index.apt | 19 ++++++++++---------
 content/markdown/repository/layout.md    | 23 +++++++++++++++++++++++
 2 files changed, 33 insertions(+), 9 deletions(-)

diff --git a/content/apt/repository/central-index.apt b/content/apt/repository/central-index.apt
index 556f2531..028d8227 100644
--- a/content/apt/repository/central-index.apt
+++ b/content/apt/repository/central-index.apt
@@ -28,19 +28,18 @@
 
 Central Index
 
-  Central repository provides {{{https://repo.maven.apache.org/maven2/.index/}an index}} that is updated weekly as
-  full (<<<nexus-maven-repository-index.gz>>>) and incremental (<<<nexus-maven-repository-index.<n>.gz>>> +
-  <<<nexus-maven-repository-index.properties>>>).
+  Central repository provides {{{https://repo.maven.apache.org/maven2/.index/}an index in <<</.index>>>}}:
+  
+    * full index (<<<nexus-maven-repository-index.gz>>>) is updated weekly,
+    * incremental index (<<<nexus-maven-repository-index.<n>.gz>>> + <<<nexus-maven-repository-index.properties>>>).
 
-  This index is build using {{{/maven-indexer/}Maven Indexer}}: see
-  {{{/maven-indexer-archives/maven-indexer-LATEST/indexer-core/}LATEST indexer-core documentation}} for more
+  This index is build using {{{/maven-indexer/}Maven Indexer}}: see {{{/maven-indexer/indexer-core/}indexer-core documentation}} for more
   details on the fields that are available.
 
-  You can use {{{/maven-indexer-archives/maven-indexer-LATEST/indexer-core/apidocs/}Maven Indexer API}}
-  (see {{{/maven-indexer-archives/maven-indexer-LATEST/indexer-examples/}examples}}) to use
-  this index with a dedicated API, or use {{{http://lucene.apache.org/}Apache Lucene}} indexes browsers like
+  You can use {{{/maven-indexer/indexer-core/apidocs/}Maven Indexer API}} (see {{{/maven-indexer/indexer-examples/}examples}}) to use
+  this index with a dedicated API, or use {{{https://lucene.apache.org/}Apache Lucene}} indexes browsers like
   {{{https://github.com/DmitryKey/luke}Luke}} or {{{https://github.com/flaxsearch/marple}Marple}} after
-  unpacking the index (see {{{/maven-indexer-archives/maven-indexer-LATEST/indexer-cli/}<<<-u>>> CLI option}}).
+  unpacking the index (see {{{/maven-indexer/indexer-cli/}<<<-u>>> CLI option}}).
 
 * Digging Into Central Index with Luke
 
@@ -62,3 +61,5 @@ luke.sh -ro -index central-lucene-index
 
     You need an old Luke version using an old Lucene version, since Maven Indexer 5.5.1 uses Lucene 3.6.2:
     for this tutorial, we chose Luke version 4.10.4, but you may choose another version.
+
+    But with more recent Maven Indexer releases, more recent Lucene version have been used: see [Maven Indexer dependencies](/maven-indexer/indexer-core/dependencies.html).
diff --git a/content/markdown/repository/layout.md b/content/markdown/repository/layout.md
index a92f44ba..8f8a2d83 100644
--- a/content/markdown/repository/layout.md
+++ b/content/markdown/repository/layout.md
@@ -22,6 +22,7 @@ Maven2 repository layout format is the default layout used since Maven 2 (see [R
 
 ```
 Repository root
+|-- archetype-catalog.xml
 `-- ${groupId as directory}/
     |-- maven-metadata.xml
     |--                   .${checksums}
@@ -87,3 +88,25 @@ HTTP/HTTPS protocol have 2 specific characteristics:
 
 2. [HTTP/1.1 Reason-Phrase](https://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html) is used to provide extended message when artifact access is rejected by remote repository.
 This usage of Reason-Phrase is nowadays legacy and is removed in HTTP/2, [MNG-6795](https://issues.apache.org/jira/browse/MNG-6795) is open to create a replacement.
+
+## Archetype Catalog
+
+`archetype-catalog.xml` file at root directory is a [catalog of all Maven Archetypes](/archetype/archetype-models/archetype-catalog/archetype-catalog.html) proposed in the repository.
+
+## Additional Content
+
+### Index
+
+[`.index`](https://repo.maven.apache.org/maven2/.index/) directory at root directory is an [index](/maven-indexer/indexer-core/) of the content, done by [Maven Indexer](/maven-indexer/).
+
+If contains index files in 2 flavours:
+
+- full index: `nexus-maven-repository-index.gz`
+- incremental index: `nexus-maven-repository-index.<n>.gz` + `nexus-maven-repository-index.properties`
+
+### Metadata
+
+[`.meta`](https://repo.maven.apache.org/maven2/.meta/) directory at root directory contains a few metadata files:
+
+- `prefixes.txt`
+- `repository-metadata.xml`