Interface ReproducibleResourceTransformer
-
- All Superinterfaces:
ResourceTransformer
- All Known Implementing Classes:
ApacheLicenseResourceTransformer
,ApacheNoticeResourceTransformer
,AppendingTransformer
,ComponentsXmlResourceTransformer
,DontIncludeResourceTransformer
,GroovyResourceTransformer
,IncludeResourceTransformer
,ManifestResourceTransformer
,MicroprofileConfigTransformer
,OpenWebBeansPropertiesTransformer
,PluginXmlResourceTransformer
,PropertiesTransformer
,ResourceBundleAppendingTransformer
,ServicesResourceTransformer
,SisuIndexResourceTransformer
,XmlAppendingTransformer
public interface ReproducibleResourceTransformer extends ResourceTransformer
Transform resource ensuring reproducible output: that requires to get the timestamp of the initial resources to define in a reproducible way the timestamp of the transformed resource.- Since:
- 3.2.4
- Author:
- Hervé Boutemy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
processResource(java.lang.String resource, java.io.InputStream is, java.util.List<Relocator> relocators, long time)
Transform an individual resource-
Methods inherited from interface org.apache.maven.plugins.shade.resource.ResourceTransformer
canTransformResource, hasTransformedResource, modifyOutputStream, processResource
-
-
-
-
Method Detail
-
processResource
void processResource(java.lang.String resource, java.io.InputStream is, java.util.List<Relocator> relocators, long time) throws java.io.IOException
Transform an individual resource- Parameters:
resource
- The resource nameis
- An input stream for the resource, the implementation should *not* close this streamrelocators
- A list of relocatorstime
- the time of the resource to process- Throws:
java.io.IOException
- When the IO blows up
-
-