pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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>suishenbang-oneportal</artifactId>
  7. <groupId>com.dgtly</groupId>
  8. <version>4.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>suishenbang-admin</artifactId>
  13. <name>suishenbang-admin</name>
  14. <description>
  15. web服务入口
  16. </description>
  17. <dependencies>
  18. <!-- SpringBoot集成thymeleaf模板 -->
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  22. </dependency>
  23. <!-- spring-boot-devtools -->
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-devtools</artifactId>
  27. <optional>true</optional> <!-- 表示依赖不会传递 -->
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-test</artifactId>
  32. </dependency>
  33. <!-- swagger2-->
  34. <dependency>
  35. <groupId>io.springfox</groupId>
  36. <artifactId>springfox-swagger2</artifactId>
  37. </dependency>
  38. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  39. <dependency>
  40. <groupId>io.swagger</groupId>
  41. <artifactId>swagger-annotations</artifactId>
  42. <version>1.5.21</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>io.swagger</groupId>
  46. <artifactId>swagger-models</artifactId>
  47. <version>1.5.21</version>
  48. </dependency>
  49. <!-- swagger2-UI-->
  50. <dependency>
  51. <groupId>io.springfox</groupId>
  52. <artifactId>springfox-swagger-ui</artifactId>
  53. </dependency>
  54. <!-- 核心模块-->
  55. <dependency>
  56. <groupId>com.dgtly</groupId>
  57. <artifactId>suishenbang-framework</artifactId>
  58. </dependency>
  59. <!-- 定时任务-->
  60. <dependency>
  61. <groupId>com.dgtly</groupId>
  62. <artifactId>suishenbang-quartz</artifactId>
  63. </dependency>
  64. <!-- 代码生成-->
  65. <dependency>
  66. <groupId>com.dgtly</groupId>
  67. <artifactId>suishenbang-generator</artifactId>
  68. </dependency>
  69. <!-- H5磁贴管理-->
  70. <dependency>
  71. <groupId>com.dgtly</groupId>
  72. <artifactId>suishenbang-wxportal-manager</artifactId>
  73. <version>4.0.0</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.dgtly</groupId>
  77. <artifactId>suishenbang-order</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.dgtly</groupId>
  81. <artifactId>suishenbang-sync-manager</artifactId>
  82. <version>4.0.0</version>
  83. </dependency>
  84. </dependencies>
  85. <build>
  86. <plugins>
  87. <plugin>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-maven-plugin</artifactId>
  90. <configuration>
  91. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  92. </configuration>
  93. <executions>
  94. <execution>
  95. <goals>
  96. <goal>repackage</goal>
  97. </goals>
  98. </execution>
  99. </executions>
  100. </plugin>
  101. <plugin>
  102. <groupId>org.apache.maven.plugins</groupId>
  103. <artifactId>maven-war-plugin</artifactId>
  104. <version>3.0.0</version>
  105. <configuration>
  106. <failOnMissingWebXml>false</failOnMissingWebXml>
  107. <warName>${artifactId}</warName>
  108. </configuration>
  109. </plugin>
  110. </plugins>
  111. <finalName>${artifactId}</finalName>
  112. </build>
  113. </project>