pom.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>BI</groupId>
  6. <artifactId>BI</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <packaging>war</packaging>
  9. <name>BI Maven Webapp</name>
  10. <!-- FIXME change it to the project's website -->
  11. <url>http://www.example.com</url>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <maven.compiler.source>1.8</maven.compiler.source>
  15. </properties>
  16. <repositories><!-- 代码库 -->
  17. <repository>
  18. <id>maven-ali</id>
  19. <url>http://maven.aliyun.com/nexus/content/groups/public//</url>
  20. <releases>
  21. <enabled>true</enabled>
  22. </releases>
  23. <snapshots>
  24. <enabled>true</enabled>
  25. <updatePolicy>always</updatePolicy>
  26. <checksumPolicy>fail</checksumPolicy>
  27. </snapshots>
  28. </repository>
  29. </repositories>
  30. <!-- Spring boot 父引用-->
  31. <parent>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-parent</artifactId>
  34. <version>2.0.2.RELEASE</version>
  35. </parent>
  36. <dependencies>
  37. <dependency>
  38. <groupId>junit</groupId>
  39. <artifactId>junit</artifactId>
  40. <scope>test</scope>
  41. </dependency>
  42. <!-- Spring boot 核心web-->
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-web</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.auth0</groupId>
  49. <artifactId>java-jwt</artifactId>
  50. <version>3.1.0</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.github.kevinsawicki</groupId>
  54. <artifactId>http-request</artifactId>
  55. <version>5.6</version>
  56. </dependency>
  57. <!--dao -->
  58. <dependency>
  59. <groupId>org.mybatis.spring.boot</groupId>
  60. <artifactId>mybatis-spring-boot-starter</artifactId>
  61. <version>1.3.1</version>
  62. </dependency>
  63. <!-- 分页插件 -->
  64. <dependency>
  65. <groupId>com.github.pagehelper</groupId>
  66. <artifactId>pagehelper</artifactId>
  67. <version>4.1.0</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-test</artifactId>
  72. </dependency>
  73. <!--mysql 驱动-->
  74. <dependency>
  75. <groupId>mysql</groupId>
  76. <artifactId>mysql-connector-java</artifactId>
  77. </dependency>
  78. <!-- oracle -->
  79. <dependency>
  80. <groupId>com.oracle</groupId>
  81. <artifactId>ojdbc7</artifactId>
  82. <version>12.2.0.1.0</version>
  83. </dependency>
  84. <!-- 引入json处理包 -->
  85. <dependency>
  86. <groupId>com.alibaba</groupId>
  87. <artifactId>fastjson</artifactId>
  88. <version>1.2.6</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>io.springfox</groupId>
  92. <artifactId>springfox-swagger2</artifactId>
  93. <version>2.7.0</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>io.springfox</groupId>
  97. <artifactId>springfox-swagger-ui</artifactId>
  98. <version>2.7.0</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-starter-aop</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.alibaba</groupId>
  106. <artifactId>druid</artifactId>
  107. <version>0.2.26</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-starter-tomcat</artifactId>
  112. <scope>provided</scope>
  113. </dependency>
  114. </dependencies>
  115. <build>
  116. <finalName>BI</finalName>
  117. <!--<resources>-->
  118. <!--<resource>-->
  119. <!--<directory>src/main/java</directory>-->
  120. <!--<includes>-->
  121. <!--<include>**/*.properties</include>-->
  122. <!--<include>**/*.xml</include>-->
  123. <!--</includes>-->
  124. <!--<filtering>false</filtering>-->
  125. <!--</resource>-->
  126. <!--<resource>-->
  127. <!--<directory>src/main/resources</directory>-->
  128. <!--<includes>-->
  129. <!--<include>application.properties</include>-->
  130. <!--&lt;!&ndash;<include>config/dao-config.xml</include>&ndash;&gt;-->
  131. <!--<include>config/mybatis/*.xml</include>-->
  132. <!--</includes>-->
  133. <!--<filtering>false</filtering>-->
  134. <!--</resource>-->
  135. <!--</resources>-->
  136. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  137. <plugins>
  138. <plugin>
  139. <artifactId>maven-clean-plugin</artifactId>
  140. <version>3.0.0</version>
  141. </plugin>
  142. <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
  143. <plugin>
  144. <artifactId>maven-resources-plugin</artifactId>
  145. <version>3.0.2</version>
  146. </plugin>
  147. <plugin>
  148. <artifactId>maven-compiler-plugin</artifactId>
  149. <version>3.7.0</version>
  150. </plugin>
  151. <plugin>
  152. <artifactId>maven-surefire-plugin</artifactId>
  153. <version>2.20.1</version>
  154. </plugin>
  155. <plugin>
  156. <artifactId>maven-war-plugin</artifactId>
  157. <version>3.2.0</version>
  158. </plugin>
  159. <plugin>
  160. <artifactId>maven-install-plugin</artifactId>
  161. <version>2.5.2</version>
  162. </plugin>
  163. <plugin>
  164. <artifactId>maven-deploy-plugin</artifactId>
  165. <version>2.8.2</version>
  166. </plugin>
  167. <!--<plugin>-->
  168. <!--<groupId>org.mybatis.generator</groupId>-->
  169. <!--<artifactId>mybatis-generator-maven-plugin</artifactId>-->
  170. <!--<version>1.3.6</version>-->
  171. <!--<executions>-->
  172. <!--<execution>-->
  173. <!--<id>Generate MyBatis Artifacts</id>-->
  174. <!--<phase>package</phase>-->
  175. <!--<goals>-->
  176. <!--<goal>generate</goal>-->
  177. <!--</goals>-->
  178. <!--</execution>-->
  179. <!--</executions>-->
  180. <!--<configuration>-->
  181. <!--&lt;!&ndash; generator 工具配置文件的位置 &ndash;&gt;-->
  182. <!--<configurationFile>src/main/resources/config/generatorConfig.xml</configurationFile>-->
  183. <!--&lt;!&ndash;允许移动生成的文件 &ndash;&gt;-->
  184. <!--<verbose>true</verbose>-->
  185. <!--&lt;!&ndash; 是否覆盖 &ndash;&gt;-->
  186. <!--<overwrite>true</overwrite>-->
  187. <!--</configuration>-->
  188. <!--</plugin>-->
  189. <plugin>
  190. <groupId>org.springframework.boot</groupId>
  191. <artifactId>spring-boot-maven-plugin</artifactId>
  192. <configuration>
  193. <!--fork : 如果没有该项配置,devtools不会起作用,即应用不会restart加载器 -->
  194. <fork>true</fork>
  195. </configuration>
  196. </plugin>
  197. </plugins>
  198. </pluginManagement>
  199. </build>
  200. </project>