pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>wms-parent</artifactId>
  7. <groupId>com.deer</groupId>
  8. <version>3.3</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>wms-admin</artifactId>
  13. <description>
  14. web服务入口
  15. </description>
  16. <dependencies>
  17. <!-- SpringBoot集成thymeleaf模板 -->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  21. </dependency>
  22. <!-- spring-boot-devtools -->
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-devtools</artifactId>
  26. <optional>true</optional> <!-- 表示依赖不会传递 -->
  27. </dependency>
  28. <!-- swagger2-->
  29. <dependency>
  30. <groupId>io.springfox</groupId>
  31. <artifactId>springfox-swagger2</artifactId>
  32. </dependency>
  33. <!-- swagger2-UI-->
  34. <dependency>
  35. <groupId>io.springfox</groupId>
  36. <artifactId>springfox-swagger-ui</artifactId>
  37. </dependency>
  38. <!-- 定时任务-->
  39. <dependency>
  40. <groupId>com.deer</groupId>
  41. <artifactId>wms-quartz</artifactId>
  42. <version>3.3</version>
  43. <scope>compile</scope>
  44. </dependency>
  45. <!-- 代码生成-->
  46. <dependency>
  47. <groupId>com.deer</groupId>
  48. <artifactId>wms-generator</artifactId>
  49. <version>3.3</version>
  50. <scope>compile</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.deer</groupId>
  54. <artifactId>wms-common</artifactId>
  55. <version>3.3</version>
  56. <scope>compile</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.deer</groupId>
  60. <artifactId>wms-framework</artifactId>
  61. <version>3.3</version>
  62. <scope>compile</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.deer</groupId>
  66. <artifactId>wms-system</artifactId>
  67. <version>3.3</version>
  68. <scope>compile</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.deer</groupId>
  72. <artifactId>wms-base-system</artifactId>
  73. <version>3.3</version>
  74. <scope>compile</scope>
  75. </dependency>
  76. <!-- https://mvnrepository.com/artifact/tk.mybatis/mapper -->
  77. <dependency>
  78. <groupId>tk.mybatis</groupId>
  79. <artifactId>mapper</artifactId>
  80. <version>4.1.5</version>
  81. </dependency>
  82. </dependencies>
  83. <build>
  84. <plugins>
  85. <plugin>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-maven-plugin</artifactId>
  88. <version>2.2.0.RELEASE</version>
  89. <configuration>
  90. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  91. </configuration>
  92. <executions>
  93. <execution>
  94. <goals>
  95. <goal>repackage</goal>
  96. </goals>
  97. </execution>
  98. </executions>
  99. </plugin>
  100. <plugin>
  101. <groupId>org.apache.maven.plugins</groupId>
  102. <artifactId>maven-war-plugin</artifactId>
  103. <version>3.0.0</version>
  104. <configuration>
  105. <failOnMissingWebXml>false</failOnMissingWebXml>
  106. <warName>${artifactId}</warName>
  107. </configuration>
  108. </plugin>
  109. </plugins>
  110. <finalName>${artifactId}</finalName>
  111. </build>
  112. </project>