Class FilesMojoV2
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.google.cloud.tools.jib.maven.skaffold.FilesMojoV2
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="_skaffold-files-v2", requiresDependencyCollection=COMPILE_PLUS_RUNTIME, aggregator=true) public class FilesMojoV2 extends org.apache.maven.plugin.AbstractMojoPrint out changing source dependencies on a module. In multimodule applications it should be run by activating a single module and its dependent modules. Dependency collection will ignore project level snapshots (sub-modules) unless the user has explicitly installed them (by only requiring dependencyCollection). For use only within skaffold.Expected use: "./mvnw jib:_skaffold-files-v2 -q" or "./mvnw jib:_skaffold-files-v2 -pl module -am -q"
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.maven.plugin.descriptor.PluginDescriptordescriptor
-
Constructor Summary
Constructors Constructor Description FilesMojoV2()
-
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
-
-