This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new 9710edcad7c CAMEL621578 - Provide version for the Maven resources plugin for project (#16777) 9710edcad7c is described below commit 9710edcad7c332dd59ccfc8fd1cc95b67b86c6f2 Author: Aurélien Pupier <apup...@redhat.com> AuthorDate: Sat Jan 11 08:33:48 2025 +0100 CAMEL621578 - Provide version for the Maven resources plugin for project (#16777) generated by Camel JBang it avoids this kind of warnings in build log of the generated project: ``` [WARNING] Some problems were encountered while building the effective model for org.example.project:test-from-vscode:jar:1.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ line 153, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] ``` Signed-off-by: Aurélien Pupier <apup...@redhat.com> --- .../src/main/resources/templates/main-kubernetes-pom.tmpl | 1 + .../src/main/resources/templates/quarkus-kubernetes-pom.tmpl | 1 + .../src/main/resources/templates/spring-boot-kubernetes-pom.tmpl | 1 + 3 files changed, 3 insertions(+) diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/main-kubernetes-pom.tmpl b/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/main-kubernetes-pom.tmpl index 3b0c5116a71..9cff5a43b69 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/main-kubernetes-pom.tmpl +++ b/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/main-kubernetes-pom.tmpl @@ -163,6 +163,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> + <version>3.3.1</version> <executions> <execution> <phase>package</phase> diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/quarkus-kubernetes-pom.tmpl b/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/quarkus-kubernetes-pom.tmpl index 8e9e3d95c4c..31fffd46ec0 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/quarkus-kubernetes-pom.tmpl +++ b/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/quarkus-kubernetes-pom.tmpl @@ -141,6 +141,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> + <version>3.3.1</version> <executions> <execution> <phase>package</phase> diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/spring-boot-kubernetes-pom.tmpl b/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/spring-boot-kubernetes-pom.tmpl index 33018c5301e..422e52b50a2 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/spring-boot-kubernetes-pom.tmpl +++ b/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/spring-boot-kubernetes-pom.tmpl @@ -114,6 +114,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> + <version>3.3.1</version> <executions> <execution> <phase>package</phase>