<?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>org.linkki-framework</groupId>
        <artifactId>linkki</artifactId>
        <version>2.3.12</version>
    </parent>

    <artifactId>linkki-vaadin23</artifactId>
    <packaging>pom</packaging>
    <name>linkki Vaadin 23</name>
    <description>Vaadin 23 Modules for linkki</description>

    <modules>
        <module>core</module>
        <module>application-framework</module>
        <module>ips</module>
        <module>component</module>
        <module>samples</module>
        <module>doc</module>
        <module>nestedcomponent</module>
        <module>apt</module>
        <module>archetypes</module>
        <module>test</module>
        <module>testbench-extension</module>
    </modules>

    <properties>
        <!-- this property must also be updated in samples-vaadin23 -->
        <vaadin.version>
            <!-- tag::vaadin-version[] -->
            23.3.35
            <!-- end::vaadin-version[] -->
        </vaadin.version>
        <!-- this property must also be updated in samples-vaadin23 -->
        <spring-boot.version>
            <!-- tag::spring-boot-version[] -->
            2.7.18
            <!-- end::spring-boot-version[] -->
        </spring-boot.version>
        <karibu-testing-v10.version>1.3.24</karibu-testing-v10.version>
        <mobile-drag-drop.version>2.3.0-rc.2</mobile-drag-drop.version>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.vaadin</groupId>
                <artifactId>vaadin-core</artifactId>
                <version>${vaadin.version}</version>
            </dependency>
            <dependency>
                <groupId>com.nimbusds</groupId>
                <artifactId>nimbus-jose-jwt</artifactId>
                <version>9.42</version><!-- force version 9.42 due to CVE-2023-52428 -->
            </dependency>
            <dependency>
                <!-- prevents transitive version conflict between vaadin__vaadin-mobile-drag-drop and vaadin-dnd.
                Can lead to non-deterministic build failure when linkki-apt is used in a concurrent maven build -->
                <groupId>org.webjars.npm</groupId>
                <artifactId>mobile-drag-drop</artifactId>
                <version>${mobile-drag-drop.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-lang3</artifactId>
                <version>${commons-lang3.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-test</artifactId>
                <version>${spring-boot.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.github.mvysny.kaributesting</groupId>
                <artifactId>karibu-testing-v10</artifactId>
                <version>${karibu-testing-v10.version}</version>
                <scope>test</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

</project>