Browse Source

基础模块之 helloworld 案例完成

3.x
Yangkai.Shen 2 years ago
parent
commit
8247085a66
7 changed files with 9 additions and 5 deletions
  1. +0
    -0
      demo-base/demo-base-helloworld/README.md
  2. +4
    -4
      demo-base/demo-base-helloworld/pom.xml
  3. +0
    -0
      demo-base/demo-base-helloworld/src/main/java/com/xkcoding/helloworld/HelloworldApplication.java
  4. +0
    -0
      demo-base/demo-base-helloworld/src/main/resources/application.yml
  5. +0
    -0
      demo-base/demo-base-helloworld/src/test/java/com/xkcoding/helloworld/SpringBootDemoHelloworldApplicationTests.java
  6. +5
    -0
      demo-base/pom.xml
  7. +0
    -1
      pom.xml

demo-helloworld/README.md → demo-base/demo-base-helloworld/README.md View File


demo-helloworld/pom.xml → demo-base/demo-base-helloworld/pom.xml View File

@@ -3,17 +3,17 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.xkcoding</groupId>
<artifactId>spring-boot-demo</artifactId>
<artifactId>demo-base</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>

<artifactId>demo-helloworld</artifactId>
<artifactId>demo-base-helloworld</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>demo-helloworld</name>
<name>demo-base-helloworld</name>
<description>Demo project for Spring Boot</description>

<properties>
@@ -39,7 +39,7 @@
</dependencies>

<build>
<finalName>demo-helloworld</finalName>
<finalName>demo-base-helloworld</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>

demo-helloworld/src/main/java/com/xkcoding/helloworld/HelloworldApplication.java → demo-base/demo-base-helloworld/src/main/java/com/xkcoding/helloworld/HelloworldApplication.java View File


demo-helloworld/src/main/resources/application.yml → demo-base/demo-base-helloworld/src/main/resources/application.yml View File


demo-helloworld/src/test/java/com/xkcoding/helloworld/SpringBootDemoHelloworldApplicationTests.java → demo-base/demo-base-helloworld/src/test/java/com/xkcoding/helloworld/SpringBootDemoHelloworldApplicationTests.java View File


+ 5
- 0
demo-base/pom.xml View File

@@ -12,9 +12,14 @@

<artifactId>demo-base</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>

<properties>
<java.version>17</java.version>
</properties>

<modules>
<module>demo-base-helloworld</module>
</modules>

</project>

+ 0
- 1
pom.xml View File

@@ -11,7 +11,6 @@
<modules>
<module>common-tools</module>
<module>demo-base</module>
<module>demo-helloworld</module>
<module>demo-properties</module>
<module>demo-actuator</module>
<module>demo-admin</module>


Loading…
Cancel
Save