You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2026/09/30 07:01:10 UTC
(maven-resources-plugin) 01/01: Javadoc: list common encodings and link to Charset docs
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch feat/output-encoding
in repository https://gitbox.apache.org/repos/asf/maven-resources-plugin.git
commit cb7c4fb2f12da9b9c66206a0c3af4627a02e8628
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Wed Sep 30 07:00:55 2026 +0000
Javadoc: list common encodings and link to Charset docs
---
src/main/java/org/apache/maven/plugins/resources/ResourcesMojo.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/main/java/org/apache/maven/plugins/resources/ResourcesMojo.java b/src/main/java/org/apache/maven/plugins/resources/ResourcesMojo.java
index a17dedd..47614c6 100644
--- a/src/main/java/org/apache/maven/plugins/resources/ResourcesMojo.java
+++ b/src/main/java/org/apache/maven/plugins/resources/ResourcesMojo.java
@@ -67,6 +67,11 @@ public class ResourcesMojo implements org.apache.maven.api.plugin.Mojo {
* and written with this encoding. Useful to convert legacy EBCDIC or Latin-1 source files to UTF-8
* (or vice-versa) as part of the build.
* <p>
+ * Common encodings include {@code UTF-8}, {@code ISO-8859-1} (Latin-1), {@code US-ASCII},
+ * and {@code UTF-16}. The full list of supported encodings depends on the JVM implementation;
+ * see {@link java.nio.charset.Charset} for details.
+ * </p>
+ * <p>
* When not set (the default), the same encoding is used for reading and writing, preserving
* backward compatibility.
* </p>