This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-source-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 1edeea4 [MSOURCES-139] Fix typo in AbstractSourceJarMojo exception
1edeea4 is described below
commit 1edeea47f80bc5c5903e88c1adbff56501248a8b
Author: Alexander Brandes <[email protected]>
AuthorDate: Fri Jun 23 11:43:37 2023 +0200
[MSOURCES-139] Fix typo in AbstractSourceJarMojo exception
---
.../java/org/apache/maven/plugins/source/AbstractSourceJarMojo.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/maven/plugins/source/AbstractSourceJarMojo.java
b/src/main/java/org/apache/maven/plugins/source/AbstractSourceJarMojo.java
index f624be7..3e56f99 100644
--- a/src/main/java/org/apache/maven/plugins/source/AbstractSourceJarMojo.java
+++ b/src/main/java/org/apache/maven/plugins/source/AbstractSourceJarMojo.java
@@ -306,7 +306,7 @@ public abstract class AbstractSourceJarMojo extends
AbstractMojo {
for (Artifact attachedArtifact :
project.getAttachedArtifacts()) {
if (isAlreadyAttached(attachedArtifact, project,
getClassifier())) {
getLog().error("We have duplicated artifacts
attached.");
- throw new MojoExecutionException("Presumably you have
configured maven-source-plugn "
+ throw new MojoExecutionException("Presumably you have
configured maven-source-plugin "
+ "to execute twice times in your build. You
have to configure a classifier "
+ "for at least on of them.");
}