Skip to content

Commit 88281f3

Browse files
sormurasmarcphilipp
authored andcommitted
Update links to Maven Central and GitHub Discussions
Co-authored-by: Marc Philipp <[email protected]> (cherry picked from commit 3d74a06)
1 parent 7081199 commit 88281f3

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ label are specifically targeted for community contributions.
3434

3535
## Getting Help
3636

37-
Ask JUnit 5 related questions on [StackOverflow] or chat with the community on [Gitter].
37+
Ask JUnit 5 related questions on [StackOverflow] or use the Q&A category on [GitHub Discussions].
3838

3939
## Continuous Integration Builds
4040

@@ -73,14 +73,12 @@ task outputs from previous CI builds.
7373
You need [JDK 21] to build JUnit 5. [Gradle toolchains] are used to detect and
7474
potentially download additional JDKs for compilation and test execution.
7575

76-
All modules can be _built_ and _tested_ with the [Gradle Wrapper] using the following command.
76+
All modules can be _built_ and _tested_ with the [Gradle Wrapper] using the following command:
7777

7878
`./gradlew build`
7979

80-
## Installing in Local Maven Repository
81-
82-
All modules can be _installed_ with the [Gradle Wrapper] in a local Maven repository for
83-
consumption in other projects via the following command.
80+
All modules can be _installed_ in a local Maven repository for consumption in other local
81+
projects via the following command:
8482

8583
`./gradlew publishToMavenLocal`
8684

@@ -93,14 +91,11 @@ consumption in other projects via the following command.
9391
Consult the [Dependency Metadata] section of the [User Guide] for a list of all artifacts
9492
of the JUnit Platform, JUnit Jupiter, and JUnit Vintage.
9593

96-
See also <https://repo1.maven.org/maven2/org/junit/> for releases and
97-
<https://central.sonatype.com/repository/maven-snapshots/org/junit/> for snapshots.
98-
9994

10095
[Codecov]: https://codecov.io/gh/junit-team/junit5
10196
[CONTRIBUTING.md]: https://github.com/junit-team/junit5/blob/HEAD/CONTRIBUTING.md
10297
[Dependency Metadata]: https://junit.org/junit5/docs/current/user-guide/#dependency-metadata
103-
[Gitter]: https://gitter.im/junit-team/junit5
98+
[GitHub Discussions]: https://github.com/junit-team/junit5/discussions/categories/q-a
10499
[Gradle toolchains]: https://docs.gradle.org/current/userguide/toolchains.html
105100
[Gradle Wrapper]: https://docs.gradle.org/current/userguide/gradle_wrapper.html#sec:using_wrapper
106101
[JaCoCo]: https://www.eclemma.org/jacoco/

documentation/src/docs/asciidoc/link-attributes.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ifdef::backend-pdf[]
33
:javadoc-root: https://junit.org/junit5/docs/{docs-version}/api
44
endif::[]
55
// Snapshot Repository
6-
:snapshot-repo: https://central.sonatype.com/repository/maven-snapshots
6+
:snapshot-repo: https://central.sonatype.com/service/rest/repository/browse/maven-snapshots
77
// Base Links
88
:junit-team: https://github.com/junit-team
99
:junit5-repo: {junit-team}/junit5
@@ -241,7 +241,7 @@ endif::[]
241241
:API: https://apiguardian-team.github.io/apiguardian/docs/current/api/[@API]
242242
:API_Guardian: https://github.com/apiguardian-team/apiguardian[@API Guardian]
243243
:AssertJ: https://assertj.github.io/doc/[AssertJ]
244-
:Gitter: https://gitter.im/junit-team/junit5[Gitter]
244+
:DiscussionsQA: https://github.com/junit-team/junit5/discussions/categories/q-a[Q&A category on GitHub Discussions]
245245
:Hamcrest: https://hamcrest.org/JavaHamcrest/[Hamcrest]
246246
:Jimfs: https://google.github.io/jimfs/[Jimfs]
247247
:Log4j: https://logging.apache.org/log4j/2.x/[Log4j]

documentation/src/docs/asciidoc/user-guide/appendix.adoc

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,14 @@ artifacts in the repositories were actually generated from this source code.
1717
[[dependency-metadata]]
1818
=== Dependency Metadata
1919

20-
Artifacts for final releases and milestones are deployed to {Maven_Central}, and snapshot
21-
artifacts are deployed to Sonatype's {snapshot-repo}[snapshots repository] under
22-
{snapshot-repo}/org/junit/[/org/junit].
20+
Artifacts for final releases and milestones are deployed to {Maven_Central}. Consult
21+
https://central.sonatype.org/consume/[Sonatype's documentation] for how to consume those
22+
artifacts with a build tool of your choice.
23+
24+
Snapshot artifacts are deployed to Sonatype's {snapshot-repo}[snapshots repository]
25+
under {snapshot-repo}/org/junit/[/org/junit]. Please refer to
26+
https://central.sonatype.org/publish/publish-portal-snapshots/#consuming-snapshot-releases-for-your-project[Sonatype's documentation]
27+
for instructions on how to consume them with a build tool of your choice.
2328

2429
The sections below list all artifacts with their versions for the three groups:
2530
<<dependency-metadata-junit-platform, Platform>>,

documentation/src/docs/asciidoc/user-guide/overview.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ has been compiled with previous versions of the JDK.
4747
[[overview-getting-help]]
4848
=== Getting Help
4949

50-
Ask JUnit 5 related questions on {StackOverflow} or chat with the community on {Gitter}.
50+
Ask JUnit 5 related questions on {StackOverflow} or use the {DiscussionsQA}.
5151

5252
[[overview-getting-started]]
5353
=== Getting Started

0 commit comments

Comments
 (0)