pom.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  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.3-SNAPSHOT</version>
  8. <packaging>jar</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>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-cache</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.auth0</groupId>
  53. <artifactId>java-jwt</artifactId>
  54. <version>3.1.0</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.github.kevinsawicki</groupId>
  58. <artifactId>http-request</artifactId>
  59. <version>5.6</version>
  60. </dependency>
  61. <!--dao -->
  62. <dependency>
  63. <groupId>org.mybatis.spring.boot</groupId>
  64. <artifactId>mybatis-spring-boot-starter</artifactId>
  65. <version>1.3.1</version>
  66. </dependency>
  67. <!-- 分页插件 -->
  68. <dependency>
  69. <groupId>com.github.pagehelper</groupId>
  70. <artifactId>pagehelper</artifactId>
  71. <version>4.1.0</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-test</artifactId>
  76. </dependency>
  77. <!--mysql 驱动-->
  78. <dependency>
  79. <groupId>mysql</groupId>
  80. <artifactId>mysql-connector-java</artifactId>
  81. </dependency>
  82. <!-- oracle -->
  83. <dependency>
  84. <groupId>com.oracle</groupId>
  85. <artifactId>ojdbc7</artifactId>
  86. <version>12.2.0.1.0</version>
  87. <scope>system</scope>
  88. <systemPath>${basedir}/additional_jars/ojdbc7.jar</systemPath>
  89. </dependency>
  90. <!-- 引入json处理包 -->
  91. <dependency>
  92. <groupId>com.alibaba</groupId>
  93. <artifactId>fastjson</artifactId>
  94. <version>1.2.6</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>io.springfox</groupId>
  98. <artifactId>springfox-swagger2</artifactId>
  99. <version>2.6.1</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>io.springfox</groupId>
  103. <artifactId>springfox-swagger-ui</artifactId>
  104. <version>2.6.1</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-starter-aop</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.alibaba</groupId>
  112. <artifactId>druid</artifactId>
  113. <version>0.2.26</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-starter-tomcat</artifactId>
  118. <scope>compile</scope>
  119. </dependency>
  120. </dependencies>
  121. <build>
  122. <finalName>BI</finalName>
  123. <!--<resources>-->
  124. <!--<resource>-->
  125. <!--<directory>src/main/java</directory>-->
  126. <!--<includes>-->
  127. <!--<include>**/*.properties</include>-->
  128. <!--<include>**/*.xml</include>-->
  129. <!--</includes>-->
  130. <!--<filtering>false</filtering>-->
  131. <!--</resource>-->
  132. <!--<resource>-->
  133. <!--<directory>src/main/resources</directory>-->
  134. <!--<includes>-->
  135. <!--<include>application.properties</include>-->
  136. <!--&lt;!&ndash;<include>config/dao-config.xml</include>&ndash;&gt;-->
  137. <!--<include>config/mybatis/*.xml</include>-->
  138. <!--</includes>-->
  139. <!--<filtering>false</filtering>-->
  140. <!--</resource>-->
  141. <!--</resources>-->
  142. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  143. <plugins>
  144. <plugin>
  145. <artifactId>maven-clean-plugin</artifactId>
  146. <version>3.0.0</version>
  147. </plugin>
  148. <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
  149. <plugin>
  150. <artifactId>maven-resources-plugin</artifactId>
  151. <version>3.0.2</version>
  152. </plugin>
  153. <plugin>
  154. <artifactId>maven-compiler-plugin</artifactId>
  155. <version>3.7.0</version>
  156. </plugin>
  157. <plugin>
  158. <artifactId>maven-surefire-plugin</artifactId>
  159. <version>2.20.1</version>
  160. </plugin>
  161. <plugin>
  162. <artifactId>maven-war-plugin</artifactId>
  163. <version>3.2.0</version>
  164. </plugin>
  165. <plugin>
  166. <artifactId>maven-install-plugin</artifactId>
  167. <version>2.5.2</version>
  168. </plugin>
  169. <plugin>
  170. <artifactId>maven-deploy-plugin</artifactId>
  171. <version>2.8.2</version>
  172. </plugin>
  173. <!--<plugin>-->
  174. <!--<groupId>org.mybatis.generator</groupId>-->
  175. <!--<artifactId>mybatis-generator-maven-plugin</artifactId>-->
  176. <!--<version>1.3.6</version>-->
  177. <!--<executions>-->
  178. <!--<execution>-->
  179. <!--<id>Generate MyBatis Artifacts</id>-->
  180. <!--<phase>package</phase>-->
  181. <!--<goals>-->
  182. <!--<goal>generate</goal>-->
  183. <!--</goals>-->
  184. <!--</execution>-->
  185. <!--</executions>-->
  186. <!--<configuration>-->
  187. <!--&lt;!&ndash; generator 工具配置文件的位置 &ndash;&gt;-->
  188. <!--<configurationFile>src/main/resources/config/generatorConfig.xml</configurationFile>-->
  189. <!--&lt;!&ndash;允许移动生成的文件 &ndash;&gt;-->
  190. <!--<verbose>true</verbose>-->
  191. <!--&lt;!&ndash; 是否覆盖 &ndash;&gt;-->
  192. <!--<overwrite>true</overwrite>-->
  193. <!--</configuration>-->
  194. <!--</plugin>-->
  195. <plugin>
  196. <groupId>org.springframework.boot</groupId>
  197. <artifactId>spring-boot-maven-plugin</artifactId>
  198. <configuration>
  199. <!--fork : 如果没有该项配置,devtools不会起作用,即应用不会restart加载器 -->
  200. <fork>true</fork>
  201. <includeSystemScope>true</includeSystemScope>
  202. </configuration>
  203. </plugin>
  204. </plugins>
  205. </pluginManagement>
  206. </build>
  207. </project>