Interface ArtifactPackagingMapper

All Known Implementing Classes:
DefaultArtifactPackagingMapper

public interface ArtifactPackagingMapper
A utility component that resolves POM packaging to artifact extension. Different implementations may provide different means to do it.
Author:
cstamas
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the extension belonging to given packaging, like "jar" for "jar", "jar" for "ear", etc.
    void
    Sets the file to source the user provided mappings from, and resets the mappings, forcing it to reload the file.
  • Method Details

    • getExtensionForPackaging

      String getExtensionForPackaging(String packaging)
      Returns the extension belonging to given packaging, like "jar" for "jar", "jar" for "ear", etc.
      Parameters:
      packaging -
      Returns:
    • setPropertiesFile

      void setPropertiesFile(File file)
      Sets the file to source the user provided mappings from, and resets the mappings, forcing it to reload the file.
      Parameters:
      file -