Class Packager


  • public class Packager
    extends Object
    Holds configuration data for the <packager> tag used to configure the plugin in the pom.xml file.
    • Constructor Detail

      • Packager

        public Packager()
    • Method Detail

      • getImplementation

        public String getImplementation()
        Returns:
        Packager implementation.
      • setImplementation

        public void setImplementation​(String implementation)
        Parameters:
        implementation - Packager implementation.
      • getType

        public String getType()
        Returns:
        Packager type.
      • setType

        public void setType​(String type)
        Parameters:
        type - Packager type.
      • getOutputLocation

        public String getOutputLocation()
        Returns:
        The location where the package will be generated. For example for a Directory Packager this will be the directory into which the package will be generated.
      • setOutputLocation

        public void setOutputLocation​(String outputLocation)
        Parameters:
        outputLocation - The location where the package will be generated. For example for a Directory Packager this will be the directory into which the package will be generated.
      • createPackager

        public Packager createPackager​(Container container)
                                throws org.apache.maven.plugin.MojoExecutionException
        Create packager.
        Parameters:
        container - Container.
        Returns:
        Packager instance.
        Throws:
        org.apache.maven.plugin.MojoExecutionException - If packager implementation not found.