vlsi commented on issue #11391:
URL: https://github.com/apache/maven/issues/11391#issuecomment-3491427170
Having `directDependencyStrategy` at dependency level looks strange.
WDYT of something like:
* `dependencyVersionType`: `strict` (select exactly this version), `require`
(accept this or later), `reject`
* `versionType`: `strict` (select exactly this version), `require` (accept
this or later), `reject`. It sounds better for `<dependency>` tag, however
having a top level `<project versionType="require">` would look misleading.
```xml
<dependency>
<groupId>com.example</groupId>
<artifactId>lib-a</artifactId>
<version>1.0</version>
<dependencyVersionType>require</dependencyVersionType>
</dependency>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]