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.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getExtensionForPackaging​(java.lang.String packaging)
      Returns the extension belonging to given packaging, like "jar" for "jar", "jar" for "ear", etc.
      void setPropertiesFile​(java.io.File file)
      Sets the file to source the user provided mappings from, and resets the mappings, forcing it to reload the file.
    • Method Detail

      • getExtensionForPackaging

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

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