You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2024/03/25 07:35:50 UTC
(maven-artifact-plugin) branch master updated: Improve error handling when copying aggregate file
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-artifact-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 8532aed Improve error handling when copying aggregate file
8532aed is described below
commit 8532aed3137c7728c4d5d80104de59dce9ef748d
Author: kaklakariada <ka...@users.noreply.github.com>
AuthorDate: Sun Mar 10 11:19:09 2024 +0100
Improve error handling when copying aggregate file
---
.../apache/maven/plugins/artifact/buildinfo/AbstractBuildinfoMojo.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/maven/plugins/artifact/buildinfo/AbstractBuildinfoMojo.java b/src/main/java/org/apache/maven/plugins/artifact/buildinfo/AbstractBuildinfoMojo.java
index 2c0b632..ba669a6 100644
--- a/src/main/java/org/apache/maven/plugins/artifact/buildinfo/AbstractBuildinfoMojo.java
+++ b/src/main/java/org/apache/maven/plugins/artifact/buildinfo/AbstractBuildinfoMojo.java
@@ -221,7 +221,7 @@ public abstract class AbstractBuildinfoMojo extends AbstractMojo {
FileUtils.copyFile(aggregate, rootCopy);
getLog().info("Aggregate " + extension.substring(1) + " copied to " + rootCopy);
} catch (IOException ioe) {
- throw new MojoExecutionException("Could not copy " + aggregate + "to " + rootCopy);
+ throw new MojoExecutionException("Could not copy " + aggregate + " to " + rootCopy, ioe);
}
}