Hi,
I am getting the below error while build the project in eclipse, as shown below.
Packages used in the analyzed classes:
------------------------------
com.myproject.core.models;version="[1.0.0,2.0.0)"
org.apache.sling.scripting.sightly;version="[2.0.0,3.0.0)"
org.apache.sling.scripting.sightly.render;version="[3.0.0,4.0.0)"
[INFO]
[INFO] --- filevault-package-maven-plugin:1.0.3:generate-metadata (default-generate-metadata) @ myproject.ui.apps ---
[INFO] Embedding --- Embedded: groupId=com.adobe.cq,artifactId=core.wcm.components.core,type=,classifier=,filter=false,excludeTransitive=false,target=/apps/myproject/install/ ---
[INFO] Embedding com.adobe.cq:core.wcm.components.core:jar:2.8.0 (from C:\Users\sunita_c\.m2\repository\com\adobe\cq\core.wcm.components.core\2.8.0\core.wcm.components.core-2.8.0.jar) -> jcr_root/apps/myproject/install/core.wcm.components.core-2.8.0.jar
[INFO] Embedding --- Embedded: groupId=com.myproject,artifactId=myproject.core,type=,classifier=,filter=false,excludeTransitive=false,target=/apps/myproject/install/ ---
[INFO] Embedding com.myproject:myproject.core:jar:1.0-SNAPSHOT (from C:\Users\sunita_c\.m2\repository\com\myproject\myproject.core\1.0-SNAPSHOT\myproject.core-1.0-SNAPSHOT.jar) -> jcr_root/apps/myproject/install/myproject.core-1.0-SNAPSHOT.jar
[INFO] using meta-inf/vault from C:\Users\sunita_c\Kohler-Sunita-Work\ADOBE-FOUNDATION-CODES\New folder\myproject\ui.apps\src\main\content\META-INF\vault
[INFO] Loading filter from C:\Users\sunita_c\Kohler-Sunita-Work\ADOBE-FOUNDATION-CODES\New folder\myproject\ui.apps\src\main\content\META-INF\vault\filter.xml
[INFO] Merged detected packages from analyzer with 'importPackage':
[INFO] com.myproject.core.models;version="[1.0.0,2.0.0)"
[INFO] org.apache.sling.scripting.sightly;version="[2.0.0,3.0.0)"
[INFO]
[ERROR] 1 error(s) detected during dependency analysis.
[ERROR] Filter root's ancestor '/conf' is not covered by any of the specified dependencies.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.117 s
[INFO] Finished at: 2020-12-10T22:04:58+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.jackrabbit:filevault-package-maven-plugin:1.0.3:generate-metadata (default-generate-metadata) on project myproject.ui.apps: 1 error(s) detected during dependency analysis. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
*****************************************************************************
My project structure is below.
