elharo commented on code in PR #386:
URL: 
https://github.com/apache/maven-antrun-plugin/pull/386#discussion_r4115069144


##########
src/main/java/org/apache/maven/plugins/antrun/AntRunMojo.java:
##########
@@ -443,6 +439,35 @@ public void copyProperties(MavenProject mavenProject, 
Project antProject) {
         antProject.setProperty(versionsPropertyName, 
versionsBuffer.toString());
     }
 
+    /**
+     * Registers one <code>${propertyPrefix}${dependencyConflictId}</code> 
property per dependency,
+     * holding the path to that dependency's artifact file.
+     * <p>
+     * An artifact's file may be <code>null</code> when it was never resolved, 
for instance under
+     * partial or offline resolution. Such dependencies are skipped with a 
warning that names them.
+     * The build is not aborted; the property is simply absent.
+     *
+     * @param depArtifacts the project's dependency artifacts, may be null
+     * @param antProject the Ant project to set properties on, not null
+     */
+    private void setDependencyFileProperties(Set<Artifact> depArtifacts, 
Project antProject) {
+        if (depArtifacts == null) {
+            return;
+        }
+
+        for (Artifact artifact : depArtifacts) {
+            String propName = artifact.getDependencyConflictId();

Review Comment:
   propertyName



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