public class DependencyOverwriter extends Object
| Constructor and Description |
|---|
DependencyOverwriter(String overwriteRepository,
String overwriteVersion,
org.apache.maven.plugin.logging.Log log)
Constructor for setting constants
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Path directory)
Utility class for overwriting local chart dependencies when making use of helm.overwriteLocalDependencies
|
void |
setWriteDirectory(Path writeDirectory)
Used in testing for setting a custom filePath to write the new Chart.yaml to
|
public DependencyOverwriter(String overwriteRepository, String overwriteVersion, org.apache.maven.plugin.logging.Log log)
overwriteRepository - used to overwrite a local path chart's repositoryoverwriteVersion - used to overwrite a local path chart's versionlog - used to write output from the utilpublic void setWriteDirectory(Path writeDirectory)
writeDirectory - Path directory to write the new Chart.yaml topublic void execute(Path directory) throws org.apache.maven.plugin.MojoExecutionException
directory - Path directory to overwrite the Chart.yamlorg.apache.maven.plugin.MojoExecutionException - Must set a value for helm.overwriteDependencyRepositoryCopyright © 2017–2023 Kokuwa.io. All rights reserved.