Class JibPluginConfiguration

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    BuildDockerMojo, BuildImageMojo, BuildTarMojo, InitMojo, SyncMapMojo

    public abstract class JibPluginConfiguration
    extends org.apache.maven.plugin.AbstractMojo
    Defines the configuration parameters for Jib. Jib Mojos should extend this class.
    • Field Detail

      • descriptor

        @Nullable
        @Parameter(defaultValue="${plugin}",
                   readonly=true)
        protected org.apache.maven.plugin.descriptor.PluginDescriptor descriptor
      • settingsDecrypter

        @Component
        protected org.apache.maven.settings.crypto.SettingsDecrypter settingsDecrypter
    • Constructor Detail

      • JibPluginConfiguration

        public JibPluginConfiguration()
    • Method Detail

      • getInjectedPluginExtensions

        protected java.util.Set<com.google.cloud.tools.jib.maven.extension.JibMavenPluginExtension<?>> getInjectedPluginExtensions()
      • getSession

        protected org.apache.maven.execution.MavenSession getSession()
      • getProject

        protected org.apache.maven.project.MavenProject getProject()
      • checkJibVersion

        protected void checkJibVersion()
                                throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • getTargetImage

        @Nullable
        protected java.lang.String getTargetImage()
        Gets the target image reference.
        Returns:
        the configured target image reference
      • getExpandClasspathDependencies

        public boolean getExpandClasspathDependencies()
        Returns whether to expand classpath dependencies.
        Returns:
        true to expand classpath dependencies. false otherwise.
      • getContainerizingMode

        public java.lang.String getContainerizingMode()