Skip to content

Commit 71c1fdf

Browse files
committed
Migrate to main.
1 parent 7e36338 commit 71c1fdf

10 files changed

+26
-26
lines changed

build_yarn_application.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:link_attrs:
22

3-
ifndef::yarn_base_appmaster[:yarn_base_appmaster: appmaster]
3+
ifndef::yarn_base_appmain[:yarn_base_appmain: appmain]
44
ifndef::yarn_base_container[:yarn_base_container: container]
55
ifndef::yarn_base_client[:yarn_base_client: client]
66
ifndef::yarn_base_dist[:yarn_base_dist: dist]
@@ -36,7 +36,7 @@ Below listing shows files after a succesfull gradle build.
3636
[subs="attributes"]
3737
----
3838
{yarn_base_dist}/target/{yarn_base_dist}/{yarn_base_client}-0.1.0.jar
39-
{yarn_base_dist}/target/{yarn_base_dist}/{yarn_base_appmaster}-0.1.0.jar
39+
{yarn_base_dist}/target/{yarn_base_dist}/{yarn_base_appmain}-0.1.0.jar
4040
{yarn_base_dist}/target/{yarn_base_dist}/{yarn_base_container}-0.1.0.jar
4141
----
4242

create_both_builds.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
=== Create a Gradle build file
2-
Below is the https://github.com/spring-guides/{project_id}/blob/master/initial/build.gradle[initial Gradle build file].
2+
Below is the https://github.com/spring-guides/{project_id}/blob/main/initial/build.gradle[initial Gradle build file].

create_both_builds_multi.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
=== Create the Gradle build files
2-
Below is the https://github.com/spring-guides/{project_id}/blob/master/initial/build.gradle[initial Gradle build file] and the https://github.com/spring-guides/{project_id}/blob/master/initial/settings.gradle[initial Gradle settings file]. But you can also use Maven. The pom.xml file is included https://github.com/spring-guides/{project_id}/blob/master/initial/pom.xml[right here]. If you are using link:/guides/gs/sts[Spring Tool Suite (STS)], you can import the guide directly.
2+
Below is the https://github.com/spring-guides/{project_id}/blob/main/initial/build.gradle[initial Gradle build file] and the https://github.com/spring-guides/{project_id}/blob/main/initial/settings.gradle[initial Gradle settings file]. But you can also use Maven. The pom.xml file is included https://github.com/spring-guides/{project_id}/blob/main/initial/pom.xml[right here]. If you are using link:/guides/gs/sts[Spring Tool Suite (STS)], you can import the guide directly.

create_directory_structure_yarn_hello.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:link_attrs:
22

3-
ifndef::yarn_base_appmaster[:yarn_base_appmaster: appmaster]
3+
ifndef::yarn_base_appmain[:yarn_base_appmain: appmain]
44
ifndef::yarn_base_container[:yarn_base_container: container]
55
ifndef::yarn_base_client[:yarn_base_client: client]
66
ifndef::yarn_base_dist[:yarn_base_dist: dist]
@@ -12,13 +12,13 @@ subdirectory structure:
1212

1313
[subs="attributes"]
1414
```
15-
├── {yarn_base_appmaster}
15+
├── {yarn_base_appmain}
1616
│ └── src
1717
│ └── main
1818
│ ├── resources
1919
│ └── java
2020
│ └── hello
21-
│ └── appmaster
21+
│ └── appmain
2222
├── {yarn_base_container}
2323
│ └── src
2424
│ └── main
@@ -40,8 +40,8 @@ for example, on *nix systems, with:
4040

4141
[subs="attributes"]
4242
```
43-
mkdir -p {yarn_base_appmaster}/src/main/resources
44-
mkdir -p {yarn_base_appmaster}/src/main/java/hello/appmaster
43+
mkdir -p {yarn_base_appmain}/src/main/resources
44+
mkdir -p {yarn_base_appmain}/src/main/java/hello/appmain
4545
mkdir -p {yarn_base_container}/src/main/resources
4646
mkdir -p {yarn_base_container}/src/main/java/hello/container
4747
mkdir -p {yarn_base_client}/src/main/resources

create_directory_structure_yarn_test_hello.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:link_attrs:
22

3-
ifndef::yarn_base_appmaster[:yarn_base_appmaster: appmaster]
3+
ifndef::yarn_base_appmain[:yarn_base_appmain: appmain]
44
ifndef::yarn_base_container[:yarn_base_container: container]
55
ifndef::yarn_base_client[:yarn_base_client: client]
66
ifndef::yarn_base_dist[:yarn_base_dist: dist]
@@ -12,13 +12,13 @@ subdirectory structure:
1212

