pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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>cn.rankin</groupId>
  6. <artifactId>rankin-cms-web</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>rankin-cms-web</name>
  10. <description>Cms Web For Spring Cloud</description>
  11. <parent>
  12. <groupId>cn.rankin</groupId>
  13. <artifactId>rankin</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <relativePath>../pom.xml</relativePath>
  16. </parent>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. <spring-cloud.version>Dalston.SR4</spring-cloud.version>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.springframework.cloud</groupId>
  26. <artifactId>spring-cloud-starter-config</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.cloud</groupId>
  30. <artifactId>spring-cloud-starter-eureka</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.cloud</groupId>
  34. <artifactId>spring-cloud-starter-feign</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-web</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-security</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-data-redis</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.session</groupId>
  50. <artifactId>spring-session-data-redis</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.projectlombok</groupId>
  54. <artifactId>lombok</artifactId>
  55. <version>1.16.16</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>io.jsonwebtoken</groupId>
  59. <artifactId>jjwt</artifactId>
  60. <version>0.7.0</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>cn.rankin</groupId>
  64. <artifactId>rankin-common-utils</artifactId>
  65. <version>0.0.1-SNAPSHOT</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>cn.rankin</groupId>
  69. <artifactId>rankin-data-api</artifactId>
  70. <version>0.0.1-SNAPSHOT</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-test</artifactId>
  75. <scope>test</scope>
  76. </dependency>
  77. <!--httpClient-->
  78. <dependency>
  79. <groupId>org.apache.httpcomponents</groupId>
  80. <artifactId>httpclient</artifactId>
  81. <version>4.5.3</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.netflix.feign</groupId>
  85. <artifactId>feign-httpclient</artifactId>
  86. <version>RELEASE</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.apache.poi</groupId>
  90. <artifactId>poi</artifactId>
  91. <version>3.17</version>
  92. </dependency>
  93. </dependencies>
  94. <dependencyManagement>
  95. <dependencies>
  96. <dependency>
  97. <groupId>org.springframework.cloud</groupId>
  98. <artifactId>spring-cloud-dependencies</artifactId>
  99. <version>${spring-cloud.version}</version>
  100. <type>pom</type>
  101. <scope>import</scope>
  102. </dependency>
  103. </dependencies>
  104. </dependencyManagement>
  105. <build>
  106. <finalName>${project.name}</finalName>
  107. <plugins>
  108. <plugin>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-maven-plugin</artifactId>
  111. <configuration>
  112. <outputDirectory>../target</outputDirectory>
  113. </configuration>
  114. <executions>
  115. <execution>
  116. <goals>
  117. <goal>repackage</goal>
  118. </goals>
  119. </execution>
  120. </executions>
  121. </plugin>
  122. </plugins>
  123. </build>
  124. </project>