You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by pk...@apache.org on 2023/04/28 18:29:29 UTC
[logging-log4j-transform] branch main updated: Fix compilation error
This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-transform.git
The following commit(s) were added to refs/heads/main by this push:
new 8184cc2 Fix compilation error
8184cc2 is described below
commit 8184cc2be41a6c2227876ca7484f20ef08c740d7
Author: Piotr P. Karwasz <pi...@karwasz.org>
AuthorDate: Fri Apr 28 20:29:21 2023 +0200
Fix compilation error
---
.../java/org/apache/logging/log4j/transform/maven/LocationMojo.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/log4j-transform-maven-plugin/src/main/java/org/apache/logging/log4j/transform/maven/LocationMojo.java b/log4j-transform-maven-plugin/src/main/java/org/apache/logging/log4j/transform/maven/LocationMojo.java
index bdf9bbd..7eb2c8a 100644
--- a/log4j-transform-maven-plugin/src/main/java/org/apache/logging/log4j/transform/maven/LocationMojo.java
+++ b/log4j-transform-maven-plugin/src/main/java/org/apache/logging/log4j/transform/maven/LocationMojo.java
@@ -191,7 +191,7 @@ public class LocationMojo extends AbstractMojo {
urls.add(artifact.getFile().toURI().toURL());
}
} catch (MalformedURLException e) {
- throw new MojoExecutionException(e);
+ throw new MojoExecutionException("An error occurred, while resolving the project's classpath.", e);
}
return new URLClassLoader(urls.toArray(EMPTY_URL_ARRAY));
}