Interface NormalizationProvider.RuntimeClasspathNormalization

Enclosing interface:
NormalizationProvider

public static interface NormalizationProvider.RuntimeClasspathNormalization
Allows configuring the runtime classpath normalization.

Supports ANT-style patterns:

     * matches zero or more characters
     ? matches one character
     ** matches zero or more characters across directory levels
 
Since:
1.15
  • Method Details

    • setIgnoredFiles

      Configures the runtime classpath normalization to ignore files. Supports ANT-style file paths. This operation will override any previous configuration.
      Parameters:
      ignoredFiles - the files to ignore
      Since:
      1.15
    • setIgnoredFiles

      Configures the runtime classpath normalization to ignore files. Supports ANT-style file paths. This operation will override any previous configuration.
      Parameters:
      ignoredFiles - the files to ignore
      Since:
      1.15
    • addIgnoredFiles

      Configures the runtime classpath normalization to ignore files. Supports ANT-style file paths. This operation is additive, i.e. it will add the ignored files to the previously configured files including the corresponding configuration in POM.
      Parameters:
      ignoredFiles - the files to ignore
      Since:
      1.15
    • addIgnoredFiles

      Configures the runtime classpath normalization to ignore files. Supports ANT-style file paths. This operation is additive, i.e. it will add the ignored files to the previously configured files.
      Parameters:
      ignoredFiles - the files to ignore
      Since:
      1.15
    • addPropertiesNormalization

      NormalizationProvider.RuntimeClasspathNormalization addPropertiesNormalization(String path, List<String> ignoredProperties)
      Configures the runtime classpath normalization to ignore properties from specific property files. ANT-style patterns can be used to match relevant property files.
      Parameters:
      path - the path of the properties file
      ignoredProperties - the properties to ignore
      Since:
      1.15
    • addPropertiesNormalization

      NormalizationProvider.RuntimeClasspathNormalization addPropertiesNormalization(String path, String... ignoredProperties)
      Configures the runtime classpath normalization to ignore properties from specific property files. ANT-style patterns can be used to match relevant property files.
      Parameters:
      path - the path of the properties file
      ignoredProperties - the properties to ignore
      Since:
      1.15
    • configureMetaInf

      Allows configuring the normalization of files matching META-INF/**/*.properties.
      Parameters:
      action - an action to configure the normalization
      Since:
      1.15