olamy commented on code in PR #430:
URL:
https://github.com/apache/maven-build-cache-extension/pull/430#discussion_r2697024555
##########
src/main/java/org/apache/maven/buildcache/CacheUtils.java:
##########
@@ -152,6 +161,42 @@ public static boolean isArchive(File file) {
return Strings.CS.endsWithAny(fileName, ".jar", ".zip", ".war",
".ear");
}
+ /**
+ * File extensions that are already compressed and should be stored
without compression.
+ */
+ private static final Set<String> INCOMPRESSIBLE_EXTENSIONS = new
HashSet<>(Arrays.asList(
Review Comment:
eventually this list could be configurable.
--
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]