Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Skip properties should have fabric8 prefix rather than docker #1816

Merged
merged 1 commit into from
Jun 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/src/main/asciidoc/inc/goals/build/_fabric8-build.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ a| The build mode which can be

| *skipBuild*
| If set not images will be build (which implies also _skip.tag_) with `{plugin}:build`
| `docker.skip.build`
| `fabric8.skip.build`

| *skipBuildPom*
| If set the build step will be skipped for modules of type `pom`. If not set, then by default projects of type `pom` will be skipped if there are no image configurations contained.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public class BuildMojo extends io.fabric8.maven.docker.BuildMojo {
@Parameter(property = "fabric8.build.recreate", defaultValue = "none")
private String buildRecreate;

@Parameter(property = "docker.skip.build", defaultValue = "false")
@Parameter(property = "fabric8.skip.build", defaultValue = "false")
protected boolean skipBuild;

@Component
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public class PushMojo extends AbstractDockerMojo {
@Parameter(property = "docker.push.retries", defaultValue = "0")
private int retries;

@Parameter(property = "docker.skip.push", defaultValue = "false")
@Parameter(property = "fabric8.skip.push", defaultValue = "false")
private boolean fabric8SkipPush;

@Parameter(alias = "pushRegistry", property = "docker.push.registry")
Expand Down Expand Up @@ -196,4 +196,4 @@ public List<ImageConfiguration> customizeConfig(List<ImageConfiguration> configs
}
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public class ResourceMojo extends AbstractFabric8Mojo {
@Parameter(property = "fabric8.openshift.enrichAllWithImageChangeTrigger", defaultValue = "false")
private Boolean erichAllWithImageChangeTrigger;

@Parameter(property = "docker.skip.resource", defaultValue = "false")
@Parameter(property = "fabric8.skip.resource", defaultValue = "false")
protected boolean skipResource;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
@Mojo(name = "deploy", requiresDependencyResolution = ResolutionScope.COMPILE, defaultPhase = LifecyclePhase.VALIDATE)
@Execute(phase = LifecyclePhase.INSTALL)
public class DeployMojo extends ApplyMojo {
@Parameter(property = "docker.skip.deploy", defaultValue = "false")
@Parameter(property = "fabric8.skip.deploy", defaultValue = "false")
protected boolean skipDeploy;

@Override
Expand Down