Thursday, December 19, 2013

CQ5/AEM 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:

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.

Just copy and paste the dependency into your pom file.

1 comment:

  1. You now have a Maven oversaw AEM extend with a package module for any OSGi Components and a substance module for your parts, layouts, outline pages, and so on. The segments beneath further clarify the setup of the venture, valuable objectives and regular tasks.Note that relying upon the many-sided quality of your venture, you might need to refine this setup and make isolate modules for individual regions of your venture. For instance, it is basic to have a different package for the venture particular label library, and to isolate infrastrutural segments (lumberjacks, channels, login modules, and so on) from business segments (work process steps, live activity plants, content manufacturers and transport handlers, and so forth).

    best essay writing service