<?xml version="1.0" encoding="UTF-8"?>
<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>com.atlassian.translations</groupId>
        <artifactId>confluence-translations</artifactId>
        <version>10.2.0.rc1-20251128081645</version>
    </parent>

    <artifactId>language-pack</artifactId>
    <packaging>pom</packaging>

    <modules>
        <module>cs_CZ</module>
        <module>da_DK</module>
        <module>de_DE</module>
        <module>en_US</module>
        <module>es_ES</module>
<!--        <module>et_EE</module>-->
        <module>fi_FI</module>
        <module>fr_FR</module>
        <module>hu_HU</module>
<!--        <module>is_IS</module>-->
        <module>it_IT</module>
        <module>ja_JP</module>
        <module>ko_KR</module>
        <module>nl_NL</module>
        <module>no_NO</module>
        <module>pl_PL</module>
        <module>pt_BR</module>
<!--        <module>ro_RO</module>-->
        <module>ru_RU</module>
<!--        <module>sk_SK</module>-->
        <module>sv_SE</module>
        <module>zh_CN</module>
    </modules>

    <build>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
                <includes>
                    <include>atlassian-plugin.xml</include>
                </includes>
            </resource>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>false</filtering>
                <excludes>
                    <exclude>atlassian-plugin.xml</exclude>
                </excludes>
            </resource>
        </resources>

        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>3.0.2</version>
                    <configuration>
                        <archive>
                            <manifestEntries>
                                <Manifest-ProductVersion>1.0</Manifest-ProductVersion>
                                <Bundle-ManifestVersion>2</Bundle-ManifestVersion>
                                <Bundle-DocURL>https://translations.atlassian.com</Bundle-DocURL>
                                <Bundle-Vendor>Atlassian Translations</Bundle-Vendor>
                                <Created-By>Atlassian Translations</Created-By>
                                <Spring-Context>*;timeout:=60</Spring-Context>
                            </manifestEntries>
                        </archive>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>

        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifestEntries>
                            <Export-Package>
                                com.atlassian.confluence.languages.${locale.name}.obr.install;version="${project.version}"
                            </Export-Package>
                            <Atlassian-Plugin-Key>tac.confluence.languages.${locale.name}</Atlassian-Plugin-Key>
                            <Bundle-SymbolicName>tac.confluence.languages.${locale.name}</Bundle-SymbolicName>
                            <Bundle-Name>Confluence ${locale.fullname} Language Pack</Bundle-Name>
                            <Bundle-Version>${project.version}</Bundle-Version>
                            <Bundle-Description>This plugin contains translations for ${locale.name}</Bundle-Description>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>versions-maven-plugin</artifactId>
                <version>2.5</version>
                <reportSets>
                    <reportSet>
                        <reports>
                            <report>dependency-updates-report</report>
                            <report>plugin-updates-report</report>
                            <report>property-updates-report</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>
        </plugins>
    </reporting>

</project>
