Skip to content

Commit 6d482ad

Browse files
committed
#1509 - Migrate to main branch.
Move all project references to `main` instead of `master`.
1 parent b48b322 commit 6d482ad

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ pipeline {
154154
stage('Release documentation') {
155155
when {
156156
anyOf {
157-
branch 'master'
157+
branch 'main'
158158
branch 'release'
159159
}
160160
}

README.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ image:https://spring.io/badges/spring-hateoas/ga.svg[link=https://spring.io/proj
22
image:https://spring.io/badges/spring-hateoas/snapshot.svg[link=https://spring.io/projects/spring-hateoas]
33
image:https://badges.gitter.im/spring-projects/spring-hateoas.png[link=https://gitter.im/spring-projects/spring-hateoas]
44

5-
image:https://jenkins.spring.io/buildStatus/icon?job=spring-hateoas%2Fmaster&subject=master[link=https://jenkins.spring.io/view/SpringHATEOAS/job/spring-hateoas/]
5+
image:https://jenkins.spring.io/buildStatus/icon?job=spring-hateoas%2Fmain&subject=main[link=https://jenkins.spring.io/view/SpringHATEOAS/job/spring-hateoas/]
66
image:https://jenkins.spring.io/buildStatus/icon?job=spring-hateoas%2F1.2.x&subject=1.2.x[link=https://jenkins.spring.io/view/SpringHATEOAS/job/spring-hateoas/]
77
image:https://jenkins.spring.io/buildStatus/icon?job=spring-hateoas%2F1.1.x&subject=1.1.x[link=https://jenkins.spring.io/view/SpringHATEOAS/job/spring-hateoas/]
88
image:https://jenkins.spring.io/buildStatus/icon?job=spring-hateoas%2F1.0.x&subject=1.0.x[link=https://jenkins.spring.io/view/SpringHATEOAS/job/spring-hateoas/]

src/main/asciidoc/mediatypes.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ The preferred way to implement media type representations is by providing a type
895895
In the `Serializer` and `Deserializer` implementations registered for `RepresentationModel`, convert the instances into the media type-specific model types and then lookup the Jackson serializer for those.
896896

897897
The media types supported by default use the same configuration mechanism as third-party implementations would do.
898-
So it's worth studying the implementations in https://github.com/spring-projects/spring-hateoas/tree/master/src/main/java/org/springframework/hateoas/mediatype[the `mediatype` package].
898+
So it's worth studying the implementations in https://github.com/spring-projects/spring-hateoas/tree/main/src/main/java/org/springframework/hateoas/mediatype[the `mediatype` package].
899899
Note, that the built in media type implementations keep their configuration classes package private, as they're activated via `@EnableHypermediaSupport`.
900900
Custom implementations should probably make those public instead to make sure, users can import those configuration classes from their application packages.
901901

src/main/asciidoc/migrate-to-1.0.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Also the name changes have been reflected in the classes contained in `TypeRefer
3939
[[migrate-to-1.0.script]]
4040
== The migration script
4141

42-
You can find https://github.com/spring-projects/spring-hateoas/tree/master/etc[a script] to run from your application root that will update all import statements and static method references to Spring HATEOAS types that moved in our source code repository.
42+
You can find https://github.com/spring-projects/spring-hateoas/tree/main/etc[a script] to run from your application root that will update all import statements and static method references to Spring HATEOAS types that moved in our source code repository.
4343
Simply download that, run it from your project root.
4444
By default it will inspect all Java source files and replace the legacy Spring HATEOAS type references with the new ones.
4545

0 commit comments

Comments
 (0)