├── helloworld-samples
├── README.MD
├── .gitignore
├── src
│ └── main
│ │ └── java
│ │ └── com
│ │ └── lianggzone
│ │ └── HelloWorld.java
└── pom.xml
└── springboot-samples
├── src
└── main
│ ├── resources
│ └── application.properties
│ └── java
│ └── com
│ └── lianggzone
│ ├── Application.java
│ └── WebController.java
├── .gitignore
└── pom.xml
/helloworld-samples/README.MD:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/springboot-samples/src/main/resources/application.properties:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/helloworld-samples/.gitignore:
--------------------------------------------------------------------------------
1 | .idea
2 | *.iml
3 | target/*
4 | */target
5 | */target/*
6 | /*/*/target/*
7 | */*/*/target/*
8 |
--------------------------------------------------------------------------------
/springboot-samples/.gitignore:
--------------------------------------------------------------------------------
1 | .idea
2 | *.iml
3 | target/*
4 | */target
5 | */target/*
6 | /*/*/target/*
7 | */*/*/target/*
8 |
--------------------------------------------------------------------------------
/helloworld-samples/src/main/java/com/lianggzone/HelloWorld.java:
--------------------------------------------------------------------------------
1 | package com.lianggzone;
2 |
3 | public class HelloWorld {
4 | public static void main(String[] args) {
5 | System.out.println("Hello World!");
6 | System.out.println("http://blog.720ui.com");
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/springboot-samples/src/main/java/com/lianggzone/Application.java:
--------------------------------------------------------------------------------
1 | package com.lianggzone;
2 |
3 | import org.springframework.boot.SpringApplication;
4 | import org.springframework.boot.autoconfigure.SpringBootApplication;
5 |
6 | @SpringBootApplication
7 | public class Application {
8 | public static void main(String[] args) {
9 | SpringApplication.run(Application.class, args);
10 | }
11 | }
--------------------------------------------------------------------------------
/springboot-samples/src/main/java/com/lianggzone/WebController.java:
--------------------------------------------------------------------------------
1 | package com.lianggzone;
2 |
3 | import org.springframework.web.bind.annotation.RequestMapping;
4 | import org.springframework.web.bind.annotation.RestController;
5 |
6 | @RestController
7 | public class WebController {
8 | @RequestMapping("/blog")
9 | public String index() {
10 | return "http://blog.720ui.com";
11 | }
12 | }
--------------------------------------------------------------------------------
/helloworld-samples/pom.xml:
--------------------------------------------------------------------------------
1 |
3 | 4.0.0
4 |
5 | com.lianggzone.sample.lib
6 | helloworld-samples
7 | 0.1
8 | jar
9 | helloworld-samples
10 |
11 |
12 |
13 | lianggzone
14 | 梁桂钊
15 | lianggzone@163.com
16 |
17 | Architect
18 | Developer
19 |
20 |
21 |
22 |
23 |
24 | UTF-8
25 | 1.0.2
26 | 3.8.0
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 | org.apache.maven.plugins
37 | maven-compiler-plugin
38 | ${maven-compiler-plugin.version}
39 |
40 | 1.8
41 | 1.8
42 |
43 |
44 |
45 |
46 | com.google.cloud.tools
47 | jib-maven-plugin
48 | ${jib-maven-plugin.version}
49 |
50 |
51 | registry.cn-hangzhou.aliyuncs.com/lianggzone/oracle_java8
52 |
53 |
54 | registry.cn-hangzhou.aliyuncs.com/lianggzone/jib-helloworld:v1
55 |
56 |
57 |
58 | -Xms512m
59 | -Xdebug
60 |
61 | com.lianggzone.HelloWorld
62 |
63 |
64 |
65 |
66 | package
67 |
68 | build
69 |
70 |
71 |
72 |
73 |
74 |
75 |
--------------------------------------------------------------------------------
/springboot-samples/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | 4.0.0
5 |
6 |
7 | org.springframework.boot
8 | spring-boot-starter-parent
9 | 2.1.2.RELEASE
10 |
11 |
12 | com.lianggzone.sample.lib
13 | springboot-samples
14 | 0.1
15 | jar
16 | springboot-samples
17 |
18 |
19 |
20 | lianggzone
21 | 梁桂钊
22 | lianggzone@163.com
23 |
24 | Architect
25 | Developer
26 |
27 |
28 |
29 |
30 |
31 |
32 | org.springframework.boot
33 | spring-boot-starter-web
34 |
35 |
36 |
37 |
38 | UTF-8
39 | 1.0.2
40 | 3.8.0
41 |
42 |
43 |
44 |
45 |
46 | org.apache.maven.plugins
47 | maven-compiler-plugin
48 | ${maven-compiler-plugin.version}
49 |
50 | 1.8
51 | 1.8
52 |
53 |
54 |
55 |
56 | com.google.cloud.tools
57 | jib-maven-plugin
58 | ${jib-maven-plugin.version}
59 |
60 |
61 | registry.cn-hangzhou.aliyuncs.com/lianggzone/oracle_java8
62 |
63 |
64 | registry.cn-hangzhou.aliyuncs.com/lianggzone/jib-springboot:v1
65 |
66 |
67 |
68 | -Xms512m
69 | -Xdebug
70 |
71 |
72 |
73 |
74 |
75 | package
76 |
77 | build
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
--------------------------------------------------------------------------------