This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch fix/issue-267-use-project-files-velocity in repository https://gitbox.apache.org/repos/asf/maven-remote-resources-plugin.git
commit d3555ea871b1a629c10969f03d0441e8313c814e Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Wed Oct 28 15:03:36 2026 +0000 Document the .vm lookup of useProjectFiles --- .../plugin/resources/remote/AbstractProcessRemoteResourcesMojo.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/apache/maven/plugin/resources/remote/AbstractProcessRemoteResourcesMojo.java b/src/main/java/org/apache/maven/plugin/resources/remote/AbstractProcessRemoteResourcesMojo.java index 715456f..4a04bd7 100644 --- a/src/main/java/org/apache/maven/plugin/resources/remote/AbstractProcessRemoteResourcesMojo.java +++ b/src/main/java/org/apache/maven/plugin/resources/remote/AbstractProcessRemoteResourcesMojo.java @@ -377,6 +377,9 @@ public abstract class AbstractProcessRemoteResourcesMojo extends AbstractMojo { /** * Indicate if project workspace files with the same name should be used instead of the ones from the bundle. + * A file in the project's base directory named like the resource is copied as is; one named like the resource + * plus <code>.vm</code> is rendered with Velocity, the same way as a bundled template. The plain file wins when + * both exist. * * @since 3.3.0 */
