Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ jobs:

- name: Publish to Maven Central Repository
if: ${{ !inputs.skip-deploy-maven-central }}
run: mvn --batch-mode deploy -Possrh -DstagingDescription="Deployed via GitHub workflow release.yml"
run: mvn --batch-mode deploy -Pcentral-publishing -DdeploymentName="Deployed OFT via GitHub workflow release.yml"
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
MAVEN_USERNAME: ${{ secrets.MAVEN_CENTRAL_PORTAL_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PORTAL_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}

- name: Create GitHub Release
Expand Down
10 changes: 9 additions & 1 deletion doc/changes/changes_4.2.0.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# OpenFastTrace 4.2.0, released 2025-05-19
# OpenFastTrace 4.2.0, released 2025-05-24

Code name: Markdown code blocks

Expand All @@ -10,6 +10,10 @@ We also added a whole section about understanding and fixing broken links betwee

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

The Central Repository changed its deployment mechanism. We adapted the project accordingly.

Finally, we updated test dependencies and Maven plugins.

## Features

* #437: Upgrade build and test dependencies on top of 4.1.0
Expand All @@ -22,3 +26,7 @@ The new token `oft:on|off` allows switching off OFT parsing for certain text pas
* #449: Fix parsing past end of "needs" paragraph.
* #440: Added Tag importer support for TOML files.
* #442: Added support for javascript file extensions `.cjs`, `.mjs` and `.ejs`

## Refactoring

#452: Migrated Deployment to new Central Repository mechanism
34 changes: 12 additions & 22 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<properties>
<revision>4.1.0</revision>
<java.version>17</java.version>
<junit.version>5.11.4</junit.version>
<junit.version>5.12.2</junit.version>
<maven.surefire.version>3.5.2</maven.surefire.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Expand Down Expand Up @@ -48,16 +48,6 @@
<developerConnection>scm:git:https://github.com/itsallcode/openfasttrace.git</developerConnection>
<url>https://github.com/itsallcode/openfasttrace</url>
</scm>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down Expand Up @@ -219,7 +209,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>5.15.2</version>
<version>5.18.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -237,7 +227,7 @@
<dependency>
<groupId>nl.jqno.equalsverifier</groupId>
<artifactId>equalsverifier</artifactId>
<version>3.18.1</version>
<version>4.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -250,12 +240,12 @@
</dependencyManagement>
<profiles>
<profile>
<id>ossrh</id>
<id>central-publishing</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -666,14 +656,14 @@
</dependencies>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.7.0</version>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.7.0</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<waitUntil>validated</waitUntil>
</configuration>
</plugin>
<plugin>
Expand Down
6 changes: 3 additions & 3 deletions testutil/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<configuration>
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
<skipPublishing>true</skipPublishing>
</configuration>
</plugin>
<plugin>
Expand Down