| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.yujin</groupId>
- <artifactId>yujin-thumbnailator</artifactId>
- <version>1.0-SNAPSHOT</version>
- <properties>
- <maven.compiler.source>17</maven.compiler.source>
- <maven.compiler.target>17</maven.compiler.target>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <kotlin.version>1.9.23</kotlin.version>
- </properties>
- <parent>
- <groupId>org.noear</groupId>
- <artifactId>solon-parent</artifactId>
- <version>3.2.0</version>
- </parent>
- <dependencies>
- <!-- Solon Boot Web -->
- <dependency>
- <groupId>org.noear</groupId>
- <artifactId>solon-web</artifactId>
- </dependency>
- <!-- Solon Boot Jackson -->
- <dependency>
- <groupId>org.noear</groupId>
- <artifactId>solon-logging-logback</artifactId>
- </dependency>
- <!-- YAML Configuration Support -->
- <dependency>
- <groupId>org.yaml</groupId>
- <artifactId>snakeyaml</artifactId>
- </dependency>
- <!-- Thumbnailator -->
- <dependency>
- <groupId>net.coobird</groupId>
- <artifactId>thumbnailator</artifactId>
- <version>0.4.20</version>
- </dependency>
- <dependency>
- <groupId>org.noear</groupId>
- <artifactId>solon-net-httputils</artifactId>
- </dependency>
- <!-- Kotlin Standard Library -->
- <dependency>
- <groupId>org.jetbrains.kotlin</groupId>
- <artifactId>kotlin-stdlib</artifactId>
- <version>${kotlin.version}</version>
- </dependency>
- <!-- Test Dependencies -->
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter</artifactId>
- <version>5.10.0</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.noear</groupId>
- <artifactId>solon-test</artifactId>
- <version>${solon.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <sourceDirectory>src/main/kotlin</sourceDirectory>
- <testSourceDirectory>src/test/kotlin</testSourceDirectory>
- <plugins>
- <!-- Kotlin Compiler Plugin -->
- <plugin>
- <groupId>org.jetbrains.kotlin</groupId>
- <artifactId>kotlin-maven-plugin</artifactId>
- <version>${kotlin.version}</version>
- <executions>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- <execution>
- <id>test-compile</id>
- <phase>test-compile</phase>
- <goals>
- <goal>test-compile</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <jvmTarget>17</jvmTarget>
- </configuration>
- </plugin>
- <!-- 配置打包插件(并打包成胖包) -->
- <plugin>
- <groupId>org.noear</groupId>
- <artifactId>solon-maven-plugin</artifactId>
- <configuration>
- <!-- 指定启动主类 -->
- <mainClass>com.yujin.thumbnail.ThumbnailApplication</mainClass>
- </configuration>
- </plugin>
- <!-- Maven Compiler Plugin -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.11.0</version>
- <configuration>
- <source>17</source>
- <target>17</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|