cstamas commented on code in PR #789:
URL: https://github.com/apache/maven/pull/789#discussion_r956235765


##########
maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java:
##########
@@ -195,6 +199,18 @@ private Map<String, ArtifactRepository> getVersions( 
RepositorySystemSession ses
         return versionIndex;
     }
 
+    private boolean isEnabled( RemoteRepository remoteRepository, String 
version )
+    {
+        if ( remoteRepository == null )
+        {
+            return true;
+        }
+
+        boolean snapshot = version != null && version.endsWith( SNAPSHOT );

Review Comment:
   What about timestamped snapshots?



-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to