[
https://issues.apache.org/jira/browse/MNG-8043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17833081#comment-17833081
]
ASF GitHub Bot commented on MNG-8043:
-------------------------------------
cstamas commented on code in PR #1463:
URL: https://github.com/apache/maven/pull/1463#discussion_r1547465788
##########
maven-resolver-provider/src/site/apt/dependency-types.apt:
##########
@@ -0,0 +1,74 @@
+~~ Licensed to the Apache Software Foundation (ASF) under one
+~~ or more contributor license agreements. See the NOTICE file
+~~ distributed with this work for additional information
+~~ regarding copyright ownership. The ASF licenses this file
+~~ to you under the Apache License, Version 2.0 (the
+~~ "License"); you may not use this file except in compliance
+~~ with the License. You may obtain a copy of the License at
+~~
+~~ http://www.apache.org/licenses/LICENSE-2.0
+~~
+~~ Unless required by applicable law or agreed to in writing,
+~~ software distributed under the License is distributed on an
+~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+~~ KIND, either express or implied. See the License for the
+~~ specific language governing permissions and limitations
+~~ under the License.
+
+ ---
+ Default Dependency Types
+ ---
+ Hervé Boutemy
+ ---
+ 2024-04-02
+ ---
+
+Default Dependency Types Reference
+
+ Defined in <<<DefaultTypeProvider>>>
+
({{{./apidocs/org/apache/maven/repository/internal/type/DefaultTypeProvider.html}javadoc}},
+
{{{./xref/org/apache/maven/repository/internal/type/DefaultTypeProvider.html}source}}):
+
+*-----------------------+---------------+------------+-----------+-----------------------+-----------------------+
+|| type || classifier || extension || language || path types
|| includesDependencies ||
+*-----------------------+---------------+------------+-----------+-----------------------+-----------------------+
+|| Maven || || || ||
|| ||
+*-----------------------+---------------+------------+-----------+-----------------------+-----------------------+
+| <<<pom>>> | | <= type> | none |
| |
+*-----------------------+---------------+------------+-----------+-----------------------+-----------------------+
+| <<<bom>>> * | | <<<pom>>> | none |
| |
+*-----------------------+---------------+------------+-----------+-----------------------+-----------------------+
+| <<<maven-plugin>>> | | <<<jar>>> | java | classes
| |
+*-----------------------+---------------+------------+-----------+-----------------------+-----------------------+
+|| Java || || || ||
|| ||
+*-----------------------+---------------+------------+-----------+-----------------------+-----------------------+
+| <<<jar>>> | | <= type> | java | classes,
modules | |
+*-----------------------+---------------+------------+-----------+-----------------------+-----------------------+
+| <<<java-source>>> | <<<sources>>> | <<<jar>>> | java |
| |
+*-----------------------+---------------+------------+-----------+-----------------------+-----------------------+
+| <<<javadoc>>> | <<<javadoc>>> | <<<jar>>> | java | classes
| |
+*-----------------------+---------------+------------+-----------+-----------------------+-----------------------+
+| <<<test-jar>>> | <<<tests>>> | <<<jar>>> | java | classes,
patch module | |
+*-----------------------+---------------+------------+-----------+-----------------------+-----------------------+
+| <<<modular-jar>>> * | <<<tests>>> | <<<jar>>> | java | modules
| |
+*-----------------------+---------------+------------+-----------+-----------------------+-----------------------+
+| <<<classpath-jar>>> * | <<<tests>>> | <<<jar>>> | java | classes
| |
+*-----------------------+---------------+------------+-----------+-----------------------+-----------------------+
+| <<<fatjar>>> * | <<<tests>>> | <<<jar>>> | java | classes
| |
Review Comment:
fatjar == jar, but:
* can be on classes only (never on modules path)
* stops resolution (just like any existing self sufficient type, i.e. war)
> Dependency properties should be provided by Resolver consumer
> -------------------------------------------------------------
>
> Key: MNG-8043
> URL: https://issues.apache.org/jira/browse/MNG-8043
> Project: Maven
> Issue Type: Task
> Components: Artifacts and Repositories
> Reporter: Tamas Cservenak
> Assignee: Tamas Cservenak
> Priority: Major
> Fix For: 4.0.0-alpha-13, 4.0.0
>
>
> Follow up of MRESOLVER-484
> The consumer, in this case Maven is the one who should provide Maven-specific
> bits. Also, do not use deprecated stuff from Resolver.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)