Rostislav V
Rostislav V

Reputation: 1798

Find versions of SAP Hybris's dependencies

I'm working with Hybris 1810. I want to know the version of Spring, JUnit, Mockito. Where can I find them? Thanks

Upvotes: 0

Views: 518

Answers (2)

Slav Pilus
Slav Pilus

Reputation: 367

If you don't have access to the code base or want to be sure that libraries at run time are matching the code base you can get list of all jars from a running Hybris instance with the following groovy script (so execute in HAC):

'find /opt/hybris/bin -name *.jar'.execute().text

The location works in CCv2 environment. Adjust to match your specific setup if outside of SAP Cloud Commerce.

Upvotes: 0

agabrys
agabrys

Reputation: 9116

Most of the libraries are in the core extension: hybris/bin/platform/ext/core/lib.

You can also use find command to find them:

find <hyrbis-dir> -name "spring*.jar"
find <hyrbis-dir> -name "junit*.jar"
find <hyrbis-dir> -name "mockito*.jar"

Upvotes: 2

Related Questions