Highlighted

How to check dependency version in uber jar

Avatar

Avatar

ankurk67503819

Avatar

ankurk67503819

ankurk67503819

12-05-2019

Hi Team,

How can we check the version of a jar file embedded inside uber jar in aem.

For example if i want to check the version of zxing jar  present in uber jar how can we check that?

And if we want to use the upgraded version of zxing library can we use that & how to update the version?

Regards

Replies

Highlighted

Avatar

Avatar

BrijeshYadav

Avatar

BrijeshYadav

BrijeshYadav

13-05-2019

You can find version information in MANIFEST.MF

1751954_pastedImage_0.png

Highlighted

Avatar

Avatar

ankurk67503819

Avatar

ankurk67503819

ankurk67503819

13-05-2019

But here the version is 5.9.6 but thats not the zing library version thats the version of the bundle from where its being exported.

Also my other query is can we upgrade the zxing library version.

Highlighted

Avatar

Avatar

BrijeshYadav

Avatar

BrijeshYadav

BrijeshYadav

13-05-2019

Yes, com.google.zxing is part of cq-wcm-mobile-qrcode bundle.

You can add desired dependency version to your bundle pom file in order to override UberJar