Error in extending Core Component in AEMaaCS
Hi,
I'm extending the Table of contents core component, to include an heading tag which will be skipped by the component during render. So, I overlayed the html and added my changes to the html. When I paste the changes to crx/de in local the results are working as expected. But when I try to build using maven, getting the below error
[ERROR] /Users/abc/projects/corp/ui.apps/target/generated-sources/htl/org/apache/sling/scripting/sightly/apps/corp/components/table__002d__of__002d__contents/table__002d__of__002d__contents__002e__html.java:[72,80] cannot find symbol
symbol: class TableOfContents
location: package com.adobe.cq.wcm.core.components.models
Since its an AEMaaCS, can i add the core dependency in pom.xml with provided scope?
