Skip to content

Commit 7fe9086

Browse files
committed
spelling
1 parent cc35950 commit 7fe9086

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/apache/maven/plugins/announcement/AnnouncementMojo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ public void processTemplate(Context context, File outputDirectory, String templa
657657

658658
if (!outputDirectory.exists()) {
659659
if (!outputDirectory.mkdirs()) {
660-
throw new MojoExecutionException("Faield to create directory " + outputDirectory);
660+
throw new MojoExecutionException("Failed to create directory " + outputDirectory);
661661
}
662662
}
663663

@@ -670,7 +670,7 @@ public void processTemplate(Context context, File outputDirectory, String templa
670670
if (templateEncoding == null || templateEncoding.isEmpty()) {
671671
templateEncoding = Charset.defaultCharset().name();
672672
getLog().warn("File encoding has not been set, using platform encoding " + templateEncoding
673-
+ ", i.e. build is platform dependent!");
673+
+ "; build is platform dependent!");
674674
}
675675
try (Writer writer = new OutputStreamWriter(new FileOutputStream(f), templateEncoding)) {
676676
Template velocityTemplate = engine.getTemplate(templateDirectory + "/" + template, templateEncoding);

0 commit comments

Comments
 (0)