• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Dependency downloading old one even after removal

 
Ranch Hand
Posts: 458
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have the following maven dependency of hibernate-core which is still getting downloaded for some reason even though I don't have it in my pom.xml. Moved from Spring 5.3.X to Spring 6.X and hence all jakarta related changes.
Here is the image showing the contents of hibernate directory inside my m2.



Here's the URL of the image if above doesn't work:
https://i.sstatic.net/F0yNYUOV.png

Here's my pom.xml where I have only included hibernate-core-jakarta on line 201 as shown below.



 
Marshal
Posts: 8965
646
Mac OS X Spring VI Editor BSD Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Analyse them through some Dependency Analyser (there are plugins I trust in all major IDEs), and you should be able to track down where it comes from.
 
Saloon Keeper
Posts: 28321
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Liutauras Vilda wrote:Analyse them through some Dependency Analyser (there are plugins I trust in all major IDEs), and you should be able to track down where it comes from.



Also you can use the maven dependency:tree goal. You're likely incurring a transitive dependency and need to update one of your pom dependency versions.
 
Jack Tauson
Ranch Hand
Posts: 458
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Holloway wrote:

Liutauras Vilda wrote:Analyse them through some Dependency Analyser (there are plugins I trust in all major IDEs), and you should be able to track down where it comes from.



Also you can use the maven dependency:tree goal. You're likely incurring a transitive dependency and need to update one of your pom dependency versions.



Yeah, looks like ehcache is using it so I will have to get rid of it. Looked at it from Eclipse Dependency Tree.

https://i.sstatic.net/Hls9oAIO.png



 
Tim Holloway
Saloon Keeper
Posts: 28321
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't forget that ehcache has been forked due to the commercial grab.
 
Saloon Keeper
Posts: 7645
178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Pardon the OT post.

Tim Holloway wrote:Don't forget that ehcache has been forked due to the commercial grab.


I missed that - what was the issue? I don't seem to be able to find any info on that, nor any fork.
 
Tim Holloway
Saloon Keeper
Posts: 28321
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Never mind. It was redis that forked. Sorry about that.
 
Watchya got in that poodle gun? Anything for me? Or this tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic