From 339aa06e5259618f7d3ad5eb70568a8b86bfa05e Mon Sep 17 00:00:00 2001 From: Matt Benson Date: Wed, 26 Oct 2022 10:08:07 -0500 Subject: [PATCH] https://github.com/mojohaus/templating-maven-plugin/issues/19 --- .../mojo/templating/AbstractFilterSourcesMojo.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/codehaus/mojo/templating/AbstractFilterSourcesMojo.java b/src/main/java/org/codehaus/mojo/templating/AbstractFilterSourcesMojo.java index 0706974..044b307 100644 --- a/src/main/java/org/codehaus/mojo/templating/AbstractFilterSourcesMojo.java +++ b/src/main/java/org/codehaus/mojo/templating/AbstractFilterSourcesMojo.java @@ -140,8 +140,8 @@ public void execute() // 1 Copy with filtering the given source to temporary dir copied = 0; File temporaryDirectory = getTemporaryDirectory( sourceDirectory ); - logInfo( "Coping files with filtering to temporary directory." ); - logDebug( "Temporary director for filtering is: %s", temporaryDirectory ); + logInfo( "Copying files with filtering to temporary directory." ); + logDebug( "Temporary directory for filtering is: %s", temporaryDirectory ); filterSourceToTemporaryDir( sourceDirectory, temporaryDirectory ); // 2 Copy if needed copyDirectoryStructure( temporaryDirectory, getOutputDirectory() ); @@ -153,7 +153,7 @@ public void execute() } else { - logInfo( "No files needs to be copied to output directory. Up to date: %s", getOutputDirectory() ); + logInfo( "No files need to be copied to output directory. Up to date: %s", getOutputDirectory() ); } // 3 Add that dir to sources @@ -428,13 +428,13 @@ private boolean preconditionsFulfilled( File sourceDirectory ) { if ( skipPoms && "pom".equals( project.getPackaging() ) ) { - logInfo( "Skipping a POM project type. Change a `skipPoms` to false to run anyway." ); + logInfo( "Skipping POM project type. Change `skipPoms` to false to run anyway." ); return false; } logDebug( "source=%s target=%s", sourceDirectory, getOutputDirectory() ); if ( !( sourceDirectory != null && sourceDirectory.exists() ) ) { - logInfo( "Request to add '%s' folder. Not added since it does not exist.", sourceDirectory ); + logInfo( "Requested directory '%s' not added since it does not exist.", sourceDirectory ); return false; } return true;