<?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-feature-pack-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>31.0.1.Final</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

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

    <name>WildFly: 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>${full.dist.product.release.name}</JBoss-Product-Release-Name>
                            <JBoss-Product-Release-Version>${full.dist.product.release.version}</JBoss-Product-Release-Version>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
