You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2024/12/20 20:45:27 UTC
(maven-remote-resources-plugin) branch MRRESOURCES-152 created (now 187271e)
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a change to branch MRRESOURCES-152
in repository https://gitbox.apache.org/repos/asf/maven-remote-resources-plugin.git
at 187271e [MRRESOURCES-152] Add property for resourceBundles and outputDirectory
This branch includes the following new commits:
new 187271e [MRRESOURCES-152] Add property for resourceBundles and outputDirectory
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(maven-remote-resources-plugin) 01/01: [MRRESOURCES-152] Add property for resourceBundles and outputDirectory
Posted by sj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch MRRESOURCES-152
in repository https://gitbox.apache.org/repos/asf/maven-remote-resources-plugin.git
commit 187271e26c5cfe7492252b21c2d4fc021983a46f
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Fri Dec 20 21:45:15 2024 +0100
[MRRESOURCES-152] Add property for resourceBundles and outputDirectory
---
.../plugin/resources/remote/AbstractProcessRemoteResourcesMojo.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 16b1f48..53fb02a 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
@@ -162,7 +162,7 @@ public abstract class AbstractProcessRemoteResourcesMojo extends AbstractMojo {
/**
* The directory where processed resources will be placed for packaging.
*/
- @Parameter(defaultValue = "${project.build.directory}/maven-shared-archive-resources")
+ @Parameter(property = "outputDirectory", defaultValue = "${project.build.directory}/maven-shared-archive-resources")
private File outputDirectory;
/**
@@ -196,7 +196,7 @@ public abstract class AbstractProcessRemoteResourcesMojo extends AbstractMojo {
* The resource bundles that will be retrieved and processed,
* expressed with <code>groupId:artifactId:version[:type[:classifier]]</code> format.
*/
- @Parameter(required = true)
+ @Parameter(property = "resourceBundles", required = true)
private List<String> resourceBundles;
/**