This is an automated email from the ASF dual-hosted git repository.

slachiewicz 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 0b1c823  Fix typos in AbstractSourceJarMojo exception
0b1c823 is described below

commit 0b1c82366e306c9d138a3a83950326071c2fc7c6
Author: sabi0 <[email protected]>
AuthorDate: Tue Aug 15 15:53:20 2023 +0200

    Fix typos in AbstractSourceJarMojo exception
    
    "twice times" => "twice"
    "at least on of them" => "at least one of them"
---
 .../java/org/apache/maven/plugins/source/AbstractSourceJarMojo.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 3e56f99..b3ead72 100644
--- a/src/main/java/org/apache/maven/plugins/source/AbstractSourceJarMojo.java
+++ b/src/main/java/org/apache/maven/plugins/source/AbstractSourceJarMojo.java
@@ -307,8 +307,8 @@ public abstract class AbstractSourceJarMojo extends 
AbstractMojo {
                     if (isAlreadyAttached(attachedArtifact, project, 
getClassifier())) {
                         getLog().error("We have duplicated artifacts 
attached.");
                         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.");
+                                + "to execute twice in your build. You have to 
configure a classifier "
+                                + "for at least one of them.");
                     }
                 }
                 projectHelper.attachArtifact(project, getType(), 
getClassifier(), outputFile);

Reply via email to