From 4b1dc3afe2f3798b954cba6796186fa30f418047 Mon Sep 17 00:00:00 2001 From: Christoph Pirkl <4711730+kaklakariada@users.noreply.github.com> Date: Sun, 8 Sep 2024 08:54:23 +0200 Subject: [PATCH] #74: Fixed automatic deployment to Maven Central (#75) --- doc/changes/changelog.md | 3 +- doc/changes/changes_1.2.2.md | 11 +++ launch/j5se - package.launch | 21 ----- launch/j5se - run all tests.launch | 27 ------- pom.xml | 125 +++++++++++++++++++---------- 5 files changed, 94 insertions(+), 93 deletions(-) create mode 100644 doc/changes/changes_1.2.2.md delete mode 100644 launch/j5se - package.launch delete mode 100644 launch/j5se - run all tests.launch diff --git a/doc/changes/changelog.md b/doc/changes/changelog.md index 60d695d..c9cf407 100644 --- a/doc/changes/changelog.md +++ b/doc/changes/changelog.md @@ -1,5 +1,6 @@ # Changes +* [1.2.2](changes_1.2.2.md) * [1.2.1](changes_1.2.1.md) * [1.2.0](changes_1.2.0.md) -* [1.1.0](changes_1.1.0.md) \ No newline at end of file +* [1.1.0](changes_1.1.0.md) diff --git a/doc/changes/changes_1.2.2.md b/doc/changes/changes_1.2.2.md new file mode 100644 index 0000000..541b24b --- /dev/null +++ b/doc/changes/changes_1.2.2.md @@ -0,0 +1,11 @@ +# JUnit5 System Extensions 1.2.2, released 2024-09-08 + +Code name: Fix automatic release + +## Summary + +This release fixes the automatic release process via GitHub Actions. + +## Bugfixes + +* [#74](https://github.com/itsallcode/junit5-system-extensions/issues/74): Fix deployment to Maven Central diff --git a/launch/j5se - package.launch b/launch/j5se - package.launch deleted file mode 100644 index 42bab7c..0000000 --- a/launch/j5se - package.launch +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/launch/j5se - run all tests.launch b/launch/j5se - run all tests.launch deleted file mode 100644 index 01aec37..0000000 --- a/launch/j5se - run all tests.launch +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/pom.xml b/pom.xml index fa3ab1e..47545e1 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.itsallcode junit5-system-extensions - 1.2.1 + 1.2.2 JUnit5 System Extensions These extensions help testing behavior that is related to `System.x` calls like `exit(int). https://github.com/itsallcode/junit5-system-extensions @@ -36,11 +36,13 @@ 11 - 5.10.3 + 5.11.0 UTF-8 true https://sonarcloud.io itsallcode + ${git.commit.time} + ${reproducible.build.timestamp} @@ -67,10 +69,49 @@ org.mockito mockito-core - 5.12.0 + 5.13.0 test + + + ossrh + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.7.0 + true + + ossrh + https://oss.sonatype.org/ + true + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.2.5 + + + sign-artifacts + verify + + sign + + + + + + org.apache.maven.plugins + maven-deploy-plugin + 3.1.3 + + + + + @@ -122,7 +163,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.7.0 + 3.10.0 attach-javadocs @@ -143,6 +184,11 @@ + + org.apache.maven.plugins + maven-jar-plugin + 3.4.2 + org.jacoco jacoco-maven-plugin @@ -165,45 +211,12 @@ org.apache.maven.plugins maven-surefire-plugin - 3.3.0 + 3.5.0 -XX:+EnableDynamicAgentLoading ${argLine} - - org.apache.maven.plugins - maven-gpg-plugin - 3.2.4 - - - sign-artifacts - verify - - sign - - - - - ${skipSigningArtifacts} - - - - org.apache.maven.plugins - maven-deploy-plugin - 3.1.2 - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.7.0 - true - - ossrh - https://oss.sonatype.org/ - true - - org.apache.maven.plugins maven-enforcer-plugin @@ -225,18 +238,42 @@ - io.github.zlika - reproducible-build-maven-plugin - 0.16 + io.github.git-commit-id + git-commit-id-maven-plugin + 9.0.1 + + + get-the-git-infos + + revision + + initialize + + + + true + false + + git.commit.time + + + + + org.apache.maven.plugins + maven-artifact-plugin + 3.5.1 - strip-jar - package + verify-reproducible-build + verify - strip-jar + check-buildplan + + true +