This is an automated email from the ASF dual-hosted git repository.

fmariani pushed a commit to branch camel-spring-boot-4.0.0-branch
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git

commit cca4cc164662a20a1f8278ebfe95d6937b67202c
Author: Croway <[email protected]>
AuthorDate: Mon Apr 3 14:07:18 2023 +0200

    Externalize csb version property
---
 .../apache/camel/catalog/camel-jbang/spring-boot-pom.tmpl  | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/catalog/camel-jbang/spring-boot-pom.tmpl
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/catalog/camel-jbang/spring-boot-pom.tmpl
index 40849f0ceb1..b334b67a0de 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/catalog/camel-jbang/spring-boot-pom.tmpl
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/catalog/camel-jbang/spring-boot-pom.tmpl
@@ -18,6 +18,7 @@
                <spring.boot-version>{{ .SpringBootVersion 
}}</spring.boot-version>
                <surefire.plugin.version>3.0.0-M4</surefire.plugin.version>
                
<jkube.generator.from>registry.access.redhat.com/ubi8/openjdk-11:1.14</jkube.generator.from>
+               <camel.spring.boot-version>{{ .CamelSpringBootVersion 
}}</camel.spring.boot-version>
 {{ .AdditionalProperties }}
        </properties>
 
@@ -25,8 +26,8 @@
                <dependencies>
                        <dependency>
                                
<groupId>com.redhat.camel.springboot.platform</groupId>
-                               <artifactId>camel-springboot-bom</artifactId>
-                               <version>{{ .CamelSpringBootVersion }}</version>
+                               <artifactId>camel-spring-boot-bom</artifactId>
+                               <version>${camel.spring.boot-version}</version>
                                <type>pom</type>
                                <scope>import</scope>
                        </dependency>
@@ -86,6 +87,15 @@
                 <artifactId>spring-boot-maven-plugin</artifactId>
                 <version>${spring.boot-version}</version>
             </plugin>
+            <plugin>
+                <groupId>com.redhat.camel.springboot.platform</groupId>
+                <artifactId>patch-maven-plugin</artifactId>
+                <version>${camel.spring.boot-version}</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <skip>false</skip>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

Reply via email to