gitgabrio commented on PR #3785:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/3785#issuecomment-2487956283

   Thanks @yesamer , but I'm still doubtful about this modification.
   
   Here's from the build logs
   
   ```
   2024-11-19T17:57:42.1468110Z Downloading from central: 
https://repo.maven.apache.org/maven2/com/thoughtworks/xstream/xstream/1.4.20/xstream-1.4.20.pom
        
   2024-11-19T17:57:42.1471968Z Downloaded from central: 
https://repo.maven.apache.org/maven2/com/thoughtworks/xstream/xstream/1.4.20/xstream-1.4.20.pom
 (25 kB at 1.6 MB/s)
   2024-11-19T17:57:42.1474434Z Downloading from central: 
https://repo.maven.apache.org/maven2/com/thoughtworks/xstream/xstream-parent/1.4.20/xstream-parent-1.4.20.pom
   2024-11-19T17:57:42.2456693Z Downloaded from central: 
https://repo.maven.apache.org/maven2/com/thoughtworks/xstream/xstream-parent/1.4.20/xstream-parent-1.4.20.pom
 (44 kB at 2.6 MB/s)
   2024-11-19T17:57:42.3465718Z Downloading from central: 
https://repo.maven.apache.org/maven2/com/thoughtworks/xstream/xstream/1.4.20/xstream-1.4.20.jar
   ```
   
   At the same time, this solution is inherently frail, since, without 
explicitly excluding xstream from quarkus-junit5: 
   1. the xstream version from quarkus-junit5 it is anyway added to maven 
context (maybe demonstrated by the downloading messages)
   2. the override of that version with the declared one strongly depends on 
the order used by maven to override dependencies (the "bottom" ones overrides 
the upper ones): it would require just a small reorganization of the pom, or 
some analogous modification in some children, to break it
   
   At the same time, I see that, with the exclude, we would require another 
modification somewhere else...
   
   
   
   
   
   To be clear, I'm not saying that the fix does not work as expected
   
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to