cstamas commented on code in PR #2198:
URL: https://github.com/apache/maven-resolver/pull/2198#discussion_r4327544154


##########
maven-resolver-api/src/main/java/org/eclipse/aether/ConfigurationProperties.java:
##########
@@ -689,6 +696,37 @@ public enum HttpVersion {
      */
     public static final boolean DEFAULT_HTTP_SEND_RFC9457_ACCEPT = true;
 
+    /**
+     * A flag indicating whether artifact installation should use hard links 
instead of copying files. When enabled,
+     * the installer creates a hard link from the source artifact (build 
output) to its destination in the local
+     * repository, avoiding a full file copy and saving disk I/O and space for 
large JARs.
+     * <p>
+     * Hard links require that the source and target paths reside on the 
<strong>same filesystem volume</strong>.
+     * When they do not (e.g. {@code ~/.m2} is on a separate mount, or a 
custom in-memory filesystem such as
+     * Jimfs is used for testing), the JVM throws {@link 
java.nio.file.UnsupportedOperationException},

Review Comment:
   [ERROR] 
/home/cstamas/Worx/apache-maven/maven-resolver/maven-resolver-api/src/main/java/org/eclipse/aether/ConfigurationProperties.java:798:
 error: reference not found
   [ERROR]      * Jimfs is used for testing), the JVM throws {@link 
java.nio.file.UnsupportedOperationException},
   
   Seems Javadoc fails on this link, site cannot be built with this change. (I 
had locally merged multiple PRs, line count is off)



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