apupier commented on PR #16479:
URL: https://github.com/apache/camel/pull/16479#issuecomment-2523359415

   the genrated pom doesn't contain the dependy specific fro SpringBoot but the 
genric one, for intance:
   ```
   <?xml version="1.0" encoding="UTF-8"?>
   <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
https://maven.apache.org/xsd/maven-4.0.0.xsd";>
       <modelVersion>4.0.0</modelVersion>
   
       <parent>
           <groupId>org.springframework.boot</groupId>
           <artifactId>spring-boot-starter-parent</artifactId>
           <version>3.4.0</version>
           <relativePath/> <!-- lookup parent from repository -->
       </parent>
   
       <groupId>examples</groupId>
       <artifactId>route</artifactId>
       <version>1.0.0</version>
   
       <properties>
           <java.version>17</java.version>
           
<project.build.outputTimestamp>2024-12-06T15:20:37Z</project.build.outputTimestamp>
   
       </properties>
   
       <dependencyManagement>
           <dependencies>
               <!-- Spring Boot BOM -->
               <dependency>
                   <groupId>org.springframework.boot</groupId>
                   <artifactId>spring-boot-dependencies</artifactId>
                   <version>3.4.0</version>
                   <type>pom</type>
                   <scope>import</scope>
               </dependency>
               <!-- Camel BOM -->
               <dependency>
                   <groupId>org.apache.camel.springboot</groupId>
                   <artifactId>camel-spring-boot-bom</artifactId>
                   <version>4.10.0-SNAPSHOT</version>
                   <type>pom</type>
                   <scope>import</scope>
               </dependency>
           </dependencies>
       </dependencyManagement>
   
       <repositories>
           <repository>
               <id>custom1</id>
               
<url>https://repository.apache.org/content/groups/snapshots/</url>
               <releases>
                   <enabled>false</enabled>
               </releases>
               <snapshots>
                   <enabled>true</enabled>
               </snapshots>
           </repository>
       </repositories>
       <pluginRepositories>
           <pluginRepository>
               <id>custom2</id>
               
<url>https://repository.apache.org/content/groups/snapshots/</url>
               <releases>
                   <enabled>false</enabled>
               </releases>
               <snapshots>
                   <enabled>true</enabled>
               </snapshots>
           </pluginRepository>
       </pluginRepositories>
   
   
       <dependencies>
           <dependency>
               <groupId>org.springframework.boot</groupId>
               <artifactId>spring-boot-starter-actuator</artifactId>
           </dependency>
           <dependency>
               <groupId>org.apache.camel.springboot</groupId>
               <artifactId>camel-spring-boot-starter</artifactId>
           </dependency>
           <dependency>
               <groupId>org.apache.camel</groupId>
               <artifactId>camel-kubernetes</artifactId>
               <version>4.10.0-SNAPSHOT</version>
           </dependency>
           <dependency>
               <groupId>org.apache.camel</groupId>
               <artifactId>camel-log</artifactId>
               <version>4.10.0-SNAPSHOT</version>
           </dependency>
           <dependency>
               <groupId>org.apache.camel</groupId>
               <artifactId>camel-timer</artifactId>
               <version>4.10.0-SNAPSHOT</version>
           </dependency>
           <dependency>
               <groupId>org.apache.camel</groupId>
               <artifactId>camel-yaml-dsl</artifactId>
               <version>4.10.0-SNAPSHOT</version>
           </dependency>
           <dependency>
               <groupId>org.apache.commons</groupId>
               <artifactId>commons-dbcp2</artifactId>
               <version>2.13.0</version>
           </dependency>
           <dependency>
               <groupId>org.postgresql</groupId>
               <artifactId>postgresql</artifactId>
               <version>42.7.4</version>
           </dependency>
   
           <dependency>
               <groupId>org.springframework.boot</groupId>
               <artifactId>spring-boot-starter-test</artifactId>
               <scope>test</scope>
           </dependency>
           <dependency>
               <groupId>org.apache.camel</groupId>
               <artifactId>camel-test-spring-junit5</artifactId>
               <scope>test</scope>
           </dependency>
       </dependencies>
   
       <build>
           <plugins>
               <plugin>
                   <groupId>org.springframework.boot</groupId>
                   <artifactId>spring-boot-maven-plugin</artifactId>
               </plugin>
           </plugins>
       </build>
   
       <profiles>
           <profile>
               <id>camel.debug</id>
               <activation>
                   <property>
                       <name>camel.debug</name>
                       <value>true</value>
                   </property>
               </activation>
               <dependencies>
                   <dependency>
                       <groupId>org.apache.camel.springboot</groupId>
                       <artifactId>camel-debug-starter</artifactId>
                   </dependency>
               </dependencies>
               <build>
                   <plugins>
                       <plugin>
                           <groupId>org.apache.maven.plugins</groupId>
                           <artifactId>maven-dependency-plugin</artifactId>
                           <version>3.8.1</version>
                           <executions>
                               <execution>
                                   <id>copy</id>
                                   <phase>generate-sources</phase>
                                   <goals>
                                       <goal>copy</goal>
                                   </goals>
                                   <configuration>
                                       <artifactItems>
                                         <artifactItem>
                                           <groupId>org.jolokia</groupId>
                                           
<artifactId>jolokia-agent-jvm</artifactId>
                                           <version>2.1.2</version>
                                           <type>jar</type>
                                           <classifier>javaagent</classifier>
                                         </artifactItem>
                                       </artifactItems>
                                       <stripVersion>true</stripVersion>
                                   </configuration>
                               </execution>
                           </executions>
                       </plugin>
                       <plugin>
                           <groupId>org.springframework.boot</groupId>
                           <artifactId>spring-boot-maven-plugin</artifactId>
                           <configuration>
                               
<jvmArguments>-javaagent:target/dependency/jolokia-agent-jvm-javaagent.jar=port=7878,host=localhost</jvmArguments>
                           </configuration>
                       </plugin>
                   </plugins>
               </build>
           </profile>
       </profiles>
   
   </project>
   ```
   
   we can nitce that there are camel-kubernetes instead of 
camel-kubernetes-starter


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to