From 868448d0e993bc10186e19afd05c8158d8386637 Mon Sep 17 00:00:00 2001 From: binghe001 <1028386804@qq.com> Date: Fri, 31 Mar 2023 15:55:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E3=80=8ASpring=E6=A0=B8?= =?UTF-8?q?=E5=BF=83=E6=8A=80=E6=9C=AF=E3=80=8B=E6=8F=90=E4=BA=A4=E7=AC=AC?= =?UTF-8?q?40=E7=AB=A0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +- pom.xml | 1 + spring-annotation-chapter-40/pom.xml | 20 +++++++++++++ .../src/main/java/HelloSpring.java | 28 +++++++++++++++++++ 4 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 spring-annotation-chapter-40/pom.xml create mode 100644 spring-annotation-chapter-40/src/main/java/HelloSpring.java diff --git a/.gitignore b/.gitignore index e08d062..1719686 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,8 @@ target/ *.zip *.tar *.tar.gz - +*.build_artifacts.txt +*.exe # eclipse ignore .settings/ .project diff --git a/pom.xml b/pom.xml index 518676f..5713fe4 100644 --- a/pom.xml +++ b/pom.xml @@ -36,6 +36,7 @@ spring-annotation-chapter-29 spring-annotation-chapter-36 spring-annotation-chapter-37 + spring-annotation-chapter-40 diff --git a/spring-annotation-chapter-40/pom.xml b/spring-annotation-chapter-40/pom.xml new file mode 100644 index 0000000..96023c9 --- /dev/null +++ b/spring-annotation-chapter-40/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + io.binghe.spring + spring-annotation-book + 1.0.0-SNAPSHOT + + + spring-annotation-chapter-40 + + + 17 + 17 + UTF-8 + + + \ No newline at end of file diff --git a/spring-annotation-chapter-40/src/main/java/HelloSpring.java b/spring-annotation-chapter-40/src/main/java/HelloSpring.java new file mode 100644 index 0000000..e8be19b --- /dev/null +++ b/spring-annotation-chapter-40/src/main/java/HelloSpring.java @@ -0,0 +1,28 @@ +/** + * Copyright 2022-9999 the original author or authors. + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * @author binghe(微信 : hacker_binghe) + * @version 1.0.0 + * @description + * @github https://github.com/binghe001 + * @copyright 公众号: 冰河技术 + */ +public class HelloSpring { + public static void main(String[] args) { + System.out.println("Hello Spring6"); + } +} -- GitLab