This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-apache-parent.git
The following commit(s) were added to refs/heads/master by this push: new 128eea9 Introduce resourceBundleArtifact property (#305) 128eea9 is described below commit 128eea9c8e1340c430438ded82ef95c19acaf8f2 Author: Slawomir Jaranowski <s.jaranow...@gmail.com> AuthorDate: Sat Mar 15 10:46:02 2025 +0100 Introduce resourceBundleArtifact property (#305) Co-authored-by: Matthias Bünger <buk...@users.noreply.github.com> --- docs/src/site/apt/index.apt.vm | 8 +++++++- pom.xml | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/src/site/apt/index.apt.vm b/docs/src/site/apt/index.apt.vm index 1cc5aad..331383f 100644 --- a/docs/src/site/apt/index.apt.vm +++ b/docs/src/site/apt/index.apt.vm @@ -96,7 +96,13 @@ Apache Software Foundation Parent POM * <<plugins>>: The plugins section configures three executions: - ** maven-remote-resources-plugin for {{{/apache-resource-bundles/jar/}org.apache.apache.resources:apache-jar-resource-bundle:$context.get("version.apache-resource-bundles")}}. + ** maven-remote-resources-plugin for {{{/apache-resource-bundles/jar/}org.apache.apache.resources:${resourceBundleArtifact}:$context.get("version.apache-resource-bundles")}}. + + *** The value of <<${resourceBundleArtifact}>> is defined in a property called <<<resourceBundleArtifact>>>. Using the default value for this property will create a {{{/apache-resource-bundles/jar/}Apache JAR Resource Bundle}} + + *** Changing the property value to <<apache-jar-txt-resource-bundle>> will create a {{{/apache-resource-bundles/jar-txt/}Apache JAR (.txt) Resource Bundle}} instead + + [] ** maven-enforcer-plugin to check Maven and Java build prerequisites, configured via properties: diff --git a/pom.xml b/pom.xml index dfa42af..05c16e2 100644 --- a/pom.xml +++ b/pom.xml @@ -94,6 +94,7 @@ under the License. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <sourceReleaseAssemblyDescriptor>source-release</sourceReleaseAssemblyDescriptor> + <resourceBundleArtifact>apache-jar-resource-bundle</resourceBundleArtifact> <gpg.useagent>true</gpg.useagent> <minimalMavenBuildVersion>3.6.3</minimalMavenBuildVersion> <minimalJavaBuildVersion>${maven.compiler.target}</minimalJavaBuildVersion> @@ -340,7 +341,7 @@ under the License. </goals> <configuration> <resourceBundles> - <resourceBundle>org.apache.apache.resources:apache-jar-resource-bundle:${version.apache-resource-bundles}</resourceBundle> + <resourceBundle>org.apache.apache.resources:${resourceBundleArtifact}:${version.apache-resource-bundles}</resourceBundle> </resourceBundles> </configuration> </execution>