pom.xml 4.03 KB
Newer Older
Dominik Vayhinger's avatar
Dominik Vayhinger committed
1
2
3
4
5
6
<?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>de.hftstuttgart</groupId>
    <artifactId>modocot-backend</artifactId>
7
    <version>${buildNumber}</version>
Dominik Vayhinger's avatar
Dominik Vayhinger committed
8
9
10
11
12
13
14
15
16
17
18
19
    <packaging>jar</packaging>

    <name>Modocot-Backend</name>

    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.2.7.RELEASE</version>
        <relativePath />
    </parent>

    <properties>
20
        <buildNumber>devel</buildNumber>
Dominik Vayhinger's avatar
Dominik Vayhinger committed
21
22
23
24
25
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <java.version>11</java.version>
    </properties>

26
27
28
29
30
31
32
33
34
35
36
37
    <profiles>
        <profile>
            <id>ci</id>
            <activation>
                <property><name>env.BUILD_NUMBER</name></property>
            </activation>
            <properties>
                <buildNumber>${env.BUILD_NUMBER}</buildNumber>
            </properties>
        </profile>
    </profiles>

Dominik Vayhinger's avatar
Dominik Vayhinger committed
38
39
    <dependencies>
        <dependency>
40
41
42
            <groupId>com.github.docker-java</groupId>
            <artifactId>docker-java-core</artifactId>
            <version>3.2.6</version>
Dominik Vayhinger's avatar
Dominik Vayhinger committed
43
44
        </dependency>
        <dependency>
45
46
47
            <groupId>com.github.docker-java</groupId>
            <artifactId>docker-java-transport-httpclient5</artifactId>
            <version>3.2.6</version>
Dominik Vayhinger's avatar
Dominik Vayhinger committed
48
49
50
51
52
53
54
55
56
57
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
58
        <!-- https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit -->
Dominik Vayhinger's avatar
Dominik Vayhinger committed
59
        <dependency>
60
61
62
            <groupId>org.eclipse.jgit</groupId>
            <artifactId>org.eclipse.jgit</artifactId>
            <version>5.7.0.202003110725-r</version>
Dominik Vayhinger's avatar
Dominik Vayhinger committed
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.17</version>
        </dependency>
        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-api</artifactId>
            <version>2.11.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-core</artifactId>
            <version>2.11.2</version>
        </dependency>
79
80
81
        <dependency>
            <groupId>de.hftstuttgart</groupId>
            <artifactId>unified-ticketing</artifactId>
82
            <version>0.2.2</version>
83
84
85
86
87
88
89
        </dependency>
        <!-- somehow for unified-ticketing maven downloads a 3.x version, even though 4.9.0 is set on unified-ticketing pom -->
        <dependency>
            <groupId>com.squareup.okhttp3</groupId>
            <artifactId>okhttp</artifactId>
            <version>4.9.0</version>
        </dependency>
90
91
92
93
94
95
96
        <!-- check if received multipart file is text or zip file -->
        <dependency>
            <groupId>org.apache.tika</groupId>
            <artifactId>tika-core</artifactId>
            <version>1.25</version>
        </dependency>

Dominik Vayhinger's avatar
Dominik Vayhinger committed
97
98
99
    </dependencies>

    <build>
100
        <finalName>${project.artifactId}</finalName>
Dominik Vayhinger's avatar
Dominik Vayhinger committed
101
102
103
104
105
106
107
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>
108
109
110
111
112
113
114

    <repositories>
        <repository>
            <id>unified-ticketing</id>
            <url>https://transfer.hft-stuttgart.de/gitlab/api/v4/projects/154/packages/maven</url>
        </repository>
    </repositories>
Lukas Wiest's avatar
Lukas Wiest committed
115
</project>