-
Notifications
You must be signed in to change notification settings - Fork 404
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix and polish Log4j2PluginsCacheFileTransformer (#1175)
* Copy Log4j2PluginCacheFileTransformer.java from logging-log4j-transform Updated to https://github.com/apache/logging-log4j-transform/blob/a190ba8dfd8a58f1ce95c3d06bcd6a924a416db5/log4j-transform-maven-shade-plugin-extensions/src/main/java/org/apache/logging/log4j/maven/plugins/shade/transformer/Log4j2PluginCacheFileTransformer.java * Convert Log4j2PluginCacheFileTransformer to Kotlin * Merge Log4j2PluginCacheFileTransformer into Log4j2PluginsCacheFileTransformer * Cleanups * Copy Log4j2PluginCacheFileTransformerTest.java Updated to https://github.com/apache/logging-log4j-transform/blob/8d6538acc50ed819d21987e69fe94b485ee0d368/log4j-transform-maven-shade-plugin-extensions/src/test/java/org/apache/logging/log4j/maven/plugins/shade/transformer/Log4j2PluginCacheFileTransformerTest.java * Convert Log4j2PluginCacheFileTransformerTest to Kotlin * Check element.relativePath.pathString in canTransformResource * Fix Log4j2PluginCacheFileTransformerTest * Merge Log4j2PluginCacheFileTransformerTest into Log4j2PluginsCacheFileTransformerTest * Remove redundant shouldTransform and shouldTransformForSingleFile * Cleanups * Revert changes on relocatePlugins * Add a functional test * Note this change
- Loading branch information
Showing
8 changed files
with
166 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+17.5 KB
...nalTest/resources/META-INF/org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+17.5 KB
src/test/resources/META-INF/org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat
Binary file not shown.