|
5 | 5 | <parent>
|
6 | 6 | <groupId>org.springframework.boot</groupId>
|
7 | 7 | <artifactId>spring-boot-starter-parent</artifactId>
|
8 |
| - <version>2.7.18</version> |
| 8 | + <version>3.2.5</version> |
9 | 9 | <relativePath/>
|
10 | 10 | <!-- lookup parent from repository -->
|
11 | 11 | </parent>
|
12 | 12 |
|
13 | 13 | <groupId>fr.insee</groupId>
|
14 | 14 | <artifactId>Pogues-BO</artifactId>
|
15 | 15 | <packaging>jar</packaging>
|
16 |
| - <version>4.4.3</version> |
17 |
| - <name>Pogues-BO</name> |
| 16 | + <version>4.6.6</version> |
| 17 | + <name>Pogues-Back-Office</name> |
18 | 18 |
|
19 | 19 | <properties>
|
20 | 20 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
21 | 21 | <java.version>21</java.version>
|
22 | 22 | <final.asset.name>pogues-bo</final.asset.name>
|
23 |
| - |
24 |
| - <json-simple.version>1.1.1</json-simple.version> |
25 |
| - <pogues-model.version>1.3.3</pogues-model.version> |
| 23 | + <pogues-model.version>1.3.7-SNAPSHOT</pogues-model.version> |
26 | 24 | <fop.version>2.9</fop.version>
|
27 |
| - <springdoc-openapi-ui.version>1.8.0</springdoc-openapi-ui.version> |
28 |
| - <jacoco.version>0.8.11</jacoco.version> |
| 25 | + <springdoc-openapi-ui.version>2.0.4</springdoc-openapi-ui.version> |
| 26 | + <jacoco.version>0.8.12</jacoco.version> |
29 | 27 | <saxon.version>12.4</saxon.version>
|
30 |
| - <commons.io.version>2.15.1</commons.io.version> |
31 |
| - <!-- Temp version due to security issues in version used in springdoc-openapi-ui: --> |
32 |
| - <snakeyaml.version>2.2</snakeyaml.version> |
33 | 28 |
|
34 | 29 | <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
|
35 | 30 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
|
|
38 | 33 | <argLine>-Xms256m -Xmx512m -ea -Dfile.encoding=UTF-8</argLine>
|
39 | 34 | </properties>
|
40 | 35 |
|
41 |
| - <dependencies> |
| 36 | + <repositories> |
| 37 | + <!-- Maven central snapshot repository --> |
| 38 | + <repository> |
| 39 | + <id>oss.sonatype.org-snapshot</id> |
| 40 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 41 | + <releases> |
| 42 | + <enabled>false</enabled> |
| 43 | + </releases> |
| 44 | + <snapshots> |
| 45 | + <enabled>true</enabled> |
| 46 | + </snapshots> |
| 47 | + </repository> |
| 48 | + </repositories> |
42 | 49 |
|
| 50 | + <dependencies> |
43 | 51 | <dependency>
|
44 | 52 | <groupId>org.springframework.boot</groupId>
|
45 | 53 | <artifactId>spring-boot-starter-web</artifactId>
|
46 |
| - <exclusions> |
47 |
| - <exclusion> |
48 |
| - <groupId>org.springframework.boot</groupId> |
49 |
| - <artifactId>spring-boot-starter-logging</artifactId> |
50 |
| - </exclusion> |
51 |
| - </exclusions> |
52 | 54 | </dependency>
|
53 |
| - |
54 |
| - |
55 | 55 | <dependency>
|
56 | 56 | <groupId>org.springframework.boot</groupId>
|
57 | 57 | <artifactId>spring-boot-starter-data-jdbc</artifactId>
|
58 | 58 | </dependency>
|
59 |
| - |
60 | 59 | <dependency>
|
61 | 60 | <groupId>org.springframework.boot</groupId>
|
62 | 61 | <artifactId>spring-boot-starter-jersey</artifactId>
|
63 | 62 | </dependency>
|
64 | 63 |
|
65 |
| - |
| 64 | + <!-- Web-Client--> |
66 | 65 | <dependency>
|
67 |
| - <groupId>com.fasterxml.jackson.jaxrs</groupId> |
68 |
| - <artifactId>jackson-jaxrs-base</artifactId> |
| 66 | + <groupId>org.springframework.boot</groupId> |
| 67 | + <artifactId>spring-boot-starter-webflux</artifactId> |
69 | 68 | </dependency>
|
| 69 | + |
| 70 | + <!-- Actuator Metrics --> |
70 | 71 | <dependency>
|
71 |
| - <groupId>com.fasterxml.jackson.jaxrs</groupId> |
72 |
| - <artifactId>jackson-jaxrs-json-provider</artifactId> |
| 72 | + <groupId>org.springframework.boot</groupId> |
| 73 | + <artifactId>spring-boot-starter-actuator</artifactId> |
73 | 74 | </dependency>
|
74 | 75 |
|
75 | 76 | <dependency>
|
|
80 | 81 | <groupId>org.springframework.boot</groupId>
|
81 | 82 | <artifactId>spring-boot-starter-security</artifactId>
|
82 | 83 | </dependency>
|
83 |
| - <!-- Add Log4j2 Dependency --> |
84 |
| - <dependency> |
85 |
| - <groupId>org.springframework.boot</groupId> |
86 |
| - <artifactId>spring-boot-starter-log4j2</artifactId> |
87 |
| - </dependency> |
88 |
| - |
89 | 84 |
|
90 |
| - <dependency> |
91 |
| - <groupId>commons-io</groupId> |
92 |
| - <artifactId>commons-io</artifactId> |
93 |
| - <version>${commons.io.version}</version> |
94 |
| - </dependency> |
95 | 85 | <dependency>
|
96 | 86 | <groupId>org.postgresql</groupId>
|
97 | 87 | <artifactId>postgresql</artifactId>
|
|
111 | 101 | <groupId>org.apache.commons</groupId>
|
112 | 102 | <artifactId>commons-lang3</artifactId>
|
113 | 103 | </exclusion>
|
| 104 | + <exclusion> |
| 105 | + <groupId>commons-logging</groupId> |
| 106 | + <artifactId>commons-logging</artifactId> |
| 107 | + </exclusion> |
114 | 108 | </exclusions>
|
115 | 109 | </dependency>
|
116 |
| - <dependency> |
117 |
| - <groupId>com.googlecode.json-simple</groupId> |
118 |
| - <artifactId>json-simple</artifactId> |
119 |
| - <version>${json-simple.version}</version> |
120 |
| - </dependency> |
121 |
| - <dependency> |
122 |
| - <groupId>org.apache.httpcomponents</groupId> |
123 |
| - <artifactId>httpclient</artifactId> |
124 |
| - </dependency> |
125 |
| - <dependency> |
126 |
| - <groupId>org.apache.httpcomponents</groupId> |
127 |
| - <artifactId>httpmime</artifactId> |
128 |
| - </dependency> |
| 110 | + <!-- For PDF generation using fop and saxon --> |
129 | 111 | <dependency>
|
130 | 112 | <groupId>org.apache.xmlgraphics</groupId>
|
131 | 113 | <artifactId>fop</artifactId>
|
|
135 | 117 | <groupId>xml-apis</groupId>
|
136 | 118 | <artifactId>xml-apis</artifactId>
|
137 | 119 | </exclusion>
|
| 120 | + <exclusion> |
| 121 | + <groupId>commons-logging</groupId> |
| 122 | + <artifactId>commons-logging</artifactId> |
| 123 | + </exclusion> |
138 | 124 | </exclusions>
|
139 | 125 | </dependency>
|
140 | 126 | <dependency>
|
141 | 127 | <groupId>net.sf.saxon</groupId>
|
142 | 128 | <artifactId>Saxon-HE</artifactId>
|
143 | 129 | <version>${saxon.version}</version>
|
144 | 130 | </dependency>
|
145 |
| - <dependency> |
146 |
| - <groupId>org.xmlunit</groupId> |
147 |
| - <artifactId>xmlunit-matchers</artifactId> |
148 |
| - <scope>test</scope> |
149 |
| - </dependency> |
150 |
| - <dependency> |
151 |
| - <groupId>jakarta.servlet</groupId> |
152 |
| - <artifactId>jakarta.servlet-api</artifactId> |
153 |
| - <scope>provided</scope> |
154 |
| - </dependency> |
155 |
| - |
156 |
| - |
157 | 131 |
|
158 | 132 | <!-- SWAGGER -->
|
159 | 133 | <dependency>
|
160 | 134 | <groupId>org.springdoc</groupId>
|
161 |
| - <artifactId>springdoc-openapi-ui</artifactId> |
| 135 | + <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> |
162 | 136 | <version>${springdoc-openapi-ui.version}</version>
|
163 | 137 | </dependency>
|
164 | 138 |
|
| 139 | + <!-- Tests --> |
165 | 140 | <dependency>
|
166 | 141 | <groupId>org.springframework.boot</groupId>
|
167 | 142 | <artifactId>spring-boot-starter-test</artifactId>
|
|
173 | 148 | <scope>test</scope>
|
174 | 149 | </dependency>
|
175 | 150 | <dependency>
|
176 |
| - <groupId>org.projectlombok</groupId> |
177 |
| - <artifactId>lombok</artifactId> |
| 151 | + <groupId>org.xmlunit</groupId> |
| 152 | + <artifactId>xmlunit-matchers</artifactId> |
| 153 | + <scope>test</scope> |
178 | 154 | </dependency>
|
179 | 155 |
|
180 |
| - <!-- TODO: the following dependencies might be further updated when in java 17 --> |
181 |
| - <dependency> |
182 |
| - <groupId>org.eclipse.persistence</groupId> |
183 |
| - <artifactId>org.eclipse.persistence.moxy</artifactId> |
184 |
| - <version>2.7.14</version> <!-- 4.0.2 --> |
185 |
| - </dependency> |
186 |
| - <dependency> |
187 |
| - <groupId>javax.xml.bind</groupId> <!-- jakarta.xml.bind --> |
188 |
| - <artifactId>jaxb-api</artifactId> <!-- jakarta.xml.bind-api --> |
189 |
| - <version>2.3.1</version> <!-- 4.0.1 --> |
190 |
| - </dependency> |
| 156 | + <!-- compile, annotation like @Getter --> |
191 | 157 | <dependency>
|
192 |
| - <groupId>org.glassfish</groupId> |
193 |
| - <artifactId>javax.json</artifactId> <!-- jakarta.json --> |
194 |
| - <version>1.1.4</version> <!-- 2.0.1 --> |
| 158 | + <groupId>org.projectlombok</groupId> |
| 159 | + <artifactId>lombok</artifactId> |
| 160 | + <scope>provided</scope> |
195 | 161 | </dependency>
|
196 |
| - |
197 | 162 | </dependencies>
|
198 | 163 |
|
199 | 164 | <build>
|
200 | 165 | <finalName>${final.asset.name}</finalName>
|
201 | 166 | <plugins>
|
202 |
| - |
203 | 167 | <plugin>
|
204 | 168 | <groupId>org.jacoco</groupId>
|
205 | 169 | <artifactId>jacoco-maven-plugin</artifactId>
|
|
229 | 193 | <artifactId>sonar-maven-plugin</artifactId>
|
230 | 194 | <version>3.11.0.3922</version>
|
231 | 195 | </plugin>
|
232 |
| - |
233 | 196 | <plugin>
|
234 | 197 | <groupId>org.springframework.boot</groupId>
|
235 | 198 | <artifactId>spring-boot-maven-plugin</artifactId>
|
| 199 | + <executions> |
| 200 | + <execution> |
| 201 | + <id>build-info</id> |
| 202 | + <goals> |
| 203 | + <goal>build-info</goal> |
| 204 | + </goals> |
| 205 | + <configuration> |
| 206 | + <additionalProperties> |
| 207 | + <description>${project.description}</description> |
| 208 | + </additionalProperties> |
| 209 | + </configuration> |
| 210 | + </execution> |
| 211 | + </executions> |
236 | 212 | </plugin>
|
237 | 213 | </plugins>
|
238 |
| - |
239 | 214 | </build>
|
240 | 215 |
|
241 | 216 | </project>
|
0 commit comments