-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpom.xml
More file actions
259 lines (237 loc) · 10.8 KB
/
pom.xml
File metadata and controls
259 lines (237 loc) · 10.8 KB
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
<?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>eu.europeana</groupId>
<artifactId>europeana-parent-pom</artifactId>
<version>3.0</version>
</parent>
<artifactId>thumbnail-api</artifactId>
<version>0.9.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>Thumbnail API</name>
<description>Spring-Boot application for providing CHO thumbnail images</description>
<properties>
<java.version>17</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<object-storage.version>3.0</object-storage.version>
<api-commons-sb3.version>0.1.3</api-commons-sb3.version>
<spring-boot.version>3.5.7</spring-boot.version>
<commonsIO.version>2.21.0</commonsIO.version>
<commonsLang3.version>3.19.0</commonsLang3.version>
<jodatime.version>2.14.0</jodatime.version>
<scrimage.version>4.3.5</scrimage.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<!-- Import dependency management from Spring Boot (because we don't use Spring-Boot as parent pom)-->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-web -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<!-- use log4j2 instead -->
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
<!-- we exclude logback because otherwise we get a lot of debug logging from the Apache httpclient.
alternatively if you want logging from that enable this and control the logging by adding a logback.xml file -->
<exclusion>
<artifactId>logback-classic</artifactId>
<groupId>ch.qos.logback</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-log4j2</artifactId>
</dependency>
<!-- Use commons so we always return errors in json format -->
<dependency>
<groupId>eu.europeana.api</groupId>
<artifactId>commons-sb3-error</artifactId>
<version>${api-commons-sb3.version}</version>
</dependency>
<dependency>
<groupId>eu.europeana.api</groupId>
<artifactId>commons-sb3-oauth</artifactId>
<version>${api-commons-sb3.version}</version>
</dependency>
<!-- Use commons so we always return errors in json format -->
<!-- europeana api commons -->
<!-- <dependency>-->
<!-- <groupId>eu.europeana.api</groupId>-->
<!-- <artifactId>commons-sb3-web</artifactId>-->
<!-- <version>${api-commons-sb3.version}</version>-->
<!-- <exclusions>-->
<!-- <exclusion>-->
<!-- <groupId>eu.europeana.api</groupId>-->
<!-- <artifactId>commons-sb3-nosql</artifactId>-->
<!-- </exclusion>-->
<!-- <exclusion>-->
<!-- <groupId>org.slf4j</groupId>-->
<!-- <artifactId>slf4j-log4j12</artifactId>-->
<!-- </exclusion>-->
<!-- <exclusion>-->
<!-- <groupId>io.springfox</groupId>-->
<!-- <artifactId>springfox-swagger2</artifactId>-->
<!-- </exclusion>-->
<!-- <!– Explicitly exclude test dependencies for Eclipse, transitive dependency for groovy generates runtime errors –>-->
<!-- <exclusion>-->
<!-- <groupId>io.rest-assured</groupId>-->
<!-- <artifactId>*</artifactId>-->
<!-- </exclusion>-->
<!-- </exclusions>-->
<!-- </dependency>-->
<!-- https://mvnrepository.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api -->
<!-- <dependency>-->
<!-- <groupId>jakarta.xml.bind</groupId>-->
<!-- <artifactId>jakarta.xml.bind-api</artifactId>-->
<!-- <version>4.0.2</version>-->
<!-- </dependency>-->
<!-- https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api -->
<!-- Amazon S3 will complain that it's slower if jaxb-api is not provided -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
<!-- Last-Modified dates -->
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>${jodatime.version}</version>
</dependency>
<!-- StringUtils -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commonsLang3.version}</version>
</dependency>
<!-- Used for reading image data -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commonsIO.version}</version>
</dependency>
<!-- Getting data from S3 -->
<dependency>
<groupId>eu.europeana</groupId>
<artifactId>object-storage</artifactId>
<version>${object-storage.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Scrimage image libraries -->
<dependency>
<groupId>com.sksamuel.scrimage</groupId>
<artifactId>scrimage-core</artifactId>
<version>${scrimage.version}</version>
</dependency>
<dependency>
<groupId>com.sksamuel.scrimage</groupId>
<artifactId>scrimage-formats-extra</artifactId>
<version>${scrimage.version}</version>
</dependency>
<dependency>
<groupId>com.sksamuel.scrimage</groupId>
<artifactId>scrimage-webp</artifactId>
<version>${scrimage.version}</version>
</dependency>
<!-- test dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.20.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock-jre8</artifactId>
<version>2.35.2</version>
<scope>test</scope>
</dependency>
<!-- For testing error response contents (not possible with Mockito)-->
<!-- https://mvnrepository.com/artifact/io.rest-assured/rest-assured -->
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>5.5.6</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<!-- set fixed name for easy deployment -->
<finalName>${project.artifactId}</finalName>
<plugins>
<!-- <plugin>-->
<!-- <!– This will be active when running the verify or install goal-->
<!-- To skip (e.g. during debugging) use 'mvn clean package')–>-->
<!-- <groupId>org.owasp</groupId>-->
<!-- <artifactId>dependency-check-maven</artifactId>-->
<!-- <version>10.0.3</version>-->
<!-- <configuration>-->
<!-- <nvdApiKeyEnvironmentVariable>NVD_APIKEY</nvdApiKeyEnvironmentVariable>-->
<!-- <!– see EA-3505 why we host the known exploited vulnerabilties file ourselves –>-->
<!-- <knownExploitedUrl>https://artifactory.eanadev.org/artifactory/ext-release-local/gov/cisa/www/known_exploited_vulnerabilities.json</knownExploitedUrl>-->
<!-- <assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>-->
<!-- <failBuildOnCVSS>8</failBuildOnCVSS>-->
<!-- <suppressionFiles>-->
<!-- <suppressionFile>owasp-suppress.xml</suppressionFile>-->
<!-- </suppressionFiles>-->
<!-- </configuration>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <goals>-->
<!-- <goal>check</goal>-->
<!-- </goals>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>