Class PackageGoalsMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.google.cloud.tools.jib.maven.skaffold.PackageGoalsMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="_skaffold-package-goals", requiresDirectInvocation=true, requiresDependencyCollection=COMPILE_PLUS_RUNTIME) public class PackageGoalsMojo extends org.apache.maven.plugin.AbstractMojoPrint out all jib goals tied to the package phase. Useful in multimodule situations to determine if the correct jib goals are configured when running skaffold. For use only within skaffold.It is intended to be used from the root project and only in multimodule situations:
./mvnw jib:_skaffold-package-goals -q -pl module [-Pprofile]
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.maven.plugin.descriptor.PluginDescriptordescriptor
-
Constructor Summary
Constructors Constructor Description PackageGoalsMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckJibVersion()voidexecute()
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
checkJibVersion
protected void checkJibVersion() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-