Expandir minha barra de realizações na Comunidade.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.

SOLUCIONADO

getting Build error using arctype36

Avatar

Level 1

I am getting this error can anyone please help.

 

ajeet1_0-1655799819819.png

 

1 Solução aceita

Avatar

Resposta correta de
Community Advisor

@ajeet1 This error seems to be due to the syntax error in the call for the clientlibs in your custom category created.

The correct syntax to call the clientlibs is 

 

  <sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html"
data-sly-call="${clientlib.all @ categories='clientlib1,clientlib2'}"/>

 

This error appear in the build because of the "failOnWarnings" set as true in the plugin "htl-maven-plugin"

<plugin>
    <groupId>org.apache.sling</groupId>
    <artifactId>htl-maven-plugin</artifactId>
    <version>2.0.2-1.4.0</version>
    <configuration>
        <failOnWarnings>true</failOnWarnings>
    </configuration>
</plugin>

Thanks

Ver solução na publicação original

1 Resposta

Avatar

Resposta correta de
Community Advisor

@ajeet1 This error seems to be due to the syntax error in the call for the clientlibs in your custom category created.

The correct syntax to call the clientlibs is 

 

  <sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html"
data-sly-call="${clientlib.all @ categories='clientlib1,clientlib2'}"/>

 

This error appear in the build because of the "failOnWarnings" set as true in the plugin "htl-maven-plugin"

<plugin>
    <groupId>org.apache.sling</groupId>
    <artifactId>htl-maven-plugin</artifactId>
    <version>2.0.2-1.4.0</version>
    <configuration>
        <failOnWarnings>true</failOnWarnings>
    </configuration>
</plugin>

Thanks