pom.xml 3.2 KB

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