maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rfscho...@apache.org
Subject [maven] 06/12: improved handlers documentation: artifact vs dependency attributes
Date Sat, 24 Aug 2019 16:25:30 GMT
This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch MNG-6656
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 5822ea7a4fe2ca50524a939fe5260f7c35e3054d
Author: Hervé Boutemy <hboutemy@apache.org>
AuthorDate: Mon Aug 5 13:12:08 2019 +0100

    improved handlers documentation: artifact vs dependency attributes
---
 maven-core/src/site/apt/artifact-handlers.apt | 53 ++++++++++++++-------------
 1 file changed, 27 insertions(+), 26 deletions(-)

diff --git a/maven-core/src/site/apt/artifact-handlers.apt b/maven-core/src/site/apt/artifact-handlers.apt
index f79c5a0..299d7d8 100644
--- a/maven-core/src/site/apt/artifact-handlers.apt
+++ b/maven-core/src/site/apt/artifact-handlers.apt
@@ -26,33 +26,34 @@
 Default Artifact Handlers Reference
 
   Artifact handlers (see {{{../maven-artifact/apidocs/org/apache/maven/artifact/handler/ArtifactHandler.html}
API}})
-  define for each {{{../maven-model/maven.html#class_dependency}dependency type}} information
on the artifact.
+  define for each {{{../maven-model/maven.html#class_dependency}dependency type}} information
on the artifact
+  (classifier, extension, language) and how to manage it as dependency (add to classpath,
include dependencies).
 
   Some artifact handlers
   are configured by default in <<<META-INF/plexus/artifact-handlers.xml>>>:
 
-*--------------------+------------+------------+---------------+-----------+---------------------+-----------------------+
-|| type              || extension || packaging || classifier   || language || added to classpath
|| includesDependencies ||
-*--------------------+------------+------------+---------------+-----------+---------------------+-----------------------+
-| <<<pom>>>          | <= type>   | <= type>   |          
    | none      |                     |                       |
-*--------------------+------------+------------+---------------+-----------+---------------------+-----------------------+
-| <<<jar>>>          | <= type>   | <= type>   |          
    | java      | <<<true>>>          |                       |
-*--------------------+------------+------------+---------------+-----------+---------------------+-----------------------+
-| <<<test-jar>>>     | <<<jar>>>  | <<<jar>>>
 | <<<tests>>>   | java      | <<<true>>>          | 
                     |
-*--------------------+------------+------------+---------------+-----------+---------------------+-----------------------+
-| <<<maven-plugin>>> | <<<jar>>>  | <= type>  
|               | java      | <<<true>>>          |                    
  |
-*--------------------+------------+------------+---------------+-----------+---------------------+-----------------------+
-| <<<ejb>>>          | <<<jar>>>  | <= type>  
|               | java      | <<<true>>>          |                    
  |
-*--------------------+------------+------------+---------------+-----------+---------------------+-----------------------+
-| <<<ejb-client>>>   | <<<jar>>>  | <<<ejb>>>
 | <<<client>>>  | java      | <<<true>>>          | 
                     |
-*--------------------+------------+------------+---------------+-----------+---------------------+-----------------------+
-| <<<war>>>          | <= type>   | <= type>   |          
    | java      |                     | <<<true>>>            |
-*--------------------+------------+------------+---------------+-----------+---------------------+-----------------------+
-| <<<ear>>>          | <= type>   | <= type>   |          
    | java      |                     | <<<true>>>            |
-*--------------------+------------+------------+---------------+-----------+---------------------+-----------------------+
-| <<<rar>>>          | <= type>   | <= type>   |          
    | java      |                     | <<<true>>>            |
-*--------------------+------------+------------+---------------+-----------+---------------------+-----------------------+
-| <<<java-source>>>  | <<<jar>>>  | <= type>  
| <<<sources>>> | java      |                     |                    
  |
-*--------------------+------------+------------+---------------+-----------+---------------------+-----------------------+
-| <<<javadoc>>>      | <<<jar>>>  | <= type>  
| <<<javadoc>>> | java      | <<<true>>>          |  
                    |
-*--------------------+------------+------------+---------------+-----------+---------------------+-----------------------+
+*--------------------+---------------+------------+------------+-----------+---------------------+-----------------------+
+|| type              || classifier   || extension || packaging || language || added to classpath
|| includesDependencies ||
+*--------------------+---------------+------------+------------+-----------+---------------------+-----------------------+
+| <<<pom>>>          |               | <= type>   | <= type>
  | none      |                     |                       |
+*--------------------+---------------+------------+------------+-----------+---------------------+-----------------------+
+| <<<jar>>>          |               | <= type>   | <= type>
  | java      | <<<true>>>          |                       |
+*--------------------+---------------+------------+------------+-----------+---------------------+-----------------------+
+| <<<test-jar>>>     | <<<tests>>>   | <<<jar>>>
 | <<<jar>>>  | java      | <<<true>>>          |    
                  |
+*--------------------+---------------+------------+------------+-----------+---------------------+-----------------------+
+| <<<maven-plugin>>> |               | <<<jar>>>  | <=
type>   | java      | <<<true>>>          |                       |
+*--------------------+---------------+------------+------------+-----------+---------------------+-----------------------+
+| <<<ejb>>>          |               | <<<jar>>>  | <=
type>   | java      | <<<true>>>          |                       |
+*--------------------+---------------+------------+------------+-----------+---------------------+-----------------------+
+| <<<ejb-client>>>   | <<<client>>>  | <<<jar>>>
 | <<<ejb>>>  | java      | <<<true>>>          |    
                  |
+*--------------------+---------------+------------+------------+-----------+---------------------+-----------------------+
+| <<<war>>>          |               | <= type>   | <= type>
  | java      |                     | <<<true>>>            |
+*--------------------+---------------+------------+------------+-----------+---------------------+-----------------------+
+| <<<ear>>>          |               | <= type>   | <= type>
  | java      |                     | <<<true>>>            |
+*--------------------+---------------+------------+------------+-----------+---------------------+-----------------------+
+| <<<rar>>>          |               | <= type>   | <= type>
  | java      |                     | <<<true>>>            |
+*--------------------+---------------+------------+------------+-----------+---------------------+-----------------------+
+| <<<java-source>>>  | <<<sources>>> | <<<jar>>>
 | <= type>   | java      |                     |                       |
+*--------------------+---------------+------------+------------+-----------+---------------------+-----------------------+
+| <<<javadoc>>>      | <<<javadoc>>> | <<<jar>>>
 | <= type>   | java      | <<<true>>>          |                
      |
+*--------------------+---------------+------------+------------+-----------+---------------------+-----------------------+


Mime
View raw message