pom.xml 2.86 KB
Newer Older
Karel Frajtak's avatar
Karel Frajtak committed
1 2 3 4 5 6 7 8
<?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>
    <groupId>cz.cvut</groupId>
    <artifactId>eShop</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>jar</packaging>
    <dependencies>
Karel Frajták's avatar
restart  
Karel Frajták committed
9 10 11 12 13
        <dependency>
            <groupId>org.assertj</groupId>
            <artifactId>assertj-core</artifactId>
            <version>3.10.0</version>
        </dependency>
Karel Frajtak's avatar
Karel Frajtak committed
14 15 16 17 18 19 20 21 22 23 24
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
        </dependency>
    </dependencies>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
    </properties>
25 26 27 28 29
    <build>
        <plugins>
            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
Karel Frajtak's avatar
Jacoco  
Karel Frajtak committed
30 31 32 33 34
                <version>0.7.9</version>
                <configuration>
                    <destFile>${project.build.directory}/jacoco.exec</destFile>
                    <dataFile>${project.build.directory}/jacoco.exec</dataFile>
                </configuration>
35 36
                <executions>
                    <execution>
Karel Frajtak's avatar
Jacoco  
Karel Frajtak committed
37
                        <id>jacoco-initialize</id>
38 39 40 41 42
                        <goals>
                            <goal>prepare-agent</goal>
                        </goals>
                    </execution>
                    <execution>
Karel Frajtak's avatar
Jacoco  
Karel Frajtak committed
43
                        <id>report</id>
44 45 46 47 48 49 50
                        <phase>test</phase>
                        <goals>
                            <goal>report</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
Karel Frajtak's avatar
Jacoco  
Karel Frajtak committed
51 52 53 54 55 56 57 58 59
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.7.0</version>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
            </plugin>
60
        </plugins>
Karel Frajtak's avatar
Jacoco  
Karel Frajtak committed
61
        <pluginManagement>
Karel Frajták's avatar
restart  
Karel Frajták committed
62
            <plugins>
Karel Frajtak's avatar
Jacoco  
Karel Frajtak committed
63 64 65 66 67 68 69 70 71 72 73
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <configuration>
                        <systemProperties>
                            <jacoco.agent>${jacoco.agent}</jacoco.agent>
                        </systemProperties>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
74
    </build>
Karel Frajtak's avatar
Karel Frajtak committed
75
</project>