Skip to content

Commit 9cc6622

Browse files
committed
Updated dependencies to align with Spring Boot 3.5.0
1 parent ce3de8f commit 9cc6622

File tree

4 files changed

+26
-31
lines changed

4 files changed

+26
-31
lines changed

.github/maven-settings.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
<servers>
77
<server>
8-
<id>ossrh</id>
9-
<username>${env.OSSRH_USERNAME}</username>
10-
<password>${env.OSSRH_PASSWORD}</password>
8+
<id>central</id>
9+
<username>${env.CENTRAL_USERNAME}</username>
10+
<password>${env.CENTRAL_PASSWORD}</password>
1111
</server>
1212
<server>
1313
<id>github.com</id>
@@ -17,13 +17,13 @@
1717
</servers>
1818
<profiles>
1919
<profile>
20-
<id>ossrh</id>
20+
<id>central</id>
2121
<activation>
2222
<activeByDefault>true</activeByDefault>
2323
</activation>
2424
<properties>
2525
<gpg.executable>gpg</gpg.executable>
2626
</properties>
27-
</profile>
27+
</profile>
2828
</profiles>
2929
</settings>

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ jobs:
6464
- name: Create release
6565
run: ./mvnw --settings .github/maven-settings.xml release:prepare release:perform -DskipTests -Prelease -B
6666
env:
67-
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
68-
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
67+
CENTRAL_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
68+
CENTRAL_PASSWORD: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
6969
GIT_HUB_USERNAME: ${{ secrets.GIT_HUB_USERNAME }}
7070
GIT_HUB_TOKEN: ${{ secrets.GIT_HUB_TOKEN }}
7171
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Dependencies
2+
3+
* Aligned dependencies with [Spring Boot 3.5.0](https://github.com/spring-projects/spring-boot/releases/tag/v3.5.0)

pom.xml

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,17 @@
4141
<aspectj.version>1.9.24</aspectj.version>
4242
<jakarta-jms.version>3.1.0</jakarta-jms.version>
4343
<slf4j.version>2.0.17</slf4j.version>
44-
<spring.version>6.2.6</spring.version>
44+
<spring.version>6.2.7</spring.version>
4545

4646
<!-- Test dependency versions, matched to Spring Boot -->
47-
<hamcrest.version>2.2</hamcrest.version>
48-
<junit-jupiter.version>5.11.4</junit-jupiter.version>
47+
<hamcrest.version>3.0</hamcrest.version>
48+
<junit-jupiter.version>5.12.1</junit-jupiter.version>
4949
<logback.version>1.5.18</logback.version>
50-
<mockito.version>5.14.2</mockito.version>
50+
<mockito.version>5.17.0</mockito.version>
5151

5252
<!-- Plugin versions -->
5353
<build-helper-maven-plugin.version>3.6.0</build-helper-maven-plugin.version>
54+
<central-publishing-plugin.version>0.7.0</central-publishing-plugin.version>
5455
<checkstyle-maven-plugin.version>3.6.0</checkstyle-maven-plugin.version>
5556
<dependency-check-maven.version>12.1.1</dependency-check-maven.version>
5657
<jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version>
@@ -66,16 +67,15 @@
6667
<maven-scm-plugin.version>2.1.0</maven-scm-plugin.version>
6768
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
6869
<maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version>
69-
<nexus-staging-plugin.version>1.7.0</nexus-staging-plugin.version>
70-
<pitest-maven.version>1.19.1</pitest-maven.version>
70+
<pitest-maven.version>1.19.4</pitest-maven.version>
7171
<spotbugs.version>4.9.3.0</spotbugs.version>
7272
<versions-maven-plugin.version>2.18.0</versions-maven-plugin.version>
7373

7474
<!-- Plugin dependencies -->
75-
<checkstyle.version>10.23.1</checkstyle.version>
75+
<checkstyle.version>10.24.0</checkstyle.version>
7676
<findbugs-slf4j-bug-pattern.version>1.5.0</findbugs-slf4j-bug-pattern.version>
7777
<findbugs-sec-bug-pattern.version>1.14.0</findbugs-sec-bug-pattern.version>
78-
<pitest-junit5-plugin.version>1.2.2</pitest-junit5-plugin.version>
78+
<pitest-junit5-plugin.version>1.2.3</pitest-junit5-plugin.version>
7979
<pmd.version>7.13.0</pmd.version>
8080
</properties>
8181

@@ -245,9 +245,9 @@
245245
</dependencies>
246246
</plugin>
247247
<plugin>
248-
<groupId>org.sonatype.plugins</groupId>
249-
<artifactId>nexus-staging-maven-plugin</artifactId>
250-
<version>${nexus-staging-plugin.version}</version>
248+
<groupId>org.sonatype.central</groupId>
249+
<artifactId>central-publishing-maven-plugin</artifactId>
250+
<version>${central-publishing-plugin.version}</version>
251251
</plugin>
252252
</plugins>
253253
</pluginManagement>
@@ -717,13 +717,13 @@
717717
<!-- Version defined in pluginManagement section -->
718718
</plugin>
719719
<plugin>
720-
<groupId>org.sonatype.plugins</groupId>
721-
<artifactId>nexus-staging-maven-plugin</artifactId>
720+
<groupId>org.sonatype.central</groupId>
721+
<artifactId>central-publishing-maven-plugin</artifactId>
722722
<extensions>true</extensions>
723723
<configuration>
724-
<serverId>ossrh</serverId>
725-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
726-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
724+
<publishingServerId>central</publishingServerId>
725+
<autoPublish>true</autoPublish>
726+
<waitUntil>published</waitUntil>
727727
</configuration>
728728
<!-- Version defined in pluginManagement section -->
729729
</plugin>
@@ -754,13 +754,5 @@
754754
<id>github</id>
755755
<url>https://github.com/spt-development/spt-development-cid-jms-spring</url>
756756
</site>
757-
<repository>
758-
<id>ossrh</id>
759-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
760-
</repository>
761-
<snapshotRepository>
762-
<id>ossrh</id>
763-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
764-
</snapshotRepository>
765757
</distributionManagement>
766758
</project>

0 commit comments

Comments
 (0)