<?xml version="1.0" ?>

<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->

<tasks xmlns="urn:wildfly:wildfly-feature-pack-tasks:3.1">
    <copy-path src="docs/licenses/licenses.xsl" relative-to="content" target="docs/licenses/wildfly-preview-licenses.xsl"/>
    <transform stylesheet="docs/licenses/wildfly-preview-licenses.xsl" src="docs/licenses/wildfly-preview-feature-pack-licenses.xml" output="docs/licenses/wildfly-preview-feature-pack-licenses.html" feature-pack-properties="true" phase="FINALIZING"/>
    <delete path="docs/licenses/wildfly-preview-licenses.xsl"/>
    <line-endings phase="FINALIZING">
      <unix>
        <filter pattern="docs?licenses?wildfly-preview-feature-pack-licenses.html" include="true"/>
      </unix>
    </line-endings>
</tasks>
