Skip to content

Commit

Permalink
Fix typos in AbstractSourceJarMojo exception
Browse files Browse the repository at this point in the history
"twice times" => "twice"
"at least on of them" => "at least one of them"
  • Loading branch information
sabi0 authored and slachiewicz committed Aug 15, 2023
1 parent 099c65a commit 0b1c823
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ protected void packageSources(List<MavenProject> theProjects) throws MojoExecuti
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);
Expand Down

0 comments on commit 0b1c823

Please sign in to comment.