-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
297 lines (279 loc) · 14.3 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
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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
<project>
<modelVersion>4.0.0</modelVersion>
<artifactId>microservice-pom</artifactId>
<version>master-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
<groupId>dk.dbc</groupId>
<artifactId>super-pom</artifactId>
<version>master-SNAPSHOT</version>
<relativePath></relativePath>
</parent>
<repositories>
<repository>
<id>mavenrepo.dbc.dk</id>
<url>https://mavenrepo.dbc.dk/nexus/content/groups/public</url>
</repository>
</repositories>
<properties>
<payara.version>6.2024</payara.version>
<payara.major.minor.version>6.2024.6</payara.major.minor.version>
</properties>
<dependencyManagement>
<dependencies>
<!-- provided scoped dependencies -->
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>${jakarta-xml-bind.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>eclipselink</artifactId>
<version>${eclipselink.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast</artifactId>
<version>${hazelcast.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
<version>${jcache.version}</version>
<scope>provided</scope>
</dependency>
<!-- Jackson is a high-performance JSON processor (parser, generator) -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-jaxb-annotations</artifactId>
<version>${jackson.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>${jackson.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>${jackson.version}</version>
<scope>provided</scope>
</dependency>
<!-- Jersey is the JAX-RS reference implementation -->
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
<version>${jersey.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${postgresql-driver.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
<scope>provided</scope>
</dependency>
<!-- SnakeYAML is required for the YAML conversion in Jackson -->
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>${snakeyaml.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions combine.children="append">
<execution>
<id>warn</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<bannedDependencies>
<level>WARN</level>
<excludes>
<exclude>ch.qos.logback:logback-classic:*:jar:*</exclude>
<exclude>ch.qos.logback:logback-core:*:jar:*</exclude>
<exclude>com.hazelcast:hazelcast:*:jar:*</exclude>
<exclude>com.fasterxml.jackson.core:jackson-core:*:jar:*</exclude>
<exclude>com.fasterxml.jackson.core:jackson-annotations:*:jar:*</exclude>
<exclude>com.fasterxml.jackson.core:jackson-databind:*:jar:*</exclude>
<exclude>com.fasterxml.jackson.module:jackson-module-jaxb-annotations:*:jar:*</exclude>
<exclude>com.fasterxml.jackson.dataformat:jackson-dataformat-xml:*:jar:*</exclude>
<exclude>com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:*:jar:*</exclude>
<exclude>jakarta.platform:jakarta.jakartaee-api:*:jar:*</exclude>
<exclude>jakarta.platform:jakarta.jakartaee-web-api:*:jar:*</exclude>
<exclude>jakarta.xml.bind:jakarta.xml.bind-api:*:jar:*</exclude>
<exclude>javax:javaee-api:*:jar:*</exclude>
<exclude>javax:javaee-web-api:*:jar:*</exclude>
<exclude>org.eclipse.microprofile:microprofile:*:pom:*</exclude>
<exclude>org.eclipse.microprofile.config:microprofile-config-api:*:jar:*</exclude>
<exclude>org.eclipse.microprofile.fault-tolerance:microprofile-fault-tolerance-api:*:jar:*</exclude>
<exclude>org.eclipse.microprofile.health:microprofile-health-api:*:jar:*</exclude>
<exclude>org.eclipse.microprofile.metrics:microprofile-metrics-api:*:jar:*</exclude>
<exclude>org.eclipse.microprofile.jwt:microprofile-jwt-auth-api:*:jar:*</exclude>
<exclude>org.eclipse.microprofile.openapi:microprofile-openapi-api:*:jar:*</exclude>
<exclude>org.eclipse.microprofile.rest.client:microprofile-rest-client-api:*:jar:*</exclude>
<exclude>org.eclipse.microprofile.opentracing:microprofile-opentracing-api:*:jar:*</exclude>
<exclude>org.eclipse.persistence:eclipselink:*:jar:*</exclude>
<exclude>org.glassfish.jersey.core:jersey-client:*:jar:*</exclude>
<exclude>org.glassfish.jersey.inject:jersey-hk2:*:jar:*</exclude>
<exclude>org.glassfish.jersey.media:jersey-media-json-jackson:*:jar:*</exclude>
<exclude>org.postgresql:postgresql:*:jar:*</exclude>
<exclude>org.slf4j:slf4j-api:*:jar:*</exclude>
<exclude>org.yaml:snakeyaml:*:jar:*</exclude>
</excludes>
<includes>
<include>ch.qos.logback:logback-classic:${logback.version}:jar:provided</include>
<include>ch.qos.logback:logback-classic:${logback.version}:jar:test</include>
<include>ch.qos.logback:logback-core:${logback.version}:jar:provided</include>
<include>ch.qos.logback:logback-core:${logback.version}:jar:test</include>
<include>com.hazelcast:hazelcast:${hazelcast.version}:jar:provided</include>
<include>com.hazelcast:hazelcast:${hazelcast.version}:jar:test</include>
<include>com.fasterxml.jackson.core:jackson-core:${jackson.version}:jar:provided</include>
<include>com.fasterxml.jackson.core:jackson-core:${jackson.version}:jar:test</include>
<include>com.fasterxml.jackson.core:jackson-annotations:${jackson.version}:jar:provided</include>
<include>com.fasterxml.jackson.core:jackson-annotations:${jackson.version}:jar:test</include>
<include>com.fasterxml.jackson.core:jackson-databind:${jackson.version}:jar:provided</include>
<include>com.fasterxml.jackson.core:jackson-databind:${jackson.version}:jar:test</include>
<include>com.fasterxml.jackson.module:jackson-module-jaxb-annotations:${jackson.version}:jar:provided</include>
<include>com.fasterxml.jackson.module:jackson-module-jaxb-annotations:${jackson.version}:jar:test</include>
<include>com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jackson.version}:jar:provided</include>
<include>com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jackson.version}:jar:test</include>
<include>com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${jackson.version}:jar:provided</include>
<include>com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${jackson.version}:jar:test</include>
<include>jakarta.platform:jakarta.jakartaee-api:${jakartaee.version}:jar:provided</include>
<include>jakarta.platform:jakarta.jakartaee-web-api:${jakartaee.version}:jar:provided</include>
<include>jakarta.xml.bind:jakarta.xml.bind-api:${jakarta-xml-bind.version}:jar:provided</include>
<include>org.eclipse.microprofile:microprofile:${microprofile.version}:pom:*</include>
<include>org.eclipse.microprofile.config:microprofile-config-api:${microprofile-config-api.version}:jar:provided</include>
<include>org.eclipse.microprofile.fault-tolerance:microprofile-fault-tolerance-api:${microprofile-fault-tolerance-api.version}:jar:provided</include>
<include>org.eclipse.microprofile.health:microprofile-health-api:${microprofile-health-api.version}:jar:provided</include>
<include>org.eclipse.microprofile.metrics:microprofile-metrics-api:${microprofile-metrics-api.version}:jar:provided</include>
<include>org.eclipse.microprofile.jwt:microprofile-jwt-auth-api:${microprofile-jwt-auth-api.version}:jar:provided</include>
<include>org.eclipse.microprofile.openapi:microprofile-openapi-api:${microprofile-openapi-api.version}:jar:provided</include>
<include>org.eclipse.microprofile.rest.client:microprofile-rest-client-api:${microprofile-rest-client-api.version}:jar:provided</include>
<include>org.eclipse.microprofile.opentracing:microprofile-opentracing-api:${microprofile-opentracing-api.version}:jar:provided</include>
<include>org.eclipse.persistence:eclipselink:${eclipselink.version}:jar:provided</include>
<include>org.eclipse.persistence:eclipselink:${eclipselink.version}:jar:test</include>
<include>org.glassfish.jersey.core:jersey-client:${jersey.version}:jar:*</include>
<include>org.glassfish.jersey.inject:jersey-hk2:${jersey.version}:jar:test</include>
<include>org.glassfish.jersey.media:jersey-media-json-jackson:${jersey.version}:jar:*</include>
<include>org.postgresql:postgresql:${postgresql-driver.version}:jar:provided</include>
<include>org.postgresql:postgresql:${postgresql-driver.version}:jar:test</include>
<include>org.slf4j:slf4j-api:${slf4j.version}:jar:provided</include>
<include>org.slf4j:slf4j-api:${slf4j.version}:jar:test</include>
<include>org.yaml:snakeyaml:${snakeyaml.version}:jar:provided</include>
<include>org.yaml:snakeyaml:${snakeyaml.version}:jar:test</include>
</includes>
</bannedDependencies>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<webResources>
<resource>
<directory>${basedir}/src/main/webapp/WEB-INF</directory>
<filtering>true</filtering>
<targetPath>WEB-INF</targetPath>
</resource>
</webResources>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Implementation-Build>${git.commit.id}</Implementation-Build>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ejb-plugin</artifactId>
<version>3.2.1</version>
<configuration>
<ejbVersion>3.2</ejbVersion>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>process-docker-resources</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/docker</outputDirectory>
<resources>
<resource>
<directory>${basedir}/src/main/docker</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>