wilx commented on code in PR #1667:
URL: 
https://github.com/apache/maven-dependency-plugin/pull/1667#discussion_r3698736740


##########
src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/ArtifactItem.java:
##########
@@ -53,6 +53,16 @@ public class ArtifactItem implements DependableCoordinate {
     @Parameter
     private String version = null;
 
+    /**
+     * Classpath scope from which to infer a missing version when the artifact 
is not found in direct dependencies or
+     * dependency management. Supported values are {@code compile}, {@code 
runtime}, and {@code test}. When omitted,
+     * all three dependency graphs are considered and must agree on the 
selected version.
+     *
+     * @since 3.11.1
+     */
+    @Parameter
+    private String dependencyScope;

Review Comment:
   See above. This is used to guide the dependency version resolution for the 
artifact if the version is ambiguous due to different version of the artifact 
in different scopes. 



-- 
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]

Reply via email to