pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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>3.1.5</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.swagger</groupId>
  12. <artifactId>rest</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>rest</name>
  15. <description>REST API</description>
  16. <properties>
  17. <java.version>17</java.version>
  18. <kotlin.version>1.8.22</kotlin.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-data-jpa</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.fasterxml.jackson.module</groupId>
  31. <artifactId>jackson-module-kotlin</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.jetbrains.kotlin</groupId>
  35. <artifactId>kotlin-reflect</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.jetbrains.kotlin</groupId>
  39. <artifactId>kotlin-stdlib</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.mysql</groupId>
  43. <artifactId>mysql-connector-j</artifactId>
  44. <scope>runtime</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.projectlombok</groupId>
  48. <artifactId>lombok</artifactId>
  49. <optional>true</optional>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-test</artifactId>
  54. <scope>test</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>jakarta.validation</groupId>
  58. <artifactId>jakarta.validation-api</artifactId>
  59. <version>3.0.2</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.security</groupId>
  63. <artifactId>spring-security-config</artifactId>
  64. <version>6.1.5</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.security</groupId>
  68. <artifactId>spring-security-web</artifactId>
  69. <version>6.1.5</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>net.sf.supercsv</groupId>
  73. <artifactId>super-csv</artifactId>
  74. <version>2.4.0</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.commons</groupId>
  78. <artifactId>commons-csv</artifactId>
  79. <version>1.1</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.opencsv</groupId>
  83. <artifactId>opencsv</artifactId>
  84. <version>5.7.1</version>
  85. </dependency>
  86. </dependencies>
  87. <build>
  88. <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
  89. <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
  90. <plugins>
  91. <plugin>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-maven-plugin</artifactId>
  94. <configuration>
  95. <excludes>
  96. <exclude>
  97. <groupId>org.projectlombok</groupId>
  98. <artifactId>lombok</artifactId>
  99. </exclude>
  100. </excludes>
  101. </configuration>
  102. </plugin>
  103. <plugin>
  104. <groupId>org.jetbrains.kotlin</groupId>
  105. <artifactId>kotlin-maven-plugin</artifactId>
  106. <configuration>
  107. <args>
  108. <arg>-Xjsr305=strict</arg>
  109. </args>
  110. <compilerPlugins>
  111. <plugin>spring</plugin>
  112. <plugin>jpa</plugin>
  113. </compilerPlugins>
  114. </configuration>
  115. <dependencies>
  116. <dependency>
  117. <groupId>org.jetbrains.kotlin</groupId>
  118. <artifactId>kotlin-maven-allopen</artifactId>
  119. <version>${kotlin.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.jetbrains.kotlin</groupId>
  123. <artifactId>kotlin-maven-noarg</artifactId>
  124. <version>${kotlin.version}</version>
  125. </dependency>
  126. </dependencies>
  127. </plugin>
  128. </plugins>
  129. </build>
  130. </project>