Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Commit 6f2eb49

Browse files
authored
Merge pull request #53 from spotify/security-upgrades
Bump SLF4J & Logback
2 parents d3623db + ddb2349 commit 6f2eb49

File tree

1 file changed

+63
-52
lines changed

1 file changed

+63
-52
lines changed

pom.xml

Lines changed: 63 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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">
24
<modelVersion>4.0.0</modelVersion>
35

46
<artifactId>logging</artifactId>
@@ -32,6 +34,8 @@
3234

3335
<properties>
3436
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37+
<logback.version>1.4.8</logback.version>
38+
<slf4j.version>2.0.7</slf4j.version>
3539
</properties>
3640

3741
<developers>
@@ -42,50 +46,22 @@
4246
</developer>
4347
</developers>
4448

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-
7349
<dependencies>
7450
<!--compile scope-->
7551
<dependency>
7652
<groupId>org.slf4j</groupId>
7753
<artifactId>slf4j-api</artifactId>
78-
<version>1.7.32</version>
54+
<version>${slf4j.version}</version>
7955
</dependency>
8056
<dependency>
8157
<groupId>ch.qos.logback</groupId>
8258
<artifactId>logback-classic</artifactId>
83-
<version>1.2.9</version>
59+
<version>${logback.version}</version>
8460
</dependency>
8561
<dependency>
8662
<groupId>ch.qos.logback</groupId>
8763
<artifactId>logback-core</artifactId>
88-
<version>1.2.9</version>
64+
<version>${logback.version}</version>
8965
</dependency>
9066
<dependency>
9167
<groupId>net.logstash.logback</groupId>
@@ -188,26 +164,61 @@
188164
</execution>
189165
</executions>
190166
</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>
211167
</plugins>
212168
</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>
213224
</project>

0 commit comments

Comments
 (0)