You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/08/05 14:26:02 UTC

[GitHub] [camel-kameleon] simasch opened a new issue, #24: Generated Spring Boot project missing dependency management

simasch opened a new issue, #24:
URL: https://github.com/apache/camel-kameleon/issues/24

   I created a Spring Boot project and added CXF and File components.
   
   But there the versions are missing and I assume that there is something missing in the dependency management section.
   
   ```
   <?xml version="1.0" encoding="UTF-8"?>
   <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <modelVersion>4.0.0</modelVersion>
     <groupId>ch.martinelli.demo</groupId>
     <artifactId>kameleon</artifactId>
     <version>1.0.0-SNAPSHOT</version>
     <name>A Camel Spring Boot Route</name>
     <properties>
       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
       <surefire.plugin.version>3.0.0-M4</surefire.plugin.version>
       <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
       <spring.boot-version>2.7.1</spring.boot-version>
     </properties>
     <dependencyManagement>
       <dependencies>
         <dependency>
           <groupId>org.springframework.boot</groupId>
           <artifactId>spring-boot-dependencies</artifactId>
           <version>${spring.boot-version}</version>
           <type>pom</type>
           <scope>import</scope>
         </dependency>
         <dependency>
           <groupId>org.apache.camel.springboot</groupId>
           <artifactId>camel-spring-boot-bom</artifactId>
           <version>3.18.0</version>
           <type>pom</type>
           <scope>import</scope>
         </dependency>
       </dependencies>
     </dependencyManagement>
     <dependencies>
       <dependency>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-web</artifactId>
         <exclusions>
           <exclusion>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-tomcat</artifactId>
           </exclusion>
         </exclusions>
       </dependency>
       <dependency>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-undertow</artifactId>
       </dependency>
       <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.springboot</groupId>
         <artifactId>camel-stream-starter</artifactId>
       </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>
       <dependency>
         <groupId>org.apache.camel</groupId>
         <artifactId>camel-cxf-soap</artifactId>
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
         <artifactId>camel-file</artifactId>
       </dependency>
     </dependencies>
     <build>
       <plugins>
         <plugin>
           <groupId>org.springframework.boot</groupId>
           <artifactId>spring-boot-maven-plugin</artifactId>
           <version>${spring.boot-version}</version>
           <executions>
             <execution>
               <goals>
                 <goal>repackage</goal>
               </goals>
             </execution>
           </executions>
         </plugin>
         <plugin>
           <artifactId>maven-surefire-plugin</artifactId>
           <version>${surefire.plugin.version}</version>
         </plugin>
         <plugin>
           <artifactId>maven-compiler-plugin</artifactId>
           <version>3.10.1</version>
           <configuration>
             <release>11</release>
             <source>17</source>
             <target>17</target>
           </configuration>
         </plugin>
       </plugins>
     </build>
   </project>
   
   ```


-- 
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: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-kameleon] simasch commented on issue #24: Generated Spring Boot project missing dependency management

Posted by GitBox <gi...@apache.org>.
simasch commented on issue #24:
URL: https://github.com/apache/camel-kameleon/issues/24#issuecomment-1206523979

   Kameleon generated this pom.xml!


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-kameleon] davsclaus commented on issue #24: Generated Spring Boot project missing dependency management

Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #24:
URL: https://github.com/apache/camel-kameleon/issues/24#issuecomment-1207168339

   Thanks for reporting - is fixed for next release. @mgubaidullin will update the website


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-kameleon] davsclaus commented on issue #24: Generated Spring Boot project missing dependency management

Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #24:
URL: https://github.com/apache/camel-kameleon/issues/24#issuecomment-1207162670

   Yeah for spring boot the groupId should be
   
    <groupId>org.apache.camel</groupId> 
   
   changed to
   
    <groupId>org.apache.camel.springboot</groupId>


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-kameleon] oscerd commented on issue #24: Generated Spring Boot project missing dependency management

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #24:
URL: https://github.com/apache/camel-kameleon/issues/24#issuecomment-1206522579

   The file and cxf dependency should -starter not plain component 


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-kameleon] oscerd commented on issue #24: Generated Spring Boot project missing dependency management

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #24:
URL: https://github.com/apache/camel-kameleon/issues/24#issuecomment-1206539554

   Seems like a bug. Thanks for reporting


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-kameleon] mgubaidullin commented on issue #24: Generated Spring Boot project missing dependency management

Posted by GitBox <gi...@apache.org>.
mgubaidullin commented on issue #24:
URL: https://github.com/apache/camel-kameleon/issues/24#issuecomment-1207235364

   Done. Could you please check?


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-kameleon] mgubaidullin closed issue #24: Generated Spring Boot project missing dependency management

Posted by GitBox <gi...@apache.org>.
mgubaidullin closed issue #24: Generated Spring Boot project missing dependency management
URL: https://github.com/apache/camel-kameleon/issues/24


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-kameleon] simasch commented on issue #24: Generated Spring Boot project missing dependency management

Posted by GitBox <gi...@apache.org>.
simasch commented on issue #24:
URL: https://github.com/apache/camel-kameleon/issues/24#issuecomment-1207236674

   Works! Thanks a lot!


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org