pom.xml 7.0 KB

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