The analyser found the following errors for author and publish :
[ERROR] [api-regions-exportsimports] com.aem.example:aem-example.core:1.0.0-SNAPSHOT: Bundle saem-example.core:1.0.0-SNAPSHOT is importing package(s) [Package com.adobe.cq.wcm.core.components.commons.link;version=[1.2,2), Package com.adobe.cq.wcm.core.components.models;version=[12.26,13)] in start level 20 but no visible bundle is exporting these for that start level in the required version range. (com.aem.example:aem-example.all:1.0.0-SNAPSHOT)
To extend the core component in SPA I am following this example
https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/s...
mvn -B archetype:generate
-D archetypeGroupId=com.adobe.aem
-D archetypeArtifactId=aem-project-archetype
-D archetypeVersion=39
-D appTitle="AEM Example"
-D appId="aem-example"
-D artifactId="aem-example"
-D groupId="com.aem.example"
-D includeDispatcherConfig="y"
-D singleCountry="n"
-D frontendModule="react"
-D includeExamples="y"
-D includeErrorHandler="y"
-D enableDynamicMedia="y"
-D enableSSR="y"
-D aemVersion="cloud"