-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
152 lines (139 loc) · 4.73 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<?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>edu.hm.hafner</groupId>
<artifactId>codingstyle-pom</artifactId>
<version>4.16.0</version>
<relativePath/>
</parent>
<groupId>edu.hm.hafner</groupId>
<artifactId>autograding-gitlab-action</artifactId>
<version>2.1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<scm>
<connection>scm:git:https://github.com/uhafner/autograding-gitlab-action.git</connection>
<developerConnection>scm:git:git@github.com:uhafner/autograding-gitlab-action.git</developerConnection>
<url>https://github.com/uhafner/autograding-gitlab-action</url>
<tag>HEAD</tag>
</scm>
<properties>
<module.name>${project.groupId}.autograding.gitlab.action</module.name>
<docker-image-tag>${project.version}</docker-image-tag>
<docker-image-baseline>v2-SNAPSHOT</docker-image-baseline>
<java.version>17</java.version>
<jib-maven-plugin.version>3.4.3</jib-maven-plugin.version>
<testcontainers.version>1.20.1</testcontainers.version>
<autograding-model.version>3.34.0</autograding-model.version>
</properties>
<dependencies>
<dependency>
<groupId>edu.hm.hafner</groupId>
<artifactId>autograding-model</artifactId>
<version>${autograding-model.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</exclusion>
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
<exclusion>
<artifactId>codingstyle</artifactId>
<groupId>edu.hm.hafner</groupId>
</exclusion>
<exclusion>
<artifactId>streamex</artifactId>
<groupId>one.util</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.gitlab4j</groupId>
<artifactId>gitlab4j-api</artifactId>
<version>5.6.0</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<argLine>@{argLine} --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED
</argLine>
</configuration>
</plugin>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>${jib-maven-plugin.version}</version>
<executions>
<execution>
<id>local-docker</id>
<phase>pre-integration-test</phase>
<goals>
<goal>dockerBuild</goal>
</goals>
</execution>
<execution>
<id>docker-io</id>
<phase>install</phase>
<goals>
<goal>build</goal>
</goals>
</execution>
</executions>
<configuration>
<to>
<image>docker.io/uhafner/autograding-gitlab-action</image>
<tags>
<tag>${docker-image-tag}</tag>
<tag>v${docker-image-tag}</tag>
<tag>${docker-image-baseline}</tag>
</tags>
<auth>
<username>${env.DOCKER_IO_USERNAME}</username>
<password>${env.DOCKER_IO_PASSWORD}</password>
</auth>
</to>
<from>
<image>maven:3.9.9-eclipse-temurin-21-alpine</image>
</from>
</configuration>
</plugin>
<plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>