cstamas commented on a change in pull request #154:
URL: https://github.com/apache/maven-resolver/pull/154#discussion_r825357135



##########
File path: 
maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/Maven2RepositoryLayoutFactory.java
##########
@@ -206,6 +216,10 @@ public URI getLocation( Metadata metadata, boolean upload )
         @Override
         public List<ChecksumLocation> getChecksumLocations( Artifact artifact, 
boolean upload, URI location )
         {
+            if ( artifactChecksumFilter.omitChecksumsFor( artifact ) || 
isChecksum( artifact.getExtension() ) )

Review comment:
       artifact.getExtension returns values like "pom", "pom.sha1", "pom.asc" 
etc




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