pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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.diagbot</groupId>
  7. <artifactId>common</artifactId>
  8. <version>0.0.1.1-SNAPSHOT</version>
  9. <packaging>jar</packaging>
  10. <name>common</name>
  11. <description>Common for Spring Boot</description>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <encoding>UTF-8</encoding>
  15. <java.version>1.8</java.version>
  16. <maven.compiler.source>1.8</maven.compiler.source>
  17. <maven.compiler.target>1.8</maven.compiler.target>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.apache.commons</groupId>
  22. <artifactId>commons-lang3</artifactId>
  23. <version>3.9</version>
  24. <!--<scope>provided</scope>-->
  25. </dependency>
  26. <dependency>
  27. <groupId>org.projectlombok</groupId>
  28. <artifactId>lombok</artifactId>
  29. <version>1.18.10</version>
  30. <scope>provided</scope>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework</groupId>
  34. <artifactId>spring-webmvc</artifactId>
  35. <version>5.2.1.RELEASE</version>
  36. <scope>provided</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>javax.servlet</groupId>
  40. <artifactId>javax.servlet-api</artifactId>
  41. <version>4.0.1</version>
  42. <scope>provided</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.security</groupId>
  46. <artifactId>spring-security-core</artifactId>
  47. <version>5.2.1.RELEASE</version>
  48. <scope>provided</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.security.oauth</groupId>
  52. <artifactId>spring-security-oauth2</artifactId>
  53. <version>2.4.0.RELEASE</version>
  54. <scope>provided</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.slf4j</groupId>
  58. <artifactId>slf4j-api</artifactId>
  59. <version>1.7.29</version>
  60. <scope>provided</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.google.code.gson</groupId>
  64. <artifactId>gson</artifactId>
  65. <version>2.8.6</version>
  66. <scope>compile</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.alibaba</groupId>
  70. <artifactId>fastjson</artifactId>
  71. <version>1.2.83</version>
  72. <scope>compile</scope>
  73. </dependency>
  74. <!--POI-->
  75. <dependency>
  76. <groupId>org.apache.poi</groupId>
  77. <artifactId>poi</artifactId>
  78. <version>4.1.1</version>
  79. <scope>provided</scope>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.poi</groupId>
  83. <artifactId>poi-ooxml</artifactId>
  84. <version>4.1.1</version>
  85. <scope>provided</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.auth0</groupId>
  89. <artifactId>java-jwt</artifactId>
  90. <version>3.4.1</version>
  91. <scope>compile</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.github.promeg</groupId>
  95. <artifactId>tinypinyin</artifactId>
  96. <version>2.0.3</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.aspectj</groupId>
  100. <artifactId>aspectjweaver</artifactId>
  101. <version>1.9.5</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-autoconfigure</artifactId>
  106. <version>2.1.7.RELEASE</version>
  107. <scope>provided</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>io.github.openfeign</groupId>
  111. <artifactId>feign-core</artifactId>
  112. <version>10.4.0</version>
  113. <scope>provided</scope>
  114. </dependency>
  115. </dependencies>
  116. <build>
  117. <plugins>
  118. <plugin>
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-maven-plugin</artifactId>
  121. <version>2.1.1.RELEASE</version>
  122. </plugin>
  123. <!-- 不同打包方式, 弃用docker -->
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-compiler-plugin</artifactId>
  127. <version>3.1</version>
  128. <configuration>
  129. <source>${java.version}</source>
  130. <target>${java.version}</target>
  131. <encoding>${project.build.sourceEncoding}</encoding>
  132. </configuration>
  133. </plugin>
  134. </plugins>
  135. </build>
  136. </project>