pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.shawn</groupId>
  7. <artifactId>ShenzeeServer</artifactId>
  8. <version>0.0.1</version>
  9. <packaging>war</packaging>
  10. <name>ShenzeeServer</name>
  11. <description>spring discover server</description>
  12. <parent>
  13. <groupId>org.springframework.boot</groupId>
  14. <artifactId>spring-boot-starter-parent</artifactId>
  15. <version>2.0.2.RELEASE</version>
  16. <relativePath/> <!-- lookup parent from repository -->
  17. </parent>
  18. <repositories>
  19. <!-- 个推 -->
  20. <repository>
  21. <id>getui-nexus</id>
  22. <url>http://mvn.gt.igexin.com/nexus/content/repositories/releases/</url>
  23. </repository>
  24. </repositories>
  25. <properties>
  26. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  27. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  28. <java.version>1.8</java.version>
  29. <commons-collections4.version>4.1</commons-collections4.version>
  30. <spring-cloud.version>Finchley.RC2</spring-cloud.version>
  31. </properties>
  32. <dependencies>
  33. <!-- paytm支付 -->
  34. <!-- <dependency>-->
  35. <!-- <groupId>myjar</groupId>-->
  36. <!-- <artifactId>PaytmChecksum</artifactId>-->
  37. <!-- <version>1.1</version>-->
  38. <!-- </dependency>-->
  39. <!-- Spring Component End -->
  40. <!--java-jwt包-->
  41. <dependency>
  42. <groupId>io.jsonwebtoken</groupId>
  43. <artifactId>jjwt</artifactId>
  44. <version>0.7.0</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.json</groupId>
  48. <artifactId>json</artifactId>
  49. <version>20140107</version>
  50. </dependency>
  51. <!-- 个推 -->
  52. <dependency>
  53. <groupId>com.gexin.platform</groupId>
  54. <artifactId>gexin-rp-sdk-http</artifactId>
  55. <version>4.0.1.9</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.arronlong</groupId>
  59. <artifactId>httpclientutil</artifactId>
  60. <version>1.0.4</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-web</artifactId>
  69. <exclusions>
  70. <exclusion>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-tomcat</artifactId>
  73. </exclusion>
  74. </exclusions>
  75. </dependency>
  76. <!--修改Tomcat依赖时态,本地开发依然可以调用内嵌tomcat-->
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-tomcat</artifactId>
  80. <!--线上版本要放开注释-->
  81. <!--<scope>provided</scope>-->
  82. </dependency>
  83. <dependency>
  84. <groupId>org.mybatis.spring.boot</groupId>
  85. <artifactId>mybatis-spring-boot-starter</artifactId>
  86. <version>1.3.2</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>mysql</groupId>
  90. <artifactId>mysql-connector-java</artifactId>
  91. <scope>runtime</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-starter-test</artifactId>
  96. <scope>test</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.projectlombok</groupId>
  100. <artifactId>lombok</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>commons-lang</groupId>
  104. <artifactId>commons-lang</artifactId>
  105. <version>2.6</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.apache.commons</groupId>
  109. <artifactId>commons-collections4</artifactId>
  110. <version>${commons-collections4.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.apache.commons</groupId>
  114. <artifactId>commons-lang3</artifactId>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.alibaba</groupId>
  118. <artifactId>fastjson</artifactId>
  119. <version>1.2.58</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>dom4j</groupId>
  123. <artifactId>dom4j</artifactId>
  124. <version>1.6.1</version>
  125. </dependency>
  126. <!-- swagger2 -->
  127. <dependency>
  128. <groupId>io.springfox</groupId>
  129. <artifactId>springfox-swagger2</artifactId>
  130. <version>2.8.0</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>io.springfox</groupId>
  134. <artifactId>springfox-swagger-ui</artifactId>
  135. <version>2.8.0</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>net.sf.ezmorph</groupId>
  139. <artifactId>ezmorph</artifactId>
  140. <version>1.0.6</version>
  141. </dependency>
  142. </dependencies>
  143. <build>
  144. <finalName>ShenzeeServer</finalName>
  145. <plugins>
  146. <!-- Package the project as an executable jar -->
  147. <plugin>
  148. <groupId>org.springframework.boot</groupId>
  149. <artifactId>spring-boot-maven-plugin</artifactId>
  150. <!-- Set the character encoding for the JVM -->
  151. <configuration>
  152. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  153. </configuration>
  154. </plugin>
  155. </plugins>
  156. </build>
  157. </project>