pom.xml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.poyee</groupId>
  8. <artifactId>tzy-admin</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>py-starter</artifactId>
  12. <name>启动模块</name>
  13. <description>启动模块</description>
  14. <dependencies>
  15. <!--springboot-->
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-web</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-validation</artifactId>
  23. </dependency>
  24. <!--热更新-->
  25. <!--<dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-devtools</artifactId>
  28. </dependency>-->
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-test</artifactId>
  32. <scope>test</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-actuator</artifactId>
  37. </dependency>
  38. <!--base-->
  39. <dependency>
  40. <groupId>com.poyee</groupId>
  41. <artifactId>py-base</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.poyee</groupId>
  45. <artifactId>py-goods</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.poyee</groupId>
  49. <artifactId>py-order</artifactId>
  50. </dependency>
  51. </dependencies>
  52. <build>
  53. <plugins>
  54. <plugin>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-maven-plugin</artifactId>
  57. <version>2.1.1.RELEASE</version>
  58. <configuration>
  59. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  60. <includeSystemScope>true</includeSystemScope>
  61. </configuration>
  62. <executions>
  63. <execution>
  64. <goals>
  65. <goal>repackage</goal>
  66. </goals>
  67. </execution>
  68. </executions>
  69. </plugin>
  70. <plugin>
  71. <groupId>org.apache.maven.plugins</groupId>
  72. <artifactId>maven-war-plugin</artifactId>
  73. <version>3.0.0</version>
  74. <configuration>
  75. <failOnMissingWebXml>false</failOnMissingWebXml>
  76. <warName>${project.artifactId}</warName>
  77. </configuration>
  78. </plugin>
  79. </plugins>
  80. <finalName>${project.artifactId}</finalName>
  81. </build>
  82. </project>