Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
pom.xml 6.28 KiB
Newer Older
  • Learn to ignore specific revisions
  • rui rodrigues's avatar
    rui rodrigues committed
    <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://www.apache.org/xsd/maven-4.0.0.xsd">
    
    rui rodrigues's avatar
    rui rodrigues committed
        <modelVersion>4.0.0</modelVersion>
        <groupId>org.comission-european</groupId>
        <artifactId>pso-testing</artifactId>
        <version>0.7.0</version>
        <properties>
            <maven.compiler.plugin.version>3.12.1</maven.compiler.plugin.version>
            <maven.compiler.source.version>11</maven.compiler.source.version>
            <maven.compiler.target.version>11</maven.compiler.target.version>
            <maven-atf-reports.version>1.0.0</maven-atf-reports.version>
    
            <playwright.version>1.43.0</playwright.version>
    
    rui rodrigues's avatar
    rui rodrigues committed
            <cucumber.java.version>7.16.1</cucumber.java.version>
            <cucumber.junit.version>7.16.1</cucumber.junit.version>
            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    
            <checkstyle.maven.plugin.version>3.5.0</checkstyle.maven.plugin.version>
            <maven.surefire.plugin.version>3.4.0</maven.surefire.plugin.version>
    
    Adolfo Han's avatar
    Adolfo Han committed
            <projectName>PSO</projectName>
    
    rui rodrigues's avatar
    rui rodrigues committed
        </properties>
    
        <repositories>
            <repository>
                <id>gitlab-maven</id>
                <name>GitLab Maven Repository</name>
                <url>https://code.europa.eu/api/v4/projects/808/packages/maven</url>
                <releases>
                    <enabled>true</enabled>
                </releases>
                <snapshots>
                    <enabled>true</enabled>
                </snapshots>
            </repository>
        </repositories>
    
    rui rodrigues's avatar
    rui rodrigues committed
        <build>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>${maven.compiler.plugin.version}</version>
                    <configuration>
                        <source>${maven.compiler.source.version}</source>
                        <target>${maven.compiler.target.version}</target>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
    
                    <version>${maven.surefire.plugin.version}</version>
    
    rui rodrigues's avatar
    rui rodrigues committed
                    <configuration>
                        <goal>test</goal>
                        <useFile>false</useFile>
                        <testFailureIgnore>false</testFailureIgnore>
                        <useSystemClassLoader>false</useSystemClassLoader>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>com.qa.atf.reports</groupId>
                    <artifactId>maven-atf-reports</artifactId>
                    <version>${maven-atf-reports.version}</version>
                    <executions>
                        <execution>
                            <id>execution</id>
                            <phase>verify</phase>
                            <goals>
                                <goal>generate</goal>
                            </goals>
                            <configuration>
    
    Adolfo Han's avatar
    Adolfo Han committed
                                <projectName>${projectName}</projectName>
    
    rui rodrigues's avatar
    rui rodrigues committed
                                <skip>false</skip>
                                <outputDirectory>${project.build.directory}</outputDirectory>
                                <inputDirectory>${project.build.directory}/cucumber-reports</inputDirectory>
                                <jsonFiles>
                                    <param>**/*.json</param>
                                </jsonFiles>
                                <classificationDirectory>${project.build.directory}</classificationDirectory>
                                <showPlatform>false</showPlatform>
                                <checkBuildResult>false</checkBuildResult>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-checkstyle-plugin</artifactId>
    
                    <version>${checkstyle.maven.plugin.version}</version>
    
    rui rodrigues's avatar
    rui rodrigues committed
                    <configuration>
                        <configLocation>checkstyle.xml</configLocation>
    
                        <includeTestSourceDirectory>true</includeTestSourceDirectory>
                        <includeTestResources>true</includeTestResources>
                        <consoleOutput>true</consoleOutput>
                        <cacheFile>${project.build.directory}/checkstyle/checkstyle-cachefile</cacheFile>
                        <outputDirectory>${project.build.directory}/checkstyle/</outputDirectory>
                        <outputFile>${project.build.directory}/checkstyle/checkstyle-result.xml</outputFile>
                        <failsOnError>true</failsOnError>
    
    rui rodrigues's avatar
    rui rodrigues committed
                    </configuration>
                    <executions>
                        <execution>
    
                            <id>validate-checkstyle</id>
    
    Adolfo Han's avatar
    Adolfo Han committed
                            <phase>validate</phase>
    
    rui rodrigues's avatar
    rui rodrigues committed
                            <goals>
    
                                <goal>checkstyle</goal>
    
    rui rodrigues's avatar
    rui rodrigues committed
                            </goals>
                        </execution>
                    </executions>
                </plugin>
            </plugins>
        </build>
        <dependencies>
            <dependency>
                <groupId>com.microsoft.playwright</groupId>
                <artifactId>playwright</artifactId>
    
                <version>${playwright.version}</version>
    
    rui rodrigues's avatar
    rui rodrigues committed
            </dependency>
            <dependency>
                <groupId>io.cucumber</groupId>
                <artifactId>cucumber-java</artifactId>
                <version>${cucumber.java.version}</version>
            </dependency>
            <dependency>
                <groupId>io.cucumber</groupId>
                <artifactId>cucumber-junit</artifactId>
                <version>${cucumber.junit.version}</version>
                <scope>compile</scope>
            </dependency>
    
            <dependency>
                <groupId>com.google.code.gson</groupId>
                <artifactId>gson</artifactId>
                <version>2.10.1</version>
            </dependency>
    
            <dependency>
                <groupId>com.warrenstrange</groupId>
                <artifactId>googleauth</artifactId>
                <version>1.4.0</version>
            </dependency>
    
            <dependency>
                <groupId>org.jetbrains</groupId>
                <artifactId>annotations</artifactId>
                <version>RELEASE</version>
                <scope>test</scope>
            </dependency>
    
    rui rodrigues's avatar
    rui rodrigues committed
        </dependencies>