-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpom.xml
217 lines (206 loc) · 9.45 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
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<modules>
<module>favourite-lyrics-domain</module>
<module>favourite-lyrics-core</module>
<module>favourite-lyrics-jpa</module>
<module>favourite-lyrics-starter</module>
<module>favourite-lyrics-test</module>
<module>favourite-lyrics-rest</module>
</modules>
<groupId>org.jesperancinha.lyrics</groupId>
<artifactId>favourite-lyrics</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>favourite-lyrics</name>
<description>Favourite Lyrics App</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>19</java.version>
<kotlin.version>2.1.10</kotlin.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
<versions-maven-plugin.version>2.18.0</versions-maven-plugin.version>
<build-helper-maven-plugin.version>3.6.0</build-helper-maven-plugin.version>
<kotlinx-coroutines-debug.version>1.10.1</kotlinx-coroutines-debug.version>
<postgresql.version>42.7.5</postgresql.version>
<flyway-database-postgresql.version>11.2.0</flyway-database-postgresql.version>
<h2.version>1.4.200</h2.version>
<junit-jupiter.version>5.5.2</junit-jupiter.version>
<assertj-core.version>3.13.2</assertj-core.version>
<mockito-all.version>1.10.19</mockito-all.version>
<testcontainers.version>1.20.4</testcontainers.version>
<mockito-junit-jupiter.version>3.1.0</mockito-junit-jupiter.version>
<spring-boot-starter-parent.version>3.4.2</spring-boot-starter-parent.version>
<omni-coveragereporter-maven-plugin.version>0.4.4</omni-coveragereporter-maven-plugin.version>
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
<springdoc-openapi-starter-webmvc-ui.version>2.8.4</springdoc-openapi-starter-webmvc-ui.version>
<hibernate-validator.version>8.0.2.Final</hibernate-validator.version>
<jackson-module-kotlin.version>2.18.2</jackson-module-kotlin.version>
</properties>
<dependencyManagement>
<dependencies>
<!-- Imports -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>${spring-boot-starter-parent.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Inner dependencies -->
<dependency>
<groupId>org.jesperancinha.lyrics</groupId>
<artifactId>favourite-lyrics-domain</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jesperancinha.lyrics</groupId>
<artifactId>favourite-lyrics-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jesperancinha.lyrics</groupId>
<artifactId>favourite-lyrics-rest</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jesperancinha.lyrics</groupId>
<artifactId>favourite-lyrics-jpa</artifactId>
<version>${project.version}</version>
</dependency>
<!-- External dependencies -->
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-kotlin</artifactId>
<version>${jackson-module-kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>${springdoc-openapi-starter-webmvc-ui.version}</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${postgresql.version}</version>
</dependency>
<!-- Because of
https://github.com/flyway/flyway/issues/3780
https://github.com/jesperancinha/favourite-lyrics-app/pull/188
-->
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-database-postgresql</artifactId>
<version>${flyway-database-postgresql.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
<version>${hibernate-validator.version}</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>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>postgresql</artifactId>
<version>${testcontainers.version}</version>
</dependency>
<!-- This Dependency is added as a workaround for the following issue -->
<!--- https://github.com/Kotlin/kotlinx.coroutines/issues/3334 -->
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-debug</artifactId>
<version>${kotlinx-coroutines-debug.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-bom</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jesperancinha.plugins</groupId>
<artifactId>omni-coveragereporter-maven-plugin</artifactId>
<version>${omni-coveragereporter-maven-plugin.version}</version>
<configuration>
<useCoverallsCount>false</useCoverallsCount>
<fetchBranchNameFromEnv>true</fetchBranchNameFromEnv>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<includes>
<include>**/*IT</include>
<include>**/*Test</include>
<include>**/*Tests</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>${versions-maven-plugin.version}</version>
<configuration>
<excludes>
<exclude>org.apache.commons:commons-collections4</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>