pom.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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-api-web</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>${project.artifactId}</name>
  10. <description>Api 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>io.jsonwebtoken</groupId>
  42. <artifactId>jjwt</artifactId>
  43. <version>0.7.0</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-test</artifactId>
  48. <scope>test</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>cn.rankin</groupId>
  52. <artifactId>rankin-common-utils</artifactId>
  53. <version>0.0.1-SNAPSHOT</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>cn.rankin</groupId>
  57. <artifactId>rankin-data-api</artifactId>
  58. <version>0.0.1-SNAPSHOT</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>eu.bitwalker</groupId>
  62. <artifactId>UserAgentUtils</artifactId>
  63. <version>1.21</version>
  64. </dependency>
  65. </dependencies>
  66. <dependencyManagement>
  67. <dependencies>
  68. <dependency>
  69. <groupId>org.springframework.cloud</groupId>
  70. <artifactId>spring-cloud-dependencies</artifactId>
  71. <version>${spring-cloud.version}</version>
  72. <type>pom</type>
  73. <scope>import</scope>
  74. </dependency>
  75. </dependencies>
  76. </dependencyManagement>
  77. <build>
  78. <finalName>${project.name}</finalName>
  79. <plugins>
  80. <plugin>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-maven-plugin</artifactId>
  83. <configuration>
  84. <outputDirectory>../target</outputDirectory>
  85. </configuration>
  86. <executions>
  87. <execution>
  88. <goals>
  89. <goal>repackage</goal>
  90. </goals>
  91. </execution>
  92. </executions>
  93. </plugin>
  94. </plugins>
  95. </build>
  96. </project>