pom.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. </dependencies>
  48. <build>
  49. <plugins>
  50. <plugin>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-maven-plugin</artifactId>
  53. <version>2.1.1.RELEASE</version>
  54. <configuration>
  55. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  56. <includeSystemScope>true</includeSystemScope>
  57. </configuration>
  58. <executions>
  59. <execution>
  60. <goals>
  61. <goal>repackage</goal>
  62. </goals>
  63. </execution>
  64. </executions>
  65. </plugin>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-war-plugin</artifactId>
  69. <version>3.0.0</version>
  70. <configuration>
  71. <failOnMissingWebXml>false</failOnMissingWebXml>
  72. <warName>${project.artifactId}</warName>
  73. </configuration>
  74. </plugin>
  75. </plugins>
  76. <finalName>${project.artifactId}</finalName>
  77. </build>
  78. </project>