From 1edeea47f80bc5c5903e88c1adbff56501248a8b Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Fri, 23 Jun 2023 11:43:37 +0200 Subject: [PATCH] [MSOURCES-139] Fix typo in AbstractSourceJarMojo exception --- .../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 @@ protected void packageSources(List theProjects) throws MojoExecuti 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."); }