dpol1 commented on PR #1833:
URL: https://github.com/apache/stormcrawler/pull/1833#issuecomment-4160663273

   
   > 
   > Pinning Jetty to `12.1.6` in the Solr archetype POM works for now, but it 
tightly couples us to whichever Jetty version Storm happens to ship, so the 
next Storm upgrade could silently break things again.
   > 
   > The more robust fix (imho) would be to shade the Solr client with its own 
relocated Jetty (e.g. under `org.apache.stormcrawler.solr.shaded.jetty`) using 
the Maven Shade plugin. That way Storm's Jetty and Solr's Jetty coexist on the 
classpath without interfering with each other, regardless of what either 
project ships. The downside is that shading is known to confuse CVE scanners, 
which won't be able to match the relocated classes against vulnerability 
databases, so any Jetty CVEs would need to be tracked manually.
   
   I'll proceed with the shading-based approach - I'll still be able to 
implement it in that PR. However, I'll open a ticket to document this - is that 
what you had in mind, @rzo1? Or should we refine it later?
   > 
   > If we keep the pinning approach, it would be worth adding a comment in the 
POM to make the coupling explicit: otherwise it's easy to miss during a future 
Storm upgrade. The StringUtils stuff is fixed in #1847 .
   
   sure!
   


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