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 2022/01/20 07:06:50 UTC

[maven-site] branch master updated: replace with ${x} to avoid confusion with XML element

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

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


The following commit(s) were added to refs/heads/master by this push:
     new b9e4e4c  replace <x> with ${x} to avoid confusion with XML element
b9e4e4c is described below

commit b9e4e4cc2c94cf5a4854cc470a8874a74b6574db
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Thu Jan 20 08:06:47 2022 +0100

    replace <x> with ${x} to avoid confusion with XML element
---
 content/markdown/repository/layout.md | 42 +++++++++++++++++------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/content/markdown/repository/layout.md b/content/markdown/repository/layout.md
index 5d67ce5..66de410 100644
--- a/content/markdown/repository/layout.md
+++ b/content/markdown/repository/layout.md
@@ -22,32 +22,32 @@ Maven2 repository layout format is the default layout used since Maven 2, superc
 
 ```
 Repository root
-`-- <groupId as directory>
+`-- ${groupId as directory}
     |-- maven-medatada.xml
-    |--               .xml.<checksums>
-    `-- <artifactId>
+    |--                   .${checksums}
+    `-- ${artifactId}
         |-- maven-medatada.xml
-        |--               .xml.<checksums>
-        `-- <version>
-            |-- <artifactId>-<version>.pom
-            |--                       .pom.asc
-            |--                       .pom.<checksums>
-            |-- <artifactId>-<version>.<extension>
-            |--                                   .asc
-            |--                                   .<checksums>
-            |-- <artifactId>-<version>-<classifier>.<extension>
-            |--                                    .<extension>.asc
-            `--                                    .<extension>.<checksums>
+        |--                   .${checksums}
+        `-- ${version}
+            |-- ${artifactId}-${version}.pom
+            |--                             .asc
+            |--                             .${checksums}
+            |-- ${artifactId}-${version}.${extension}
+            |--                                     .asc
+            |--                                     .${checksums}
+            |-- ${artifactId}-${version}-${classifier}.${extension}
+            |--                                                    .asc
+            `--                                                    .${checksums}
 ```
 
 where:
 
-- `<groupId as directory>` is the groupId with `.` replaced by `/`, for example `org/apache/maven`,
-- `<artifactId>` is the artifactId,
-- `<version>` is the version, with some additional possibilities on a SNAPSHOT, see SNAPSHOT paragraph,
-- `<extension>` is the file extension, for example `zip` or `tar.gz`,
-- `<classifier>` is the artifact classifier (when available),
-- `<checksums>` is a list of checksums algorithms, `md5` and `sha1` by default.
+- `${groupId as directory}` is the groupId with `.` replaced by `/`, for example `org/apache/maven`,
+- `${artifactId}` is the artifactId,
+- `${version}` is the version, with some additional possibilities on a SNAPSHOT, see SNAPSHOT paragraph,
+- `${extension}` is the file extension, for example `zip` or `tar.gz`,
+- `${classifier}` is the artifact classifier (when available),
+- `${checksums}` is a list of checksums algorithms, `md5` and `sha1` by default.
 
 `maven-metadata.xml` file format is defined in [Maven Repository Metadata Model](/ref/current/maven-repository-metadata/).
 
@@ -60,7 +60,7 @@ In case of a SNAPSHOT version, version directory uses base version, i.e. version
 For artifact files, there are 2 options available:
 
 1. unique SNAPSHOT artifacts, using the same base version,
-2. multiple SNAPSHOT artifacts for one base version, each deployment will have an effective version where `SNAPSHOT` is replaced with `YYYYMMDD.HHMMSS-<counter>`.
+2. multiple SNAPSHOT artifacts for one base version, each deployment will have an effective version where `SNAPSHOT` is replaced with `YYYYMMDD.HHMMSS-${counter}`.
 
 ## Protocol