pom.xml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>1.3.3.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.ywt</groupId>
  12. <artifactId>download_service</artifactId>
  13. <version>1.0-SNAPSHOT</version>
  14. <name>download_service</name>
  15. <description>download_service project based on Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <!-- maven 私服 start -->
  20. <repositories>
  21. <repository>
  22. <id>nexus</id>
  23. <name>Team Nexus Repository</name>
  24. <url>http://nexus.ywtinfo.com/repository/maven-public/</url>
  25. </repository>
  26. </repositories>
  27. <pluginRepositories>
  28. <pluginRepository>
  29. <id>nexus</id>
  30. <name>Team Nexus Repository</name>
  31. <url>http://nexus.ywtinfo.com/repository/maven-public/</url>
  32. </pluginRepository>
  33. </pluginRepositories>
  34. <!-- end maven 私服 -->
  35. <dependencies>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-data-jpa</artifactId>
  39. <exclusions>
  40. <exclusion>
  41. <groupId>org.slf4j</groupId>
  42. <artifactId>jcl-over-slf4j</artifactId>
  43. </exclusion>
  44. <exclusion>
  45. <groupId>org.slf4j</groupId>
  46. <artifactId>jul-to-slf4j</artifactId>
  47. </exclusion>
  48. <exclusion>
  49. <artifactId>log4j-over-slf4j</artifactId>
  50. <groupId>org.slf4j</groupId>
  51. </exclusion>
  52. </exclusions>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-web</artifactId>
  57. <exclusions>
  58. <exclusion>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-tomcat</artifactId>
  61. </exclusion>
  62. </exclusions>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-jetty</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-redis</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework</groupId>
  74. <artifactId>spring-jdbc</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.httpcomponents</groupId>
  78. <artifactId>httpclient</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.google.guava</groupId>
  82. <artifactId>guava</artifactId>
  83. <version>20.0</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>mysql</groupId>
  87. <artifactId>mysql-connector-java</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>io.grpc</groupId>
  91. <artifactId>grpc-netty</artifactId>
  92. <version>1.7.0</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>io.grpc</groupId>
  96. <artifactId>grpc-protobuf</artifactId>
  97. <version>1.7.0</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>io.grpc</groupId>
  101. <artifactId>grpc-stub</artifactId>
  102. <version>1.7.0</version>
  103. </dependency>
  104. <!-- add by daiyihua url:https://mvnrepository.com/artifact/com.belerweb/pinyin4j -->
  105. <dependency>
  106. <groupId>com.belerweb</groupId>
  107. <artifactId>pinyin4j</artifactId>
  108. <version>2.5.1</version>
  109. </dependency>
  110. <!-- excel 引用包 -->
  111. <dependency>
  112. <groupId>net.sourceforge.jexcelapi</groupId>
  113. <artifactId>jxl</artifactId>
  114. <version>2.6.12</version>
  115. <exclusions>
  116. <exclusion>
  117. <artifactId>log4j</artifactId>
  118. <groupId>log4j</groupId>
  119. </exclusion>
  120. </exclusions>
  121. </dependency>
  122. <dependency>
  123. <groupId>ywt</groupId>
  124. <artifactId>ywt-rpc-core</artifactId>
  125. <version>1.0-SNAPSHOT</version>
  126. </dependency>
  127. <!-- 引入swagger包 -->
  128. <dependency>
  129. <groupId>io.springfox</groupId>
  130. <artifactId>springfox-swagger2</artifactId>
  131. <version>2.2.2</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>io.springfox</groupId>
  135. <artifactId>springfox-swagger-ui</artifactId>
  136. <version>2.2.2</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>com.fasterxml.jackson.module</groupId>
  140. <artifactId>jackson-module-jaxb-annotations</artifactId>
  141. <version>2.5.4</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>com.fasterxml.jackson.dataformat</groupId>
  145. <artifactId>jackson-dataformat-xml</artifactId>
  146. <version>2.5.4</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.fasterxml.jackson.jaxrs</groupId>
  150. <artifactId>jackson-jaxrs-json-provider</artifactId>
  151. <version>2.5.4</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>com.fasterxml.jackson.dataformat</groupId>
  155. <artifactId>jackson-dataformat-yaml</artifactId>
  156. <version>2.5.4</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>com.fasterxml.jackson.core</groupId>
  160. <artifactId>jackson-annotations</artifactId>
  161. <version>2.5.4</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>com.fasterxml.jackson.core</groupId>
  165. <artifactId>jackson-databind</artifactId>
  166. <version>2.5.4</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>com.fasterxml.jackson.core</groupId>
  170. <artifactId>jackson-core</artifactId>
  171. <version>2.5.4</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>com.fasterxml.jackson.datatype</groupId>
  175. <artifactId>jackson-datatype-joda</artifactId>
  176. <version>2.5.4</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>com.fasterxml.jackson.jaxrs</groupId>
  180. <artifactId>jackson-jaxrs-base</artifactId>
  181. <version>2.5.4</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>junit</groupId>
  185. <artifactId>junit</artifactId>
  186. <version>4.12</version>
  187. <scope>test</scope>
  188. </dependency>
  189. <dependency>
  190. <groupId>com.github.shyiko</groupId>
  191. <artifactId>mysql-binlog-connector-java</artifactId>
  192. <version>0.13.0</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.aliyun.oss</groupId>
  196. <artifactId>aliyun-sdk-oss</artifactId>
  197. <version>3.10.2</version>
  198. </dependency>
  199. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  200. <dependency>
  201. <groupId>commons-io</groupId>
  202. <artifactId>commons-io</artifactId>
  203. <version>2.4</version>
  204. </dependency>
  205. <!-- https://mvnrepository.com/artifact/com.itextpdf/itextpdf -->
  206. <dependency>
  207. <groupId>com.itextpdf</groupId>
  208. <artifactId>itextpdf</artifactId>
  209. <version>5.5.13.3</version>
  210. </dependency>
  211. </dependencies>
  212. <profiles>
  213. <profile>
  214. <id>dev</id>
  215. <activation>
  216. <activeByDefault>true</activeByDefault>
  217. </activation>
  218. <properties>
  219. <active.profile>dev</active.profile>
  220. </properties>
  221. </profile>
  222. <profile>
  223. <id>test</id>
  224. <properties>
  225. <active.profile>test</active.profile>
  226. </properties>
  227. </profile>
  228. <profile>
  229. <id>product</id>
  230. <properties>
  231. <active.profile>product</active.profile>
  232. </properties>
  233. </profile>
  234. <profile>
  235. <id>preproduct</id>
  236. <properties>
  237. <active.profile>preproduct</active.profile>
  238. </properties>
  239. </profile>
  240. </profiles>
  241. <build>
  242. <filters>
  243. <filter>config_fillters/filters-${active.profile}.properties</filter>
  244. </filters>
  245. <resources>
  246. <resource>
  247. <directory>src/main/resources</directory>
  248. <filtering>true</filtering>
  249. </resource>
  250. </resources>
  251. <plugins>
  252. <plugin>
  253. <groupId>org.apache.maven.plugins</groupId>
  254. <artifactId>maven-compiler-plugin</artifactId>
  255. <version>3.2</version>
  256. <configuration>
  257. <source>1.8</source>
  258. <target>1.8</target>
  259. <encoding>utf-8</encoding>
  260. </configuration>
  261. </plugin>
  262. <plugin>
  263. <groupId>org.springframework.boot</groupId>
  264. <artifactId>spring-boot-maven-plugin</artifactId>
  265. </plugin>
  266. </plugins>
  267. </build>
  268. </project>