pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.5.6</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.yaoxiang</groupId>
  12. <artifactId>planning</artifactId>
  13. <version>1.0</version>
  14. <name>planning</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <kotlin.version>1.6.10</kotlin.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-actuator</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-data-jpa</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-data-redis</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-security</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-web</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.fasterxml.jackson.module</groupId>
  47. <artifactId>jackson-module-kotlin</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.jetbrains.kotlin</groupId>
  51. <artifactId>kotlin-reflect</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.jetbrains.kotlin</groupId>
  55. <artifactId>kotlin-stdlib-jdk8</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.session</groupId>
  59. <artifactId>spring-session-data-redis</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>io.github.microutils</groupId>
  63. <artifactId>kotlin-logging</artifactId>
  64. <version>1.7.6</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-websocket</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>mysql</groupId>
  72. <artifactId>mysql-connector-java</artifactId>
  73. <scope>runtime</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.apache.commons</groupId>
  77. <artifactId>commons-pool2</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.alibaba</groupId>
  81. <artifactId>druid</artifactId>
  82. <version>1.2.5</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>commons-codec</groupId>
  86. <artifactId>commons-codec</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.github.xiaoymin</groupId>
  90. <artifactId>swagger-bootstrap-ui</artifactId>
  91. <version>1.9.4</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>io.springfox</groupId>
  95. <artifactId>springfox-swagger2</artifactId>
  96. <version>2.9.2</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>io.swagger</groupId>
  100. <artifactId>swagger-models</artifactId>
  101. <version>1.5.22</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-starter-test</artifactId>
  106. <scope>test</scope>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.springframework.security</groupId>
  110. <artifactId>spring-security-test</artifactId>
  111. <scope>test</scope>
  112. </dependency>
  113. </dependencies>
  114. <build>
  115. <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
  116. <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
  117. <plugins>
  118. <plugin>
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-maven-plugin</artifactId>
  121. <version>2.3.1.RELEASE</version>
  122. </plugin>
  123. <plugin>
  124. <groupId>org.apache.maven.plugins</groupId>
  125. <artifactId>maven-resources-plugin</artifactId>
  126. <version>2.4.3</version>
  127. </plugin>
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-compiler-plugin</artifactId>
  131. <version>3.6.1</version>
  132. <configuration>
  133. <source>${java.version}</source>
  134. <target>${java.version}</target>
  135. </configuration>
  136. </plugin>
  137. <plugin>
  138. <groupId>org.jetbrains.kotlin</groupId>
  139. <artifactId>kotlin-maven-plugin</artifactId>
  140. <configuration>
  141. <args>
  142. <arg>-Xjsr305=strict</arg>
  143. </args>
  144. <compilerPlugins>
  145. <plugin>spring</plugin>
  146. <plugin>jpa</plugin>
  147. </compilerPlugins>
  148. </configuration>
  149. <dependencies>
  150. <dependency>
  151. <groupId>org.jetbrains.kotlin</groupId>
  152. <artifactId>kotlin-maven-allopen</artifactId>
  153. <version>${kotlin.version}</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.jetbrains.kotlin</groupId>
  157. <artifactId>kotlin-maven-noarg</artifactId>
  158. <version>${kotlin.version}</version>
  159. </dependency>
  160. </dependencies>
  161. </plugin>
  162. </plugins>
  163. </build>
  164. </project>