Skip to content

Commit 78c0da7

Browse files
committed
#452: Updated dependencies and changelog.
1 parent 6cdda3e commit 78c0da7

File tree

3 files changed

+23
-25
lines changed

3 files changed

+23
-25
lines changed

doc/changes/changes_4.2.0.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ We also added a whole section about understanding and fixing broken links betwee
1010

1111
The new token `oft:on|off` allows switching off OFT parsing for certain text passages in Markdown and RST documents.
1212

13+
The Central Repository changed its deployment mechanism. We adapted the project accordingly.
14+
15+
Finally, we updated test dependencies and Maven plugins.
16+
1317
## Features
1418

1519
* #437: Upgrade build and test dependencies on top of 4.1.0
@@ -22,3 +26,7 @@ The new token `oft:on|off` allows switching off OFT parsing for certain text pas
2226
* #449: Fix parsing past end of "needs" paragraph.
2327
* #440: Added Tag importer support for TOML files.
2428
* #442: Added support for javascript file extensions `.cjs`, `.mjs` and `.ejs`
29+
30+
## Refactoring
31+
32+
#452: Migrated Deployment to new Central Repository mechanism

parent/pom.xml

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<properties>
1313
<revision>4.1.0</revision>
1414
<java.version>17</java.version>
15-
<junit.version>5.11.4</junit.version>
15+
<junit.version>5.12.2</junit.version>
1616
<maven.surefire.version>3.5.2</maven.surefire.version>
1717
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1818
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
@@ -48,16 +48,6 @@
4848
<developerConnection>scm:git:https://github.com/itsallcode/openfasttrace.git</developerConnection>
4949
<url>https://github.com/itsallcode/openfasttrace</url>
5050
</scm>
51-
<distributionManagement>
52-
<snapshotRepository>
53-
<id>ossrh</id>
54-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
55-
</snapshotRepository>
56-
<repository>
57-
<id>ossrh</id>
58-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
59-
</repository>
60-
</distributionManagement>
6151
<dependencies>
6252
<dependency>
6353
<groupId>org.junit.jupiter</groupId>
@@ -219,7 +209,7 @@
219209
<dependency>
220210
<groupId>org.mockito</groupId>
221211
<artifactId>mockito-junit-jupiter</artifactId>
222-
<version>5.15.2</version>
212+
<version>5.18.0</version>
223213
<scope>test</scope>
224214
</dependency>
225215
<dependency>
@@ -237,7 +227,7 @@
237227
<dependency>
238228
<groupId>nl.jqno.equalsverifier</groupId>
239229
<artifactId>equalsverifier</artifactId>
240-
<version>3.18.1</version>
230+
<version>4.0</version>
241231
<scope>test</scope>
242232
</dependency>
243233
<dependency>
@@ -250,12 +240,12 @@
250240
</dependencyManagement>
251241
<profiles>
252242
<profile>
253-
<id>ossrh</id>
243+
<id>central-publishing</id>
254244
<build>
255245
<plugins>
256246
<plugin>
257-
<groupId>org.sonatype.plugins</groupId>
258-
<artifactId>nexus-staging-maven-plugin</artifactId>
247+
<groupId>org.sonatype.central</groupId>
248+
<artifactId>central-publishing-maven-plugin</artifactId>
259249
</plugin>
260250
<plugin>
261251
<groupId>org.apache.maven.plugins</groupId>
@@ -666,14 +656,14 @@
666656
</dependencies>
667657
</plugin>
668658
<plugin>
669-
<groupId>org.sonatype.plugins</groupId>
670-
<artifactId>nexus-staging-maven-plugin</artifactId>
671-
<version>1.7.0</version>
659+
<groupId>org.sonatype.central</groupId>
660+
<artifactId>central-publishing-maven-plugin</artifactId>
661+
<version>0.7.0</version>
672662
<extensions>true</extensions>
673663
<configuration>
674-
<serverId>ossrh</serverId>
675-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
676-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
664+
<publishingServerId>central</publishingServerId>
665+
<autoPublish>true</autoPublish>
666+
<waitUntil>validated</waitUntil>
677667
</configuration>
678668
</plugin>
679669
<plugin>

testutil/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@
8080
</configuration>
8181
</plugin>
8282
<plugin>
83-
<groupId>org.sonatype.plugins</groupId>
84-
<artifactId>nexus-staging-maven-plugin</artifactId>
83+
<groupId>org.sonatype.central</groupId>
84+
<artifactId>central-publishing-maven-plugin</artifactId>
8585
<configuration>
86-
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
86+
<skipPublishing>true</skipPublishing>
8787
</configuration>
8888
</plugin>
8989
<plugin>

0 commit comments

Comments
 (0)