From 5cbddd7605c1531b82a4c68e4ea19341d74ee254 Mon Sep 17 00:00:00 2001 From: Fiona Ampofo <64271621+Akyiaa@users.noreply.github.com> Date: Mon, 26 Feb 2024 09:28:04 +0000 Subject: [PATCH] added logging improvements for bootstrap properties Signed-off-by: Fiona Ampofo <64271621+Akyiaa@users.noreply.github.com> --- .../main/java/dev/galasa/maven/plugin/DeployTestCatalog.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/galasa-maven-plugin/src/main/java/dev/galasa/maven/plugin/DeployTestCatalog.java b/galasa-maven-plugin/src/main/java/dev/galasa/maven/plugin/DeployTestCatalog.java index a983da4..2f23671 100644 --- a/galasa-maven-plugin/src/main/java/dev/galasa/maven/plugin/DeployTestCatalog.java +++ b/galasa-maven-plugin/src/main/java/dev/galasa/maven/plugin/DeployTestCatalog.java @@ -38,7 +38,6 @@ public class DeployTestCatalog extends AbstractMojo { @Parameter(defaultValue = "${galasa.bootstrap}", readonly = true, required = false) private URL bootstrapUrl; - @Parameter(defaultValue = "${galasa.skip.bundletestcatatlog}", readonly = true, required = false) private boolean typoSkip; @@ -75,6 +74,7 @@ protected static boolean setCorrectBooleanValue(boolean correctSkip, boolean typ } public void execute() throws MojoExecutionException, MojoFailureException { + getLog().info("DeployTestCatalog - execute()"); if (skip || skipDeploy) { getLog().info("Skipping Deploy Test Catalog"); @@ -113,7 +113,9 @@ public void execute() throws MojoExecutionException, MojoFailureException { Properties bootstrapProperties = new Properties(); try { URLConnection connection = bootstrapUrl.openConnection(); + getLog().info("URLConnection: " + connection); bootstrapProperties.load(connection.getInputStream()); + getLog().info("bootstrapProperties loaded: " + bootstrapProperties); } catch (Exception e) { throw new MojoExecutionException("Unable to load the bootstrap properties", e); }