Skip to content

Commit bad976f

Browse files
committed
v2.2.0
[Dependencies update] - Spring Boot 3.5 - Spring 6.2 - Logstash Logback 9.0 - Loki Logback 2.0 - Java 21 - Jakarta 6.1
1 parent 4640e0c commit bad976f

File tree

7 files changed

+61
-56
lines changed

7 files changed

+61
-56
lines changed

.circleci/config.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,17 @@ jobs:
6262
</servers>
6363
</settings>
6464
EOL
65-
- run:
66-
name: Release
67-
command: |
68-
mvn deploy -DskipTests -Proot-release
69-
environment:
70-
GPG_TTY: /dev/tty
71-
MAVEN_GPG_PASSPHRASE: 123456
65+
# - run:
66+
# name: Release
67+
# command: |
68+
# mvn deploy -DskipTests -Proot-release
69+
# environment:
70+
# GPG_TTY: /dev/tty
71+
# MAVEN_GPG_PASSPHRASE: 123456
7272
- run:
7373
name: Release All
7474
command: |
75+
cat ~/.m2/settings.xml
7576
mvn deploy -DskipTests -Prelease
7677
environment:
7778
GPG_TTY: /dev/tty

logging-spring-commons/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,6 @@
8383
<id>release</id>
8484
<build>
8585
<plugins>
86-
<plugin>
87-
<groupId>org.sonatype.central</groupId>
88-
<artifactId>central-publishing-maven-plugin</artifactId>
89-
<version>0.9.0</version>
90-
<extensions>true</extensions>
91-
<configuration>
92-
<publishingServerId>central</publishingServerId>
93-
<autoPublish>true</autoPublish>
94-
</configuration>
95-
</plugin>
9686
<plugin>
9787
<groupId>org.apache.maven.plugins</groupId>
9888
<artifactId>maven-gpg-plugin</artifactId>

logstash-logging-spring-boot-starter/pom.xml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -127,16 +127,21 @@
127127
<id>release</id>
128128
<build>
129129
<plugins>
130-
<plugin>
131-
<groupId>org.sonatype.central</groupId>
132-
<artifactId>central-publishing-maven-plugin</artifactId>
133-
<version>0.9.0</version>
134-
<extensions>true</extensions>
135-
<configuration>
136-
<publishingServerId>central</publishingServerId>
137-
<autoPublish>true</autoPublish>
138-
</configuration>
139-
</plugin>
130+
<!-- <plugin>-->
131+
<!-- <groupId>org.sonatype.central</groupId>-->
132+
<!-- <artifactId>central-publishing-maven-plugin</artifactId>-->
133+
<!-- <version>0.9.0</version>-->
134+
<!-- <extensions>true</extensions>-->
135+
<!-- <configuration>-->
136+
<!-- <publishingServerId>central</publishingServerId>-->
137+
<!-- <autoPublish>true</autoPublish>-->
138+
<!-- <excludeArtifacts>-->
139+
<!-- <excludeArtifact>logging-spring-tests</excludeArtifact>-->
140+
<!-- <excludeArtifact>reactive-logging-spring-tests</excludeArtifact>-->
141+
<!-- <excludeArtifact>loki-logging-spring-tests</excludeArtifact>-->
142+
<!-- </excludeArtifacts>-->
143+
<!-- </configuration>-->
144+
<!-- </plugin>-->
140145
<plugin>
141146
<groupId>org.apache.maven.plugins</groupId>
142147
<artifactId>maven-gpg-plugin</artifactId>

loki-logging-spring-boot-starter/pom.xml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -127,16 +127,21 @@
127127
<id>release</id>
128128
<build>
129129
<plugins>
130-
<plugin>
131-
<groupId>org.sonatype.central</groupId>
132-
<artifactId>central-publishing-maven-plugin</artifactId>
133-
<version>0.9.0</version>
134-
<extensions>true</extensions>
135-
<configuration>
136-
<publishingServerId>central</publishingServerId>
137-
<autoPublish>true</autoPublish>
138-
</configuration>
139-
</plugin>
130+
<!-- <plugin>-->
131+
<!-- <groupId>org.sonatype.central</groupId>-->
132+
<!-- <artifactId>central-publishing-maven-plugin</artifactId>-->
133+
<!-- <version>0.9.0</version>-->
134+
<!-- <extensions>true</extensions>-->
135+
<!-- <configuration>-->
136+
<!-- <publishingServerId>central</publishingServerId>-->
137+
<!-- <autoPublish>true</autoPublish>-->
138+
<!-- <excludeArtifacts>-->
139+
<!-- <excludeArtifact>logging-spring-tests</excludeArtifact>-->
140+
<!-- <excludeArtifact>reactive-logging-spring-tests</excludeArtifact>-->
141+
<!-- <excludeArtifact>loki-logging-spring-tests</excludeArtifact>-->
142+
<!-- </excludeArtifacts>-->
143+
<!-- </configuration>-->
144+
<!-- </plugin>-->
140145
<plugin>
141146
<groupId>org.apache.maven.plugins</groupId>
142147
<artifactId>maven-gpg-plugin</artifactId>

pom.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
<jakarta-servlet.version>6.1.0</jakarta-servlet.version>
3838
<java.version>21</java.version>
3939
<commons-io.version>2.21.0</commons-io.version>
40-
<!-- <javax-servlet.version>4.0.1</javax-servlet.version>-->
4140
<logstash-logback.version>9.0</logstash-logback.version>
4241
<loki-logback.version>2.0.1</loki-logback.version>
4342
<spring.version>6.2.14</spring.version>
@@ -73,6 +72,11 @@
7372
<configuration>
7473
<publishingServerId>central</publishingServerId>
7574
<autoPublish>true</autoPublish>
75+
<excludeArtifacts>
76+
<excludeArtifact>logging-spring-tests</excludeArtifact>
77+
<excludeArtifact>reactive-logging-spring-tests</excludeArtifact>
78+
<excludeArtifact>loki-logging-spring-tests</excludeArtifact>
79+
</excludeArtifacts>
7680
</configuration>
7781
</plugin>
7882
</plugins>

reactive-logstash-logging-spring-boot-starter/pom.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,16 @@
120120
<id>release</id>
121121
<build>
122122
<plugins>
123-
<plugin>
124-
<groupId>org.sonatype.central</groupId>
125-
<artifactId>central-publishing-maven-plugin</artifactId>
126-
<version>0.9.0</version>
127-
<extensions>true</extensions>
128-
<configuration>
129-
<publishingServerId>central</publishingServerId>
130-
<autoPublish>true</autoPublish>
131-
</configuration>
132-
</plugin>
123+
<!-- <plugin>-->
124+
<!-- <groupId>org.sonatype.central</groupId>-->
125+
<!-- <artifactId>central-publishing-maven-plugin</artifactId>-->
126+
<!-- <version>0.9.0</version>-->
127+
<!-- <extensions>true</extensions>-->
128+
<!-- <configuration>-->
129+
<!-- <publishingServerId>central</publishingServerId>-->
130+
<!-- <autoPublish>true</autoPublish>-->
131+
<!-- </configuration>-->
132+
<!-- </plugin>-->
133133
<plugin>
134134
<groupId>org.apache.maven.plugins</groupId>
135135
<artifactId>maven-gpg-plugin</artifactId>

readme.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Logging with Spring Boot and Elastic Stack [![Twitter](https://img.shields.io/twitter/follow/piotr_minkowski.svg?style=social&logo=twitter&label=Follow%20Me)](https://twitter.com/piotr_minkowski)
22

3-
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.piomin/logstash-logging-spring-boot-starter/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.piomin/logstash-logging-spring-boot-starter)
3+
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.piomin/loki-logging-spring-boot-starter/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.piomin/loki-logging-spring-boot-starter)
44
[![CircleCI](https://circleci.com/gh/piomin/spring-boot-logging.svg?style=svg)](https://circleci.com/gh/piomin/spring-boot-logging)
55

66
[![SonarCloud](https://sonarcloud.io/images/project_badges/sonarcloud-black.svg)](https://sonarcloud.io/dashboard?id=piomin_spring-boot-logging)
@@ -27,13 +27,13 @@ In short, let’s begin from a brief review of main features provided by logstas
2727
4. It is auto-configurable Spring Boot library – you don’t have to do anything more than including it as a dependency to your application to make it work
2828

2929
## Getting started
30-
The current version of library is `2.0.3`.\
30+
The current version of library is `2.2.0`.\
3131
For logging with Spring WebMvc and Logstash:
3232
```
3333
<dependency>
3434
<groupId>com.github.piomin</groupId>
3535
<artifactId>logstash-logging-spring-boot-starter</artifactId>
36-
<version>2.0.3</version>
36+
<version>2.2.0</version>
3737
</dependency>
3838
```
3939

@@ -42,7 +42,7 @@ For logging with Spring WebMvc and Loki:
4242
<dependency>
4343
<groupId>com.github.piomin</groupId>
4444
<artifactId>loki-logging-spring-boot-starter</artifactId>
45-
<version>2.0.3</version>
45+
<version>2.2.0</version>
4646
</dependency>
4747
```
4848

@@ -51,7 +51,7 @@ For logging with Spring WebFlux:
5151
<dependency>
5252
<groupId>com.github.piomin</groupId>
5353
<artifactId>reactive-logstash-logging-spring-boot-starter</artifactId>
54-
<version>2.0.3</version>
54+
<version>2.2.0</version>
5555
</dependency>
5656
```
5757

@@ -64,9 +64,9 @@ logging.logstash:
6464

6565
## Manual add jar to pom.xml
6666

67-
Add `reactive-logstash-logging-spring-boot-starter-2.0.3.pom` to `${basedir}/dependencies`
67+
Add `reactive-logstash-logging-spring-boot-starter-2.2.0.pom` to `${basedir}/dependencies`
6868

69-
Add `pom.xml` to `${basedir}/dependencies` and rename to `reactive-logstash-logging-spring-boot-starter-2.0.3.pom`
69+
Add `pom.xml` to `${basedir}/dependencies` and rename to `reactive-logstash-logging-spring-boot-starter-2.2.0.pom`
7070

7171
Add this script to `pom.xml` in plugins section.
7272

@@ -78,7 +78,7 @@ Add this script to `pom.xml` in plugins section.
7878
<configuration>
7979
<groupId>com.github.piomin</groupId>
8080
<artifactId>reactive-logstash-logging-spring-boot-starter</artifactId>
81-
<version>2.0.3</version>
81+
<version>2.2.0</version>
8282
<packaging>jar</packaging>
8383
<file>${basedir}/dependencies/reactive-logstash-logging-spring-boot-starter-1.3.1.RELEASE.jar</file>
8484
<generatePom>false</generatePom>

0 commit comments

Comments
 (0)