<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:vlt="http://www.day.com/jcr/vault/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
    jcr:description="${projectName} Pacakge"
    jcr:primaryType="vlt:PackageDefinition"
    sling:resourceType="cq/packaging/components/pack/definition"
    buildCount="1"
    cqVersion="${aemVersion}"
    group="${packageGroup}"
    name="${artifactId}"
    path="/etc/packages/${packageGroup}/${artifactId}-${version}"
    version="${version}">
    <filter jcr:primaryType="nt:unstructured">
        <f0
            jcr:primaryType="nt:unstructured"
            mode="replace"
            root="/apps/${appsFolderName}"
            rules="[]"/>
<% if (includeAcsAemCommons && enableErrorHandler) { %>
        <f1
            jcr:primaryType="nt:unstructured"
            mode="replace"
            root="/apps/sling/servlet/errorhandler"
            rules="[]"/>
<% } %>
<% if (createMainClientLib || createDependenciesClientLib) { %>
        <f2
            jcr:primaryType="nt:unstructured"
            mode="replace"
            root="/etc/clientlibs/${appsFolderName}"
            rules="[]"/>
<% } %>
    </filter>
</jcr:root>

<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:vlt="http://www.day.com/jcr/vault/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
    jcr:description="${projectName} Package"
    jcr:primaryType="vlt:PackageDefinition"
    sling:resourceType="cq/packaging/components/pack/definition"
    buildCount="1"
    cqVersion="${aemVersion}"
    group="${packageGroup}"
    name="${artifactId}"
    path="/etc/packages/${packageGroup}/${artifactId}-${version}"
    version="${version}">
    <filter jcr:primaryType="nt:unstructured">
        <f0
            jcr:primaryType="nt:unstructured"
            mode="replace"
            root="/apps/${appsFolderName}"
            rules="[]"/>
<% if (includeAcsAemCommons && enableErrorHandler) { %>
        <f1
            jcr:primaryType="nt:unstructured"
            mode="replace"
            root="/apps/sling/servlet/errorhandler"
            rules="[]"/>
<% } %>
<% if (createMainClientLib || createDependenciesClientLib) { %>
        <f2
            jcr:primaryType="nt:unstructured"
            mode="replace"
            root="/etc/clientlibs/${appsFolderName}"
            rules="[]"/>
<% } %>
    </filter>
</jcr:root>

Fix typo in package definition
Fix typo in package definition
