unable to update htl-maven-plugin to 1.0.6 to 1.4.0 | Community
Skip to main content
Level 2
June 28, 2021
Solved

unable to update htl-maven-plugin to 1.0.6 to 1.4.0

  • June 28, 2021
  • 2 replies
  • 1409 views

i want to use - 

<sly data-sly-test="${'abc' in pageProperties['project:services']}:">
 
10:50:21,825 [main] [ERROR]  /jcr_root/apps/abc/components/content/xyz/pageName.html [17:38]:                                                             ${'abc' in pageProperties['project:services']}: mismatched input 'in' expecting {'}', '.', '&&', '||', '[', '@'}
 
when updated the htl-maven -plugin 
 
getting below error 
 
11:30:06,912 [main] [ERROR] Plugin org.apache.sling:htl-maven-plugin:1.4.0 or one of its dependencies could not be resolved: Failure to find org.apache.sling:htl-maven-plugin:jar:1.4.0 in https://repo.adobe.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of adobe-public-releases has elapsed or updates are forced -> [Help 1]
 
 
 
 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by MarkusBullaAdobe

Hi @niks1!

 

Have you tried Maven Central for dependency resolution?

Please also double check on the version information of your according dependency. According to the plugins usage section, the version looks something like (not just "1.4.0") for the latest releases:

 

<version>2.0.2-1.4.0</version>

 

Hope that helps!

2 replies

MarkusBullaAdobe
Adobe Employee
MarkusBullaAdobeAdobe EmployeeAccepted solution
Adobe Employee
June 28, 2021

Hi @niks1!

 

Have you tried Maven Central for dependency resolution?

Please also double check on the version information of your according dependency. According to the plugins usage section, the version looks something like (not just "1.4.0") for the latest releases:

 

<version>2.0.2-1.4.0</version>

 

Hope that helps!

Vijayalakshmi_S
Level 10
June 28, 2021

Hi @niks1,

Try building using "-U" in your maven command. Example : mvn -U install -PautoInstallPackage

I hope you are trying to update to this version of Sling HTL maven plugin - https://mvnrepository.com/artifact/org.apache.sling/htl-maven-plugin/1.1.6-1.4.0