cunningt opened a new pull request, #1731:
URL: https://github.com/apache/camel-spring-boot/pull/1731

   CAMEL-23261 The use of ProjectDependenciesResolver is causing deprecation 
warnings in camel-spring-boot-generator-maven-plugin because it was deprecated 
in maven 3.9.8 : https://maven.apache.org/ref/3.9.8/apidocs/deprecated-list.html
    
   Remove it by adding a ProjectBuildRequest.     Test to make sure that we are 
getting the similar results as the use of ProjectDependenciesResolver.    I've 
kept the logic as similar as possible to minimize any changes in results.     
Do dependency resolution so that we return transitive dependencies like we were 
when we were using ProjectDependenciesResolver.
   
   BEFORE :
   ```
   [INFO] 
/Users/tcunning/src/community/camel-spring-boot/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/SpringBootStarterMojo.java:
 
/Users/tcunning/src/community/camel-spring-boot/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/SpringBootStarterMojo.java
 uses or overrides a deprecated API.
   [INFO] 
/Users/tcunning/src/community/camel-spring-boot/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/SpringBootStarterMojo.java:
 Recompile with -Xlint:deprecation for details.
   ```
   
   AFTER 
   (no deprecation warning)
   
   Co-authored-by: Claude Sonnet 4.5 <[email protected]>


-- 
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