thomas-gantenbein-tga opened a new pull request, #12680:
URL: https://github.com/apache/camel/pull/12680

   I got rid of one `AvailablePortFinder` in `camel-management` and simplified 
the `AvailablePortFinder` in `camel-jbang-core`.
   
   I haven't, however, merged 
`/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/AvailablePortFinder.java`
 and 
`dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/AvailablePortFinder.java`
 into a single class, as suggested in CAMEL-20264. 
   
   Why? The `AvailablePortFinder` in `camel-test-junit5` is using annotations 
from `junit-jupiter-api` and the `AvailablePortFinder` in `camel-jbang-core` is 
not a test class. So I'd have to include `junit-jupiter-api` with compile scope 
to make it work for both `camel-jbang-core` and for the zillion of components 
that make use of `camel-test-junit5` and its inner class `Port`.


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