|
1 | | -<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/maven-v4_0_0.xsd"> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
2 | 4 | <modelVersion>4.0.0</modelVersion> |
3 | 5 |
|
4 | 6 | <artifactId>logging</artifactId> |
|
32 | 34 |
|
33 | 35 | <properties> |
34 | 36 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 37 | + <logback.version>1.4.8</logback.version> |
| 38 | + <slf4j.version>2.0.7</slf4j.version> |
35 | 39 | </properties> |
36 | 40 |
|
37 | 41 | <developers> |
|
42 | 46 | </developer> |
43 | 47 | </developers> |
44 | 48 |
|
45 | | - <profiles> |
46 | | - <profile> |
47 | | - <id>ci</id> |
48 | | - <activation> |
49 | | - <property> |
50 | | - <name>env.CI</name> |
51 | | - <value>true</value> |
52 | | - </property> |
53 | | - </activation> |
54 | | - <build> |
55 | | - <plugins> |
56 | | - <plugin> |
57 | | - <groupId>com.coveo</groupId> |
58 | | - <artifactId>fmt-maven-plugin</artifactId> |
59 | | - <version>2.10</version> |
60 | | - <executions> |
61 | | - <execution> |
62 | | - <goals> |
63 | | - <goal>check</goal> |
64 | | - </goals> |
65 | | - </execution> |
66 | | - </executions> |
67 | | - </plugin> |
68 | | - </plugins> |
69 | | - </build> |
70 | | - </profile> |
71 | | - </profiles> |
72 | | - |
73 | 49 | <dependencies> |
74 | 50 | <!--compile scope--> |
75 | 51 | <dependency> |
76 | 52 | <groupId>org.slf4j</groupId> |
77 | 53 | <artifactId>slf4j-api</artifactId> |
78 | | - <version>1.7.32</version> |
| 54 | + <version>${slf4j.version}</version> |
79 | 55 | </dependency> |
80 | 56 | <dependency> |
81 | 57 | <groupId>ch.qos.logback</groupId> |
82 | 58 | <artifactId>logback-classic</artifactId> |
83 | | - <version>1.2.9</version> |
| 59 | + <version>${logback.version}</version> |
84 | 60 | </dependency> |
85 | 61 | <dependency> |
86 | 62 | <groupId>ch.qos.logback</groupId> |
87 | 63 | <artifactId>logback-core</artifactId> |
88 | | - <version>1.2.9</version> |
| 64 | + <version>${logback.version}</version> |
89 | 65 | </dependency> |
90 | 66 | <dependency> |
91 | 67 | <groupId>net.logstash.logback</groupId> |
|
188 | 164 | </execution> |
189 | 165 | </executions> |
190 | 166 | </plugin> |
191 | | - <plugin> |
192 | | - <groupId>org.apache.maven.plugins</groupId> |
193 | | - <artifactId>maven-gpg-plugin</artifactId> |
194 | | - <version>3.0.1</version> |
195 | | - <executions> |
196 | | - <execution> |
197 | | - <id>sign-artifacts</id> |
198 | | - <goals> |
199 | | - <goal>sign</goal> |
200 | | - </goals> |
201 | | - <phase>verify</phase> |
202 | | - <configuration> |
203 | | - <gpgArguments> |
204 | | - <arg>--pinentry-mode</arg> |
205 | | - <arg>loopback</arg> |
206 | | - </gpgArguments> |
207 | | - </configuration> |
208 | | - </execution> |
209 | | - </executions> |
210 | | - </plugin> |
211 | 167 | </plugins> |
212 | 168 | </build> |
| 169 | + |
| 170 | + <profiles> |
| 171 | + <profile> |
| 172 | + <id>ci</id> |
| 173 | + <activation> |
| 174 | + <property> |
| 175 | + <name>env.CI</name> |
| 176 | + <value>true</value> |
| 177 | + </property> |
| 178 | + </activation> |
| 179 | + <build> |
| 180 | + <plugins> |
| 181 | + <plugin> |
| 182 | + <groupId>com.coveo</groupId> |
| 183 | + <artifactId>fmt-maven-plugin</artifactId> |
| 184 | + <version>2.10</version> |
| 185 | + <executions> |
| 186 | + <execution> |
| 187 | + <goals> |
| 188 | + <goal>check</goal> |
| 189 | + </goals> |
| 190 | + </execution> |
| 191 | + </executions> |
| 192 | + </plugin> |
| 193 | + </plugins> |
| 194 | + </build> |
| 195 | + </profile> |
| 196 | + <profile> |
| 197 | + <id>release</id> |
| 198 | + <build> |
| 199 | + <plugins> |
| 200 | + <plugin> |
| 201 | + <groupId>org.apache.maven.plugins</groupId> |
| 202 | + <artifactId>maven-gpg-plugin</artifactId> |
| 203 | + <version>3.1.0</version> |
| 204 | + <executions> |
| 205 | + <execution> |
| 206 | + <id>sign-artifacts</id> |
| 207 | + <goals> |
| 208 | + <goal>sign</goal> |
| 209 | + </goals> |
| 210 | + <phase>verify</phase> |
| 211 | + <configuration> |
| 212 | + <gpgArguments> |
| 213 | + <arg>--pinentry-mode</arg> |
| 214 | + <arg>loopback</arg> |
| 215 | + </gpgArguments> |
| 216 | + </configuration> |
| 217 | + </execution> |
| 218 | + </executions> |
| 219 | + </plugin> |
| 220 | + </plugins> |
| 221 | + </build> |
| 222 | + </profile> |
| 223 | + </profiles> |
213 | 224 | </project> |
0 commit comments