<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->

<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.wildfly</groupId>
        <artifactId>wildfly-preview-parent</artifactId>
        <!--
        Maintain separation between the artifact id and the version to help prevent
        merge conflicts between commits changing the GA and those changing the V.
        -->
        <version>36.0.1.Final</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>wildfly-preview-feature-pack-product-conf</artifactId>

    <name>WildFly Preview: Feature Pack Product Configuration</name>
    <description>Provides an artifact whose MANIFEST.MF includes entries that provide installation name and version information.</description>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <!-- This archive only has the manifest we generate. Turn off WARNs about that -->
                    <skipIfEmpty>false</skipIfEmpty>
                    <archive>
                        <manifestEntries>
                            <JBoss-Product-Release-Name>${preview.dist.product.release.name}</JBoss-Product-Release-Name>
                            <JBoss-Product-Release-Version>${preview.dist.product.release.version}</JBoss-Product-Release-Version>
                            <JBoss-Product-Stability>preview</JBoss-Product-Stability>
                            <JBoss-Product-Minimum-Stability>experimental</JBoss-Product-Minimum-Stability>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
