The dependency of an AEM project fails when a developer configures using Apache Maven. Refer to the error information below.
What should a developer add to the pom.xml to fix the Maven build?
A.
B.
C.
D.
The dependency of an AEM project fails when a developer configures using Apache Maven. Refer to the error information below.
What should a developer add to the pom.xml to fix the Maven build?
A.
B.
C.
D.
The compilation errors indicate missing dependencies related to Apache Sling APIs, which are commonly included in the AEM uber-jar or aem-api dependency. Given the available options, the appropriate dependency to add would be the one that includes these APIs. Therefore, the most suitable option is A. By adding the AEM uber-jar dependency, it ensures that all the necessary Sling API packages are available for the project to compile successfully. The provided suggestion of option D is incorrect as it refers to resource exclusions which are unrelated to fixing these dependency compilation errors.
it should be option A uber-jar should be included not file vault
A. Uber-jar needs to be added