Skip to content

Commit 0b1c823

Browse files
sabi0slachiewicz
authored andcommitted
Fix typos in AbstractSourceJarMojo exception
"twice times" => "twice" "at least on of them" => "at least one of them"
1 parent 099c65a commit 0b1c823

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/apache/maven/plugins/source/AbstractSourceJarMojo.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ protected void packageSources(List<MavenProject> theProjects) throws MojoExecuti
307307
if (isAlreadyAttached(attachedArtifact, project, getClassifier())) {
308308
getLog().error("We have duplicated artifacts attached.");
309309
throw new MojoExecutionException("Presumably you have configured maven-source-plugin "
310-
+ "to execute twice times in your build. You have to configure a classifier "
311-
+ "for at least on of them.");
310+
+ "to execute twice in your build. You have to configure a classifier "
311+
+ "for at least one of them.");
312312
}
313313
}
314314
projectHelper.attachArtifact(project, getType(), getClassifier(), outputFile);

0 commit comments

Comments
 (0)