@@ -175,14 +175,14 @@ func TestGenerateMavenArgs(t *testing.T) {
175
175
skipTests bool
176
176
out []string
177
177
}{
178
- {latest.JibMavenArtifact {}, false , []string {"--non-recursive" , "prepare-package" , "jib:goal" , "-Dimage=image" }},
179
- {latest.JibMavenArtifact {}, true , []string {"--non-recursive" , "-DskipTests=true" , "prepare-package" , "jib:goal" , "-Dimage=image" }},
180
- {latest.JibMavenArtifact {Profile : "profile" }, false , []string {"--activate-profiles" , "profile" , "--non-recursive" , "prepare-package" , "jib:goal" , "-Dimage=image" }},
181
- {latest.JibMavenArtifact {Profile : "profile" }, true , []string {"--activate-profiles" , "profile" , "--non-recursive" , "-DskipTests=true" , "prepare-package" , "jib:goal" , "-Dimage=image" }},
182
- {latest.JibMavenArtifact {Module : "module" }, false , []string {"--projects" , "module" , "--also-make" , "package" , "-Dimage=image" }},
183
- {latest.JibMavenArtifact {Module : "module" }, true , []string {"--projects" , "module" , "--also-make" , "-DskipTests=true" , "package" , "-Dimage=image" }},
184
- {latest.JibMavenArtifact {Module : "module" , Profile : "profile" }, false , []string {"--activate-profiles" , "profile" , "--projects" , "module" , "--also-make" , "package" , "-Dimage=image" }},
185
- {latest.JibMavenArtifact {Module : "module" , Profile : "profile" }, true , []string {"--activate-profiles" , "profile" , "--projects" , "module" , "--also-make" , "-DskipTests=true" , "package" , "-Dimage=image" }},
178
+ {latest.JibMavenArtifact {}, false , []string {"-Djib.console=plain" , "- -non-recursive" , "prepare-package" , "jib:goal" , "-Dimage=image" }},
179
+ {latest.JibMavenArtifact {}, true , []string {"-Djib.console=plain" , "- -non-recursive" , "-DskipTests=true" , "prepare-package" , "jib:goal" , "-Dimage=image" }},
180
+ {latest.JibMavenArtifact {Profile : "profile" }, false , []string {"-Djib.console=plain" , "- -activate-profiles" , "profile" , "--non-recursive" , "prepare-package" , "jib:goal" , "-Dimage=image" }},
181
+ {latest.JibMavenArtifact {Profile : "profile" }, true , []string {"-Djib.console=plain" , "- -activate-profiles" , "profile" , "--non-recursive" , "-DskipTests=true" , "prepare-package" , "jib:goal" , "-Dimage=image" }},
182
+ {latest.JibMavenArtifact {Module : "module" }, false , []string {"-Djib.console=plain" , "- -projects" , "module" , "--also-make" , "package" , "-Dimage=image" }},
183
+ {latest.JibMavenArtifact {Module : "module" }, true , []string {"-Djib.console=plain" , "- -projects" , "module" , "--also-make" , "-DskipTests=true" , "package" , "-Dimage=image" }},
184
+ {latest.JibMavenArtifact {Module : "module" , Profile : "profile" }, false , []string {"-Djib.console=plain" , "- -activate-profiles" , "profile" , "--projects" , "module" , "--also-make" , "package" , "-Dimage=image" }},
185
+ {latest.JibMavenArtifact {Module : "module" , Profile : "profile" }, true , []string {"-Djib.console=plain" , "- -activate-profiles" , "profile" , "--projects" , "module" , "--also-make" , "-DskipTests=true" , "package" , "-Dimage=image" }},
186
186
}
187
187
188
188
for _ , tt := range testCases {
0 commit comments