<?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">
    <parent>
        <groupId>com.atlassian.crowd</groupId>
        <artifactId>atlassian-crowd</artifactId>
        <version>4.2.3-QR20210219170245</version>
        <relativePath>../../pom.xml</relativePath>
    </parent>

    <modelVersion>4.0.0</modelVersion>

    <artifactId>crowd-end-to-end-test</artifactId>

    <dependencies>
        <dependency>
            <groupId>com.atlassian.crowd.distribution</groupId>
            <artifactId>crowd-docker-distribution</artifactId>
            <version>${project.version}</version>
            <type>pom</type>
        </dependency>

        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-junit</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>io.rest-assured</groupId>
            <artifactId>rest-assured</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.testcontainers</groupId>
            <artifactId>testcontainers</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.testcontainers</groupId>
            <artifactId>postgresql</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.testcontainers</groupId>
            <artifactId>selenium</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.testcontainers</groupId>
            <artifactId>mysql</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-simple</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.freemarker</groupId>
            <artifactId>freemarker</artifactId>
            <version>2.3.24-atlassian-2</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.crowd</groupId>
            <artifactId>crowd-test-utils</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.crowd</groupId>
            <artifactId>crowd-hibernate5-dialects</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.crowd</groupId>
            <artifactId>crowd-pageobjects</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>com.atlassian.crowd</groupId>
            <artifactId>crowd-server</artifactId>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <skip>true</skip>
                    <systemPropertyVariables>
                        <xvfb.enable>${xvfb.enable}</xvfb.enable>
                    </systemPropertyVariables>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <profiles>
        <profile>
            <id>server</id>
            <properties>
                <crowd.clustering.enabled>false</crowd.clustering.enabled>
                <crowd.license.type>SERVER</crowd.license.type>
                <crowd.license.key>AAABfQ0ODAoPeNptUEFu2zAQvOsVC+RmgLLkuoljlEBdSkEdxFLgSCiKpgea2sRMJFIgV3X9+8qKg tZAD3vY4cxwdi421sBtV0O8gGi+/LBYRhGUhYBZFF8GytlDFUpF+hdych2OyJ1WaDymv1vtjokk5 J2pdaMJq0BYQ70ikw3yc3pxbHGARb7ZpFuxXt29s9ON1DUPJpOJ2KarIk3Yl+/9wtsWqbfwr/qzp Fp6r6UJlW1G4/vOqb30OESYRbMFi2MWX42vCXrldEvaGi5OyOMShG0adErL+jzbOuHr6/mneXGz+ voteEgz3g/7GEXBX0JpXo09mFGYdc0OXf5UenSes3iEhUN5+vH/kfozDaGRRv1bXk+7HmiLUwNZX rCbfMvut3lSimKdZ6x8SE9tDN5Ywe4ItEcYk0FqlK3QQevsCyqCH3ui9nE5nT7b8Ky1af2mYPim+ BlCYsFYgkp7cnrXEfbO2gNZUJ0n23flwzF77p6l0X64jq/efYM/HfzC6jAsAhQ709nweLU2v9vP5 gdDj9WbguG6CQIUe/2NMTX1HVs9kes9V9as9mzum8w=X02ii</crowd.license.key>
            </properties>
        </profile>
        <profile>
            <id>sndc</id>
            <properties>
                <crowd.clustering.enabled>false</crowd.clustering.enabled>
                <crowd.license.type>DATA_CENTER</crowd.license.type>
                <crowd.license.key>AAABrw0ODAoPeNp1kctu2zAQRff8CgLdGaAsqUn9AAQ0kZgmRSIZthSgrwVFjW22Minw4dR/X9qSkaRNF9zM8N65c+ZduXX4BmocxjiczS+jeTjDVZniOIwmKHe7GnSxrgxok5AIpUpaxm3OdpC0HbOgPzLbMmMEkwFXO7Rwmm+Zgcz3kqMHCSMSTdG94CANlIcOTuKMPtL7YkGX5w793Ql9OMkW8cXteRJ9YKJ9exTX6qkJ/m+8Ar0HfZcl13RCyUX2NSYfis8T8un9bDqI/TiWgvTeidUO0MrVhmvRWaFkXxmNRnlRkptiSRbLIqvS8q7ISbWivpGkGnyuBtcHbLeAhyiYSq4a0LjT6idwi79tre2+z8fjjQperTBuewWBXvEjwJnCUlncCGO1qJ0F7ywMtgpzZ6za+TsEyDPxmSWT/BW2aRje/kvlBRGfOV3Sq5Jm5PrLcYE3uQ5aD66Sv6R6kmhF88Q/chmGqNAbJoVhJ0RXZyE6ofClv+/ex/GHFHvoiQ47P/pNjhYxyuCZeQnG4uEHXivPsHUbIXEDe2hV5zWI7lnr+vFr1hpAfwDKnPEMMCwCFAmZGEuZ8ec23uk1hgrTb14sdW0NAhQBBLtGgJRWDpAy3ibJD727YOqvrw==X02ko</crowd.license.key>
            </properties>
        </profile>
        <profile>
            <id>cluster</id>
            <properties>
                <crowd.clustering.enabled>true</crowd.clustering.enabled>
                <crowd.license.type>DATA_CENTER</crowd.license.type>
                <crowd.license.key>AAABrw0ODAoPeNp1kctu2zAQRff8CgLdGaAsqUn9AAQ0kZgmRSIZthSgrwVFjW22Minw4dR/X9qSkaRNF9zM8N65c+ZduXX4BmocxjiczS+jeTjDVZniOIwmKHe7GnSxrgxok5AIpUpaxm3OdpC0HbOgPzLbMmMEkwFXO7Rwmm+Zgcz3kqMHCSMSTdG94CANlIcOTuKMPtL7YkGX5w793Ql9OMkW8cXteRJ9YKJ9exTX6qkJ/m+8Ar0HfZcl13RCyUX2NSYfis8T8un9bDqI/TiWgvTeidUO0MrVhmvRWaFkXxmNRnlRkptiSRbLIqvS8q7ISbWivpGkGnyuBtcHbLeAhyiYSq4a0LjT6idwi79tre2+z8fjjQperTBuewWBXvEjwJnCUlncCGO1qJ0F7ywMtgpzZ6za+TsEyDPxmSWT/BW2aRje/kvlBRGfOV3Sq5Jm5PrLcYE3uQ5aD66Sv6R6kmhF88Q/chmGqNAbJoVhJ0RXZyE6ofClv+/ex/GHFHvoiQ47P/pNjhYxyuCZeQnG4uEHXivPsHUbIXEDe2hV5zWI7lnr+vFr1hpAfwDKnPEMMCwCFAmZGEuZ8ec23uk1hgrTb14sdW0NAhQBBLtGgJRWDpAy3ibJD727YOqvrw==X02ko</crowd.license.key>
            </properties>
        </profile>
        <profile>
            <id>end-to-end</id>
            <build>
                <plugins>
                    <plugin>
                        <artifactId>maven-failsafe-plugin</artifactId>
                        <executions>
                            <execution>
                                <goals>
                                    <goal>integration-test</goal>
                                </goals>
                                <configuration>
                                    <failIfNoTests>true</failIfNoTests>
                                    <includes>/it/crowd/**/*.java</includes>
                                    <systemPropertyVariables>
                                        <crowd.test.batch.number>${crowd.test.batch.number}</crowd.test.batch.number>
                                        <crowd.test.batch.amount>${crowd.test.batch.amount}</crowd.test.batch.amount>
                                        <xvfb.enable>${xvfb.enable}</xvfb.enable>
                                        <temporary.folder>${build.directory}</temporary.folder>
                                        <crowd.license.type>${crowd.license.type}</crowd.license.type>
                                        <crowd.license.key>${crowd.license.key}</crowd.license.key>
                                        <crowd.clustering.enabled>${crowd.clustering.enabled}</crowd.clustering.enabled>
                                    </systemPropertyVariables>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

    <properties>
        <crowd.test.batch.number />
        <crowd.test.batch.amount />
        <xvfb.enable>false</xvfb.enable>
        <crowd.license.type />
        <crowd.license.key />
        <crowd.clustering.enabled />
    </properties>
</project>
