|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | + |
5 | 6 | <parent> |
6 | 7 | <groupId>org.springframework.boot</groupId> |
7 | 8 | <artifactId>spring-boot-starter-parent</artifactId> |
8 | 9 | <version>3.5.3</version> |
9 | 10 | </parent> |
| 11 | + |
10 | 12 | <groupId>com.ganatan</groupId> |
11 | 13 | <artifactId>backend-springboot</artifactId> |
12 | 14 | <version>1.0.0</version> |
13 | 15 | <name>backend-springboot</name> |
14 | 16 | <description>Demo project for Spring Boot</description> |
15 | | - <url/> |
| 17 | + <url /> |
16 | 18 | <licenses> |
17 | | - <license/> |
| 19 | + <license /> |
18 | 20 | </licenses> |
19 | 21 | <developers> |
20 | | - <developer/> |
| 22 | + <developer /> |
21 | 23 | </developers> |
22 | 24 | <scm> |
23 | | - <connection/> |
24 | | - <developerConnection/> |
25 | | - <tag/> |
26 | | - <url/> |
| 25 | + <connection /> |
| 26 | + <developerConnection /> |
| 27 | + <tag /> |
| 28 | + <url /> |
27 | 29 | </scm> |
| 30 | + |
28 | 31 | <properties> |
29 | 32 | <java.version>21</java.version> |
30 | | - <checkstyle.version>10.26.1</checkstyle.version> |
| 33 | + <checkstyle.version>11.0.1</checkstyle.version> |
31 | 34 | <maven.checkstyle.plugin.version>3.6.0</maven.checkstyle.plugin.version> |
32 | 35 | </properties> |
| 36 | + |
33 | 37 | <dependencies> |
34 | 38 | <dependency> |
35 | 39 | <groupId>org.springframework.boot</groupId> |
|
58 | 62 | <artifactId>spring-boot-starter-test</artifactId> |
59 | 63 | <scope>test</scope> |
60 | 64 | </dependency> |
61 | | - |
62 | | - |
63 | 65 | <dependency> |
64 | 66 | <groupId>org.springframework.boot</groupId> |
65 | 67 | <artifactId>spring-boot-starter-actuator</artifactId> |
|
68 | 70 | <groupId>io.micrometer</groupId> |
69 | 71 | <artifactId>micrometer-registry-prometheus</artifactId> |
70 | 72 | </dependency> |
71 | | - |
72 | | - |
73 | 73 | </dependencies> |
74 | 74 |
|
75 | 75 | <build> |
76 | | - |
77 | 76 | <plugins> |
78 | | - |
79 | 77 | <plugin> |
80 | 78 | <groupId>org.springframework.boot</groupId> |
81 | 79 | <artifactId>spring-boot-maven-plugin</artifactId> |
82 | 80 | </plugin> |
83 | | - |
84 | 81 | <plugin> |
85 | 82 | <groupId>org.jacoco</groupId> |
86 | 83 | <artifactId>jacoco-maven-plugin</artifactId> |
87 | 84 | <version>0.8.11</version> |
88 | 85 | <executions> |
89 | | - <!-- Agent JaCoCo avant les tests --> |
90 | 86 | <execution> |
91 | 87 | <goals> |
92 | 88 | <goal>prepare-agent</goal> |
93 | 89 | </goals> |
94 | 90 | </execution> |
95 | | - <!-- Génération du rapport après les tests --> |
96 | 91 | <execution> |
97 | 92 | <id>report</id> |
98 | 93 | <phase>test</phase> |
|
102 | 97 | </execution> |
103 | 98 | </executions> |
104 | 99 | </plugin> |
105 | | - |
106 | 100 | <plugin> |
107 | 101 | <groupId>org.apache.maven.plugins</groupId> |
108 | 102 | <artifactId>maven-checkstyle-plugin</artifactId> |
|
120 | 114 | </dependency> |
121 | 115 | </dependencies> |
122 | 116 | </plugin> |
123 | | - |
124 | | - |
125 | 117 | </plugins> |
126 | | - |
127 | 118 | </build> |
128 | | - |
129 | | - |
130 | 119 |
|
131 | 120 | </project> |
0 commit comments