|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<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"> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 4 | <modelVersion>4.0.0</modelVersion> |
4 | 5 |
|
5 | 6 | <name>Klass API</name> |
|
25 | 26 | <artifactId>klass-shared</artifactId> |
26 | 27 | <version>${project.parent.version}</version> |
27 | 28 | </dependency> |
| 29 | + |
28 | 30 | <!--Spring--> |
29 | 31 | <dependency> |
30 | 32 | <groupId>org.springframework.boot</groupId> |
|
43 | 45 | <artifactId>spring-boot-configuration-processor</artifactId> |
44 | 46 | <optional>true</optional> |
45 | 47 | </dependency> |
| 48 | + <dependency> |
| 49 | + <groupId>org.springframework.boot</groupId> |
| 50 | + <artifactId>spring-boot-starter-tomcat</artifactId> |
| 51 | + <scope>provided</scope> |
| 52 | + </dependency> |
46 | 53 | <dependency> |
47 | 54 | <groupId>org.springdoc</groupId> |
48 | 55 | <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> |
|
53 | 60 | <artifactId>spring-data-opensearch-starter</artifactId> |
54 | 61 | <version>1.7.1</version> |
55 | 62 | </dependency> |
| 63 | + |
| 64 | + <!--Non-Spring--> |
56 | 65 | <dependency> |
57 | 66 | <groupId>jakarta.xml.bind</groupId> |
58 | 67 | <artifactId>jakarta.xml.bind-api</artifactId> |
|
62 | 71 | <groupId>org.glassfish.jaxb</groupId> |
63 | 72 | <artifactId>jaxb-runtime</artifactId> |
64 | 73 | </dependency> |
65 | | - <dependency> |
66 | | - <groupId>org.testcontainers</groupId> |
67 | | - <artifactId>testcontainers</artifactId> |
68 | | - <version>1.19.8</version> |
69 | | - <scope>test</scope> |
70 | | - </dependency> |
71 | | - <dependency> |
72 | | - <groupId>org.testcontainers</groupId> |
73 | | - <artifactId>junit-jupiter</artifactId> |
74 | | - <version>1.21.3</version> |
75 | | - <scope>test</scope> |
76 | | - </dependency> |
77 | | - <dependency> |
78 | | - <groupId>org.opensearch</groupId> |
79 | | - <artifactId>opensearch-testcontainers</artifactId> |
80 | | - <version>2.0.1</version> |
81 | | - <scope>test</scope> |
82 | | - </dependency> |
83 | 74 | <dependency> |
84 | 75 | <groupId>org.postgresql</groupId> |
85 | 76 | <artifactId>postgresql</artifactId> |
86 | 77 | </dependency> |
87 | | - |
88 | | - <!--Flyway--> |
89 | 78 | <dependency> |
90 | 79 | <groupId>org.flywaydb</groupId> |
91 | 80 | <artifactId>flyway-database-postgresql</artifactId> |
|
97 | 86 | <artifactId>flyway-core</artifactId> |
98 | 87 | <version>11.17.0</version> |
99 | 88 | </dependency> |
100 | | - |
101 | | - <!--TOMCAT--> |
102 | | - <dependency> |
103 | | - <groupId>org.springframework.boot</groupId> |
104 | | - <artifactId>spring-boot-starter-tomcat</artifactId> |
105 | | - <scope>provided</scope> |
106 | | - </dependency> |
107 | | - |
108 | 89 | <dependency> |
109 | 90 | <groupId>ch.qos.logback.access</groupId> |
110 | 91 | <artifactId>logback-access-common</artifactId> |
|
120 | 101 | <artifactId>logstash-logback-encoder</artifactId> |
121 | 102 | <version>9.0</version> |
122 | 103 | </dependency> |
123 | | - |
124 | 104 | <dependency> |
125 | 105 | <groupId>org.apache.tomcat.embed</groupId> |
126 | 106 | <artifactId>tomcat-embed-jasper</artifactId> |
127 | 107 | <scope>provided</scope> |
128 | 108 | </dependency> |
129 | | - |
130 | | - <!--TEST SCOPE--> |
131 | 109 | <dependency> |
132 | | - <groupId>no.ssb.klass</groupId> |
133 | | - <artifactId>klass-shared</artifactId> |
134 | | - <type>test-jar</type> |
135 | | - <scope>test</scope> |
136 | | - <version>${project.parent.version}</version> |
| 110 | + <groupId>com.jayway.jsonpath</groupId> |
| 111 | + <artifactId>json-path</artifactId> |
137 | 112 | </dependency> |
138 | | - |
139 | 113 | <dependency> |
140 | 114 | <groupId>jakarta.ws.rs</groupId> |
141 | 115 | <artifactId>jakarta.ws.rs-api</artifactId> |
142 | 116 | <version>${jakarta-rs-api-version}</version> |
143 | 117 | </dependency> |
144 | | - |
145 | 118 | <dependency> |
146 | 119 | <groupId>io.micrometer</groupId> |
147 | 120 | <artifactId>micrometer-registry-prometheus</artifactId> |
148 | 121 | </dependency> |
149 | 122 |
|
150 | | - <!-- Zonky test --> |
151 | | - <dependency> |
152 | | - <groupId>io.zonky.test</groupId> |
153 | | - <artifactId>embedded-postgres</artifactId> |
154 | | - <version>2.2.0</version> |
155 | | - <scope>test</scope> |
156 | | - </dependency> |
| 123 | + <!--TEST SCOPE--> |
157 | 124 | <dependency> |
158 | | - <groupId>io.zonky.test</groupId> |
159 | | - <artifactId>embedded-database-spring-test</artifactId> |
160 | | - <version>2.7.1</version> |
| 125 | + <groupId>no.ssb.klass</groupId> |
| 126 | + <artifactId>klass-shared</artifactId> |
| 127 | + <type>test-jar</type> |
161 | 128 | <scope>test</scope> |
| 129 | + <version>${project.parent.version}</version> |
162 | 130 | </dependency> |
163 | | - |
164 | | - <!--Spring TEST--> |
165 | 131 | <dependency> |
166 | 132 | <groupId>org.springframework.boot</groupId> |
167 | 133 | <artifactId>spring-boot-starter-test</artifactId> |
|
185 | 151 | <version>${spring-restdocs-version}</version> |
186 | 152 | <scope>test</scope> |
187 | 153 | </dependency> |
188 | | - <dependency> |
189 | | - <groupId>com.jayway.jsonpath</groupId> |
190 | | - <artifactId>json-path</artifactId> |
191 | | - </dependency> |
192 | 154 | <dependency> |
193 | 155 | <groupId>io.rest-assured</groupId> |
194 | 156 | <artifactId>rest-assured</artifactId> |
195 | 157 | <scope>test</scope> |
196 | 158 | <exclusions> |
197 | | - <!-- remove conflicting dependency because declared in 2 differents versions (3 & 4) |
198 | | - See: https://github.com/rest-assured/rest-assured/issues/1612 --> |
199 | 159 | <exclusion> |
200 | | - <groupId>org.apache.groovy</groupId> |
201 | | - <artifactId>groovy-xml</artifactId> |
| 160 | + <!--Conflicts with Spring's logging setup--> |
| 161 | + <groupId>commons-logging</groupId> |
| 162 | + <artifactId>commons-logging</artifactId> |
202 | 163 | </exclusion> |
203 | 164 | </exclusions> |
204 | 165 | </dependency> |
205 | 166 | <dependency> |
206 | | - <!-- add this dep which bring back the groovy-xml in a single and last version (4) --> |
207 | | - <groupId>io.rest-assured</groupId> |
208 | | - <artifactId>xml-path</artifactId> |
| 167 | + <groupId>org.springframework</groupId> |
| 168 | + <artifactId>spring-test</artifactId> |
209 | 169 | <scope>test</scope> |
210 | 170 | </dependency> |
211 | 171 | <dependency> |
212 | | - <groupId>org.springframework</groupId> |
213 | | - <artifactId>spring-test</artifactId> |
| 172 | + <groupId>io.zonky.test</groupId> |
| 173 | + <artifactId>embedded-postgres</artifactId> |
| 174 | + <version>${zonky.version}</version> |
| 175 | + <scope>test</scope> |
| 176 | + </dependency> |
| 177 | + <dependency> |
| 178 | + <groupId>io.zonky.test</groupId> |
| 179 | + <artifactId>embedded-database-spring-test</artifactId> |
| 180 | + <version>${zonky.pg.version}</version> |
| 181 | + <scope>test</scope> |
| 182 | + </dependency> |
| 183 | + <dependency> |
| 184 | + <groupId>org.testcontainers</groupId> |
| 185 | + <artifactId>testcontainers</artifactId> |
| 186 | + <version>1.19.8</version> |
| 187 | + <scope>test</scope> |
| 188 | + </dependency> |
| 189 | + <dependency> |
| 190 | + <groupId>org.testcontainers</groupId> |
| 191 | + <artifactId>junit-jupiter</artifactId> |
| 192 | + <version>1.21.3</version> |
| 193 | + <scope>test</scope> |
| 194 | + </dependency> |
| 195 | + <dependency> |
| 196 | + <groupId>org.opensearch</groupId> |
| 197 | + <artifactId>opensearch-testcontainers</artifactId> |
| 198 | + <version>2.0.1</version> |
214 | 199 | <scope>test</scope> |
215 | 200 | </dependency> |
216 | 201 | </dependencies> |
|
0 commit comments