diff --git a/src/main/java/com/google/cloud/DownloadComponentsMojo.java b/src/main/java/com/google/cloud/DownloadComponentsMojo.java index f571c05..05fcc66 100644 --- a/src/main/java/com/google/cloud/DownloadComponentsMojo.java +++ b/src/main/java/com/google/cloud/DownloadComponentsMojo.java @@ -113,7 +113,10 @@ private void executeInner() throws MojoExecutionException { } // Ensure that the output directory exists - destinationDir.mkdirs(); + if (!destinationDir.mkdirs()) { + getLog() + .info("Failed to create destination directory. Perhaps the directory already exists?"); + } // Update the cached manifest try {