cstamas commented on a change in pull request #154: URL: https://github.com/apache/maven-resolver/pull/154#discussion_r825356843
########## File path: maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/Maven2RepositoryLayoutFactory.java ########## @@ -225,32 +239,9 @@ public URI getLocation( Metadata metadata, boolean upload ) return checksumLocations; } - } - - private static class Maven2RepositoryLayoutEx - extends Maven2RepositoryLayout - { - - protected Maven2RepositoryLayoutEx( List<ChecksumAlgorithmFactory> checksumAlgorithms ) + private boolean isChecksum( String extension ) { - super( checksumAlgorithms ); + return checksumAlgorithms.stream().anyMatch( a -> extension.endsWith( "." + a.getFileExtension() ) ); Review comment: as extension of POM ~signature~ hash is ~`pom.asc`~ `pom.sha1`, also if you look at old code, it was doing same thing for same reason. -- 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