pom.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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.thyy.business</groupId>
  7. <artifactId>thyy-business</artifactId>
  8. <version>0.0.1</version>
  9. </parent>
  10. <groupId>org.thyy</groupId>
  11. <artifactId>thyy-doctor</artifactId>
  12. <version>0.0.1</version>
  13. <name>thyy-doctor</name>
  14. <description>thyy-doctor</description>
  15. <properties>
  16. <java.version>21</java.version>
  17. <kotlin.version>1.9.25</kotlin.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.fasterxml.jackson.module</groupId>
  26. <artifactId>jackson-module-kotlin</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.jetbrains.kotlin</groupId>
  30. <artifactId>kotlin-reflect</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.jetbrains.kotlin</groupId>
  34. <artifactId>kotlin-stdlib</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.jetbrains.kotlin</groupId>
  38. <artifactId>kotlin-test-junit5</artifactId>
  39. <scope>test</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.thyy.business</groupId>
  43. <artifactId>thyy-utils</artifactId>
  44. </dependency>
  45. </dependencies>
  46. <build>
  47. <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
  48. <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
  49. <plugins>
  50. <plugin>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-maven-plugin</artifactId>
  53. </plugin>
  54. <plugin>
  55. <groupId>org.jetbrains.kotlin</groupId>
  56. <artifactId>kotlin-maven-plugin</artifactId>
  57. <configuration>
  58. <args>
  59. <arg>-Xjsr305=strict</arg>
  60. </args>
  61. <compilerPlugins>
  62. <plugin>spring</plugin>
  63. </compilerPlugins>
  64. </configuration>
  65. <dependencies>
  66. <dependency>
  67. <groupId>org.jetbrains.kotlin</groupId>
  68. <artifactId>kotlin-maven-allopen</artifactId>
  69. <version>${kotlin.version}</version>
  70. </dependency>
  71. </dependencies>
  72. </plugin>
  73. </plugins>
  74. </build>
  75. </project>