April 3, 2020
Estimated Post Reading Time ~ < 1 Min

How do I find out exactly which maven dependency I need?

The Problem You are writing a customization in Java for CQ5/AEM, but the class you need is not currently included in the project, but it is available in CQ5.

You may know what dependency you need, but are unsure as to the version. What is the best way to find the right dependency to include in CQ5?

The Solution 
Go to: http://localhost:4502/system/console/depfinder

Screen+Shot+2013-12-19+at+9.19.21+AM

This is the package dependency lookup service. If you type in the package/class you need in the field, and click on Find, you will get the dependency you need to include.

Screen+Shot+2013-12-19+at+9.23.11+AMJust copy and paste the dependency into your pom file.
aem4beginner.blogspot


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.

Ad Blocker Detected :(

Please consider supporting us by disabling your ad blocker.

Please Disable your adblocker and Refresh the page to view the site content.