pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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>future</artifactId>
  7. <groupId>com.future</groupId>
  8. <version>3.4.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>future-admin</artifactId>
  13. <description>
  14. web服务入口
  15. </description>
  16. <dependencies>
  17. <!-- spring-boot-devtools -->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-devtools</artifactId>
  21. <optional>true</optional> <!-- 表示依赖不会传递 -->
  22. </dependency>
  23. <!-- swagger2-->
  24. <dependency>
  25. <groupId>io.springfox</groupId>
  26. <artifactId>springfox-swagger2</artifactId>
  27. </dependency>
  28. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  29. <dependency>
  30. <groupId>io.swagger</groupId>
  31. <artifactId>swagger-annotations</artifactId>
  32. <version>1.5.21</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>io.swagger</groupId>
  36. <artifactId>swagger-models</artifactId>
  37. <version>1.5.21</version>
  38. </dependency>
  39. <!-- swagger2-UI-->
  40. <dependency>
  41. <groupId>io.springfox</groupId>
  42. <artifactId>springfox-swagger-ui</artifactId>
  43. </dependency>
  44. <!-- Mysql驱动包 -->
  45. <dependency>
  46. <groupId>mysql</groupId>
  47. <artifactId>mysql-connector-java</artifactId>
  48. </dependency>
  49. <!-- 核心模块-->
  50. <dependency>
  51. <groupId>com.future</groupId>
  52. <artifactId>future-framework</artifactId>
  53. </dependency>
  54. <!-- <dependency>-->
  55. <!-- <groupId>com.future</groupId>-->
  56. <!-- <artifactId>future-log-starter</artifactId>-->
  57. <!-- <version>1.0.2</version>-->
  58. <!-- </dependency>-->
  59. <!-- 定时任务-->
  60. <dependency>
  61. <groupId>com.future</groupId>
  62. <artifactId>future-quartz</artifactId>
  63. </dependency>
  64. <!-- 代码生成-->
  65. <dependency>
  66. <groupId>com.future</groupId>
  67. <artifactId>future-generator</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.github.xiaoymin</groupId>
  71. <artifactId>knife4j-spring-boot-starter</artifactId>
  72. <version>2.0.7</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.codehaus.janino</groupId>
  76. <artifactId>janino</artifactId>
  77. <version>2.7.8</version>
  78. </dependency>
  79. <!-- email -->
  80. <dependency>
  81. <groupId>javax.mail</groupId>
  82. <artifactId>mail</artifactId>
  83. <version>1.4.7</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>commons-dbcp</groupId>
  87. <artifactId>commons-dbcp</artifactId>
  88. <version>1.4</version>
  89. </dependency>
  90. </dependencies>
  91. <build>
  92. <plugins>
  93. <plugin>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-maven-plugin</artifactId>
  96. <version>2.1.1.RELEASE</version>
  97. <configuration>
  98. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  99. </configuration>
  100. <executions>
  101. <execution>
  102. <goals>
  103. <goal>repackage</goal>
  104. </goals>
  105. </execution>
  106. </executions>
  107. </plugin>
  108. <plugin>
  109. <groupId>org.apache.maven.plugins</groupId>
  110. <artifactId>maven-war-plugin</artifactId>
  111. <version>3.1.0</version>
  112. <configuration>
  113. <failOnMissingWebXml>false</failOnMissingWebXml>
  114. <warName>${project.artifactId}</warName>
  115. </configuration>
  116. </plugin>
  117. </plugins>
  118. <finalName>${project.artifactId}</finalName>
  119. <resources>
  120. <resource>
  121. <directory>src/main/java</directory>
  122. <includes>
  123. <include>**/*.properties</include>
  124. <include>**/*.xml</include>
  125. </includes>
  126. <filtering>false</filtering>
  127. </resource>
  128. <resource>
  129. <directory>src/main/resources</directory>
  130. </resource>
  131. </resources>
  132. </build>
  133. </project>