pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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.yujin</groupId>
  7. <artifactId>yujin-humbnailator</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <properties>
  10. <maven.compiler.source>17</maven.compiler.source>
  11. <maven.compiler.target>17</maven.compiler.target>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <kotlin.version>1.9.23</kotlin.version>
  14. </properties>
  15. <parent>
  16. <groupId>org.noear</groupId>
  17. <artifactId>solon-parent</artifactId>
  18. <version>3.2.0</version>
  19. </parent>
  20. <dependencies>
  21. <!-- Solon Boot Web -->
  22. <dependency>
  23. <groupId>org.noear</groupId>
  24. <artifactId>solon-web</artifactId>
  25. </dependency>
  26. <!-- Solon Boot Jackson -->
  27. <dependency>
  28. <groupId>org.noear</groupId>
  29. <artifactId>solon-logging-logback</artifactId>
  30. </dependency>
  31. <!-- YAML Configuration Support -->
  32. <dependency>
  33. <groupId>org.yaml</groupId>
  34. <artifactId>snakeyaml</artifactId>
  35. </dependency>
  36. <!-- Thumbnailator -->
  37. <dependency>
  38. <groupId>net.coobird</groupId>
  39. <artifactId>thumbnailator</artifactId>
  40. <version>0.4.20</version>
  41. </dependency>
  42. <!-- Kotlin Standard Library -->
  43. <dependency>
  44. <groupId>org.jetbrains.kotlin</groupId>
  45. <artifactId>kotlin-stdlib</artifactId>
  46. <version>${kotlin.version}</version>
  47. </dependency>
  48. <!-- Test Dependencies -->
  49. <dependency>
  50. <groupId>org.junit.jupiter</groupId>
  51. <artifactId>junit-jupiter</artifactId>
  52. <version>5.10.0</version>
  53. <scope>test</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.noear</groupId>
  57. <artifactId>solon-test</artifactId>
  58. <version>${solon.version}</version>
  59. <scope>test</scope>
  60. </dependency>
  61. </dependencies>
  62. <build>
  63. <sourceDirectory>src/main/kotlin</sourceDirectory>
  64. <testSourceDirectory>src/test/kotlin</testSourceDirectory>
  65. <plugins>
  66. <!-- Kotlin Compiler Plugin -->
  67. <plugin>
  68. <groupId>org.jetbrains.kotlin</groupId>
  69. <artifactId>kotlin-maven-plugin</artifactId>
  70. <version>${kotlin.version}</version>
  71. <executions>
  72. <execution>
  73. <id>compile</id>
  74. <phase>compile</phase>
  75. <goals>
  76. <goal>compile</goal>
  77. </goals>
  78. </execution>
  79. <execution>
  80. <id>test-compile</id>
  81. <phase>test-compile</phase>
  82. <goals>
  83. <goal>test-compile</goal>
  84. </goals>
  85. </execution>
  86. </executions>
  87. <configuration>
  88. <jvmTarget>17</jvmTarget>
  89. </configuration>
  90. </plugin>
  91. <!-- Maven Compiler Plugin -->
  92. <plugin>
  93. <groupId>org.apache.maven.plugins</groupId>
  94. <artifactId>maven-compiler-plugin</artifactId>
  95. <version>3.11.0</version>
  96. <configuration>
  97. <source>17</source>
  98. <target>17</target>
  99. </configuration>
  100. </plugin>
  101. </plugins>
  102. </build>
  103. </project>