Browse Source

0512 fix build

Qing 1 year ago
parent
commit
1a27b96f74

+ 1 - 10
12306-demo/my-spring-boot-starter/pom.xml

@@ -6,7 +6,7 @@
         <groupId>com.sf</groupId>
         <artifactId>demo-12306</artifactId>
         <version>0.0.1-SNAPSHOT</version>
-        <relativePath/> <!-- lookup parent from repository -->
+<!--        <relativePath/> &lt;!&ndash; lookup parent from repository &ndash;&gt;-->
     </parent>
     <groupId>com.sf</groupId>
     <artifactId>my-spring-boot-starter</artifactId>
@@ -40,13 +40,4 @@
         </dependency>
     </dependencies>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.springframework.boot</groupId>
-                <artifactId>spring-boot-maven-plugin</artifactId>
-            </plugin>
-        </plugins>
-    </build>
-
 </project>

+ 0 - 13
12306-demo/my-spring-boot-starter/src/test/java/com/sf/myspringbootstarter/MySpringBootStarterApplicationTests.java

@@ -1,13 +0,0 @@
-package com.sf.myspringbootstarter;
-
-import org.junit.jupiter.api.Test;
-import org.springframework.boot.test.context.SpringBootTest;
-
-@SpringBootTest
-class MySpringBootStarterApplicationTests {
-
-    @Test
-    void contextLoads() {
-    }
-
-}

+ 0 - 8
12306-demo/pom.xml

@@ -24,13 +24,5 @@
         <java.version>17</java.version>
     </properties>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.springframework.boot</groupId>
-                <artifactId>spring-boot-maven-plugin</artifactId>
-            </plugin>
-        </plugins>
-    </build>
 
 </project>