pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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-common-utils</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>${project.artifactId}</name>
  10. <description>Common Utils for Spring Boot</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. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-data-jpa</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>javax.validation</groupId>
  29. <artifactId>validation-api</artifactId>
  30. </dependency>
  31. <!-- aop 切面 -->
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-aop</artifactId>
  35. </dependency>
  36. <!-- redis 组件 -->
  37. <dependency>
  38. <groupId>org.springframework.data</groupId>
  39. <artifactId>spring-data-redis</artifactId>
  40. <version>1.8.3.RELEASE</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-data-redis</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.alibaba</groupId>
  48. <artifactId>fastjson</artifactId>
  49. <version>1.2.38</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.slf4j</groupId>
  53. <artifactId>slf4j-api</artifactId>
  54. <version>1.7.25</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.projectlombok</groupId>
  58. <artifactId>lombok</artifactId>
  59. <version>1.16.16</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework</groupId>
  63. <artifactId>spring-webmvc</artifactId>
  64. <version>4.3.12.RELEASE</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>javax.servlet</groupId>
  68. <artifactId>javax.servlet-api</artifactId>
  69. <version>3.1.0</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.security</groupId>
  73. <artifactId>spring-security-web</artifactId>
  74. <version>4.2.2.RELEASE</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.fasterxml.jackson.core</groupId>
  78. <artifactId>jackson-databind</artifactId>
  79. <version>2.8.10</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.commons</groupId>
  83. <artifactId>commons-lang3</artifactId>
  84. <version>3.4</version>
  85. </dependency>
  86. </dependencies>
  87. <build>
  88. <plugins>
  89. <plugin>
  90. <artifactId>maven-source-plugin</artifactId>
  91. <version>2.4</version>
  92. <configuration>
  93. <attach>true</attach>
  94. </configuration>
  95. <executions>
  96. <execution>
  97. <phase>compile</phase>
  98. <goals>
  99. <goal>jar</goal>
  100. </goals>
  101. </execution>
  102. </executions>
  103. </plugin>
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-compiler-plugin</artifactId>
  107. <version>3.3</version>
  108. <configuration>
  109. <source>${java.version}</source>
  110. <target>${java.version}</target>
  111. <encoding>UTF-8</encoding>
  112. <showWarnings>true</showWarnings>
  113. </configuration>
  114. </plugin>
  115. </plugins>
  116. </build>
  117. </project>