pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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>poyee-ecology</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>py-app-starter</artifactId>
  12. <name>APP启动模块</name>
  13. <description>APP启动模块</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. <!--domain-->
  44. <dependency>
  45. <groupId>com.poyee</groupId>
  46. <artifactId>py-domain</artifactId>
  47. </dependency>
  48. <!--dao-->
  49. <dependency>
  50. <groupId>com.poyee</groupId>
  51. <artifactId>py-dao</artifactId>
  52. </dependency>
  53. <!--service-->
  54. <dependency>
  55. <groupId>com.poyee</groupId>
  56. <artifactId>py-service</artifactId>
  57. </dependency>
  58. <!--feign-->
  59. <dependency>
  60. <groupId>com.poyee</groupId>
  61. <artifactId>py-feign-clients</artifactId>
  62. </dependency>
  63. </dependencies>
  64. <build>
  65. <plugins>
  66. <plugin>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-maven-plugin</artifactId>
  69. <version>2.1.1.RELEASE</version>
  70. <configuration>
  71. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  72. <includeSystemScope>true</includeSystemScope>
  73. </configuration>
  74. <executions>
  75. <execution>
  76. <goals>
  77. <goal>repackage</goal>
  78. </goals>
  79. </execution>
  80. </executions>
  81. </plugin>
  82. <plugin>
  83. <groupId>org.apache.maven.plugins</groupId>
  84. <artifactId>maven-war-plugin</artifactId>
  85. <version>3.0.0</version>
  86. <configuration>
  87. <failOnMissingWebXml>false</failOnMissingWebXml>
  88. <warName>${project.artifactId}</warName>
  89. </configuration>
  90. </plugin>
  91. </plugins>
  92. <finalName>${project.artifactId}</finalName>
  93. </build>
  94. </project>