Thomas Cunningham created CAMEL-22466:
-----------------------------------------

             Summary: Clean up spring-boot version references within camel 
project
                 Key: CAMEL-22466
                 URL: https://issues.apache.org/jira/browse/CAMEL-22466
             Project: Camel
          Issue Type: Task
          Components: build system
            Reporter: Thomas Cunningham


While spring-boot is not referenced in any runtime context in camel - it is 
referenced in at least five different places in camel - it would be nice to add 
it as a property in parent/pom.xml and then use token replacement / properties 
in lieu of hardcoding it in so many places.     Doing so would make spring-boot 
upgrades (which happen every month) much more maintainable.

https://github.com/apache/camel/blob/main/dsl/camel-jbang/camel-jbang-core/src/test/java/org/apache/camel/dsl/jbang/core/commands/DependencyRuntimeTest.java#L124

[https://github.com/apache/camel/blob/main/dsl/camel-jbang/camel-jbang-core/src/test/java/org/apache/camel/dsl/jbang/core/commands/DependencyRuntimeTest.java#L126]

[https://github.com/apache/camel/blob/main/dsl/camel-jbang/camel-jbang-core/src/test/resources/pom-xml-files/springboot-pom.xml#L27]

[https://github.com/apache/camel/blob/main/dsl/camel-jbang/camel-jbang-core/src/test/resources/pom-xml-files/springboot-pom.xml#L47]

[https://github.com/apache/camel/blob/main/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/RuntimeType.java#L30]

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to