pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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>cleanMachineServer</artifactId>
  8. <version>0.0.1</version>
  9. <packaging>war</packaging>
  10. <name>cleanMachineServer</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. <dependency>
  34. <groupId>io.jsonwebtoken</groupId>
  35. <artifactId>jjwt</artifactId>
  36. <version>0.7.0</version>
  37. </dependency>
  38. <!-- Spring Component End -->
  39. <dependency>
  40. <groupId>org.json</groupId>
  41. <artifactId>json</artifactId>
  42. <version>20140107</version>
  43. </dependency>
  44. <!-- 个推 -->
  45. <dependency>
  46. <groupId>com.gexin.platform</groupId>
  47. <artifactId>gexin-rp-sdk-http</artifactId>
  48. <version>4.0.1.9</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.arronlong</groupId>
  52. <artifactId>httpclientutil</artifactId>
  53. <version>1.0.4</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-web</artifactId>
  62. <exclusions>
  63. <exclusion>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-tomcat</artifactId>
  66. </exclusion>
  67. </exclusions>
  68. </dependency>
  69. <!--修改Tomcat依赖时态,本地开发依然可以调用内嵌tomcat-->
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-tomcat</artifactId>
  73. <!--线上-->
  74. <scope>provided</scope>
  75. <!--<scope>compile</scope>-->
  76. <!--<version>1.5.2.RELEASE</version>-->
  77. </dependency>
  78. <dependency>
  79. <groupId>org.mybatis.spring.boot</groupId>
  80. <artifactId>mybatis-spring-boot-starter</artifactId>
  81. <version>1.3.2</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>mysql</groupId>
  85. <artifactId>mysql-connector-java</artifactId>
  86. <scope>runtime</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-test</artifactId>
  91. <scope>test</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.projectlombok</groupId>
  95. <artifactId>lombok</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>commons-lang</groupId>
  99. <artifactId>commons-lang</artifactId>
  100. <version>2.6</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.commons</groupId>
  104. <artifactId>commons-collections4</artifactId>
  105. <version>${commons-collections4.version}</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.apache.commons</groupId>
  109. <artifactId>commons-lang3</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.alibaba</groupId>
  113. <artifactId>fastjson</artifactId>
  114. <version>1.2.58</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>dom4j</groupId>
  118. <artifactId>dom4j</artifactId>
  119. <version>1.6.1</version>
  120. </dependency>
  121. <!-- swagger2 -->
  122. <dependency>
  123. <groupId>io.springfox</groupId>
  124. <artifactId>springfox-swagger2</artifactId>
  125. <version>2.8.0</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>io.springfox</groupId>
  129. <artifactId>springfox-swagger-ui</artifactId>
  130. <version>2.8.0</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-starter-aop</artifactId>
  135. </dependency>
  136. </dependencies>
  137. <build>
  138. <finalName>cleanMachineServer</finalName>
  139. <plugins>
  140. <!-- Package the project as an executable jar -->
  141. <plugin>
  142. <groupId>org.springframework.boot</groupId>
  143. <artifactId>spring-boot-maven-plugin</artifactId>
  144. <!-- Set the character encoding for the JVM -->
  145. <configuration>
  146. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  147. </configuration>
  148. </plugin>
  149. </plugins>
  150. </build>
  151. </project>