You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

114 line
3.5KB

  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.6.5</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.example</groupId>
  12. <artifactId>demo</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>demo</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>11</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-amqp</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-hateoas</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-oauth2-resource-server</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-thymeleaf</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-web</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.fasterxml.jackson.module</groupId>
  51. <artifactId>jackson-module-kotlin</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.jetbrains.kotlin</groupId>
  55. <artifactId>kotlin-reflect</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.jetbrains.kotlin</groupId>
  59. <artifactId>kotlin-stdlib-jdk8</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.thymeleaf.extras</groupId>
  63. <artifactId>thymeleaf-extras-springsecurity5</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-test</artifactId>
  68. <scope>test</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.amqp</groupId>
  72. <artifactId>spring-rabbit-test</artifactId>
  73. <scope>test</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework.security</groupId>
  77. <artifactId>spring-security-test</artifactId>
  78. <scope>test</scope>
  79. </dependency>
  80. </dependencies>
  81. <build>
  82. <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
  83. <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
  84. <plugins>
  85. <plugin>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-maven-plugin</artifactId>
  88. </plugin>
  89. <plugin>
  90. <groupId>org.jetbrains.kotlin</groupId>
  91. <artifactId>kotlin-maven-plugin</artifactId>
  92. <configuration>
  93. <args>
  94. <arg>-Xjsr305=strict</arg>
  95. </args>
  96. <compilerPlugins>
  97. <plugin>spring</plugin>
  98. </compilerPlugins>
  99. </configuration>
  100. <dependencies>
  101. <dependency>
  102. <groupId>org.jetbrains.kotlin</groupId>
  103. <artifactId>kotlin-maven-allopen</artifactId>
  104. <version>${kotlin.version}</version>
  105. </dependency>
  106. </dependencies>
  107. </plugin>
  108. </plugins>
  109. </build>
  110. </project>