Expand my Community achievements bar.

AEM cloud build Issue about htl-maven-plugin

Avatar

Level 1

Hi there,
I am facing  a build failure after using   "mvn -PautoInstallSinglePackage clean install"
Here's my version details
Apache Maven 3.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39)
Maven home: C:\Program Files\Maven\apache-maven-3.8.8
Java version: 11.0.23, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows"

[ERROR] Failed to execute goal org.apache.sling:htl-maven-plugin:2.0.2-1.4.0:validate (validate-htl-scripts) on project aem-jupiteram-project.ui.apps: Execution validate-htl-scripts of goal org.apache.sling:htl-maven-plugin:2.0.2-1.4.0:validate failed: A required class was missing while executing org.apache.sling:htl-maven-plugin:2.0.2-1.4.0:validate: org/apache/sling/scripting/sightly/java/compiler/JavaImportsAnalyzer
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.sling:htl-maven-plugin:2.0.2-1.4.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy


Could you please give me any suggestions about fixing this issue?
I uninstall and reinstalled everything, but it did not help me to fix this issue

Thanks in advance.

0 Replies