public void processResource()

in log4j-transform-maven-shade-plugin-extensions/src/main/java/org/apache/logging/log4j/maven/plugins/shade/transformer/Log4j2PluginCacheFileTransformer.java [96:108]


    public void processResource(final String resource,
                                final InputStream resourceInput,
                                final List<Relocator> relocators,
                                final long time) throws IOException {
        final Path tempFile = Files.createTempFile("Log4j2Plugins", "dat");
        Files.copy(resourceInput, tempFile, REPLACE_EXISTING);
        tempFiles.add(tempFile);
        youngestTime = Math.max(youngestTime, time);

        if (relocators != null) {
            this.tempRelocators.addAll(relocators);
        }
    }