Expand my Community achievements bar.

SOLVED

getting Build error using arctype36

Avatar

Level 1

I am getting this error can anyone please help.

 

ajeet1_0-1655799819819.png

 

1 Accepted Solution

Avatar

Correct answer by
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

View solution in original post

1 Reply

Avatar

Correct answer by
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