We are trying to copy the entire class over into our code base, the https://github.com/adobe/aem-core-wcm-components/blob/d3d89a177d9a5095a648484a1b00d2046e73ce27/bundl..., but when we are trying to push the new bundle into AEM, we get 3 errors in the bundle in system console
com.adobe.cq.wcm.core.components.internal -- Cannot be resolved
com.adobe.cq.wcm.core.components.internal.link -- Cannot be resolved
com.adobe.cq.wcm.core.components.internal.models.v1 -- Cannot be resolved
We have added this dependency in the core
<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.core</artifactId>
<version>2.16.4</version>
<scope>compile</scope>
</dependency>
But it is not working as expected.
How do we actually import and compile the adobe library?
https://github.com/adobe/aem-core-wcm-components/blob/d3d89a177d9a5095a648484a1b00d2046e73ce27/bundl...
...
import org.jetbrains.annotations.Nullable;
import org.osgi.framework.BundleContext;
import org.osgi.service.component.annotations.Activate;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Reference;
import com.adobe.cq.wcm.core.components.internal.LocalizationUtils;
import com.adobe.cq.wcm.core.components.commons.link.LinkManager;
import com.adobe.cq.wcm.core.components.internal.models.v1.PageListItemImpl;
import com.adobe.cq.wcm.core.components.internal.models.v1.SearchImpl;
...
Please let me know how we can resolve this.