This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch deprecate in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git
commit 79c4ea25319fa32894e290715bb0364fb78bf6b2 Author: Elliotte Rusty Harold <[email protected]> AuthorDate: Sat Jun 17 16:45:51 2023 -0400 deprecate forceMkdir since a close replacement exists in Commons IO --- src/main/java/org/apache/maven/shared/utils/io/FileUtils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/apache/maven/shared/utils/io/FileUtils.java b/src/main/java/org/apache/maven/shared/utils/io/FileUtils.java index 635c66c..a0a0a6f 100644 --- a/src/main/java/org/apache/maven/shared/utils/io/FileUtils.java +++ b/src/main/java/org/apache/maven/shared/utils/io/FileUtils.java @@ -1098,7 +1098,9 @@ public class FileUtils { * @throws IOException if a file already exists with the specified name or the directory is unable to be created * @throws IllegalArgumentException if the file contains illegal Windows characters under Windows OS. * @see #INVALID_CHARACTERS_FOR_WINDOWS_FILE_NAME + * @deprecated use {@code org.apache.commons.io.FileUtils.forceMkdir()} */ + @Deprecated public static void forceMkdir(@Nonnull final File file) throws IOException { if (Os.isFamily(Os.FAMILY_WINDOWS) && !isValidWindowsFileName(file)) { throw new IllegalArgumentException(