1313
[subs="attributes"]
1414
```
15-
├── {yarn_base_appmaster}
15+
├── {yarn_base_appmain}
1616
│ └── src
1717
│ └── main
1818
│ ├── resources
1919
│ └── java
2020
│ └── hello
21-
│ └── appmaster
21+
│ └── appmain
2222
├── {yarn_base_container}
2323
│ └── src
2424
│ └── main
@@ -44,8 +44,8 @@ for example, with
4444

4545
[subs="attributes"]
4646
```
47-
mkdir -p {yarn_base_appmaster}/src/main/resources
48-
mkdir -p {yarn_base_appmaster}/src/main/java/hello/appmaster
47+
mkdir -p {yarn_base_appmain}/src/main/resources
48+
mkdir -p {yarn_base_appmain}/src/main/java/hello/appmain
4949
mkdir -p {yarn_base_container}/src/main/resources
5050
mkdir -p {yarn_base_container}/src/main/java/hello/container
5151
mkdir -p {yarn_base_client}/src/main/resources

hide-show-gradle.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
[.use-gradle]
77
== Build with Gradle
88

9-
include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/master/build_system_intro.adoc[]
9+
include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/main/build_system_intro.adoc[]
1010

11-
include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/master/create_directory_structure_hello.adoc[]
11+
include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/main/create_directory_structure_hello.adoc[]
1212

13-
include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/master/create_both_builds.adoc[]
13+
include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/main/create_both_builds.adoc[]
1414

1515
`build.gradle`
1616
// AsciiDoc source formatting doesn't support groovy, so using java instead
1717
[source,java]
1818
----
19-
include::https://raw.githubusercontent.com/spring-guides/{project_id}/master/initial/build.gradle[]
19+
include::https://raw.githubusercontent.com/spring-guides/{project_id}/main/initial/build.gradle[]
2020
----
2121

22-
include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/master/spring-boot-gradle-plugin.adoc[]
22+
include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/main/spring-boot-gradle-plugin.adoc[]

hide-show-maven.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
[.use-maven]
77
== Build with Maven
88

9-
include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/master/build_system_intro_maven.adoc[]
9+
include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/main/build_system_intro_maven.adoc[]
1010

11-
include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/master/create_directory_structure_hello.adoc[]
11+
include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/main/create_directory_structure_hello.adoc[]
1212

1313
`pom.xml`
1414
[source,xml]
1515
----
16-
include::https://raw.githubusercontent.com/spring-guides/{project_id}/master/initial/pom.xml[]
16+
include::https://raw.githubusercontent.com/spring-guides/{project_id}/main/initial/pom.xml[]
1717
----
1818

19-
include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/master/spring-boot-maven-plugin.adoc[]
19+
include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/main/spring-boot-maven-plugin.adoc[]

how_to_complete_this_guide.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To **start from scratch**, move on to <<scratch>>.
99

1010
To **skip the basics**, do the following:
1111

12-
- https://github.com/spring-guides/{project_id}/archive/master.zip[Download] and unzip the source repository for this guide, or clone it using link:/understanding/Git[Git]:
12+
- https://github.com/spring-guides/{project_id}/archive/main.zip[Download] and unzip the source repository for this guide, or clone it using link:/understanding/Git[Git]:
1313
`git clone https://github.com/spring-guides/{project_id}.git`
1414
- cd into `{project_id}{initial}`
1515
- Jump ahead to <<initial>>.

spring-boot-gradle-plugin.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ The https://docs.spring.io/spring-boot/docs/current/gradle-plugin/reference/html
22

33
- It collects all the jars on the classpath and builds a single, runnable "über-jar", which makes it more convenient to execute and transport your service.
44
- It searches for the `public static void main()` method to flag as a runnable class.
5-
- It provides a built-in dependency resolver that sets the version number to match https://github.com/spring-projects/spring-boot/blob/master/spring-boot-project/spring-boot-dependencies/pom.xml[Spring Boot dependencies]. You can override any version you wish, but it will default to Boot's chosen set of versions.
5+
- It provides a built-in dependency resolver that sets the version number to match https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-dependencies/pom.xml[Spring Boot dependencies]. You can override any version you wish, but it will default to Boot's chosen set of versions.
66

spring-boot-maven-plugin.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ The https://docs.spring.io/spring-boot/docs/current/maven-plugin[Spring Boot Mav
22

33
- It collects all the jars on the classpath and builds a single, runnable "über-jar", which makes it more convenient to execute and transport your service.
44
- It searches for the `public static void main()` method to flag as a runnable class.
5-
- It provides a built-in dependency resolver that sets the version number to match https://github.com/spring-projects/spring-boot/blob/master/spring-boot-project/spring-boot-dependencies/pom.xml[Spring Boot dependencies]. You can override any version you wish, but it will default to Boot's chosen set of versions.
5+
- It provides a built-in dependency resolver that sets the version number to match https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-dependencies/pom.xml[Spring Boot dependencies]. You can override any version you wish, but it will default to Boot's chosen set of versions.
66

0 commit comments

Comments
 (0)