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 2019/12/01 13:29:09 UTC
[maven-artifact-transfer] branch master updated: formatting &
little typos fixes
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-artifact-transfer.git
The following commit(s) were added to refs/heads/master by this push:
new c5e5f84 formatting & little typos fixes
c5e5f84 is described below
commit c5e5f84d8a25324817b7b75ed815e70c7577dd12
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Dec 1 14:29:05 2019 +0100
formatting & little typos fixes
---
src/site/apt/comparison.apt.vm | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/site/apt/comparison.apt.vm b/src/site/apt/comparison.apt.vm
index d8c3010..28381a1 100644
--- a/src/site/apt/comparison.apt.vm
+++ b/src/site/apt/comparison.apt.vm
@@ -1,5 +1,5 @@
-----
- Introduction
+ Comparison: Dependency vs Artifact vs MavenProject
-----
Robert Scholte
-----
@@ -26,24 +26,26 @@
~~ NOTE: For help with the syntax of this file, see:
~~ http://maven.apache.org/doxia/references/apt-format.html
-Comparison
+Comparison: Dependency vs Artifact vs MavenProject
- Here's a small matrix which should help you choosing the right instance.
+ Here's a small matrix which should help you choosing the right instance.
- In general:
+ In general:
- * an Artifact holds a file mapped on a certain coordinate.
+ * an Artifact holds a file mapped on a certain coordinate,
- * a Dependency contains an artifact and has transitive information
+ * a Dependency contains an artifact and has transitive information,
- * a MavenProject hold a pom-file and optional mainfile and can have attached (=classified) files, all using the same GAV.
+ * a MavenProject holds a pom-file and optional mainfile and can have attached (=classified) files, all using the same GAV.
+
+ []
*--------------------+-------------+----------------+---------------+
|| || Dependency || Artifact || MavenProject ||
*--------------------+-------------+----------------+---------------+
| Has dependencies | yes | no | yes |
*--------------------+-------------+----------------+---------------+
-| filetype reference | type | file-extension | packaging |
+| filetype reference | type | file extension | packaging |
*--------------------+-------------+----------------+---------------+
| version ranges | yes | no | no |
*--------------------+-------------+----------------+---------------+
@@ -52,10 +54,8 @@ Comparison
This implies the following:
- * From dependency to artifact is possible, since you can map a type to an extension.
+ * From dependency to artifact is possible, since you can map a type to an extension.
However, it is not possible to go from artifact back to dependency, there are several types which have jar as file extension.
- * There's no such thing as transitive artifacts. Filtering during resolution as based on DependencyFilters,
+ * There's no such thing as transitive artifacts. Filtering during resolution is based on DependencyFilters,
ArtifactFilters can only be applied afterwards, hence are less efficient.
-
-