2024-08-22 09:22:52 +08:00
|
|
|
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
<parent>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
|
|
<version>3.1.5</version>
|
|
|
|
|
|
<relativePath/>
|
|
|
|
|
|
</parent>
|
|
|
|
|
|
<groupId>net.geedge</groupId>
|
2024-09-04 14:19:02 +08:00
|
|
|
|
<artifactId>env-api</artifactId>
|
2024-08-22 09:22:52 +08:00
|
|
|
|
<version>1.0</version>
|
2024-09-04 14:19:02 +08:00
|
|
|
|
<name>env-api</name>
|
|
|
|
|
|
<description>AppSketch Works Env API</description>
|
2024-08-22 09:22:52 +08:00
|
|
|
|
<properties>
|
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
|
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
|
|
|
|
|
<java.version>21</java.version>
|
|
|
|
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
|
|
|
|
<maven.compiler.target>21</maven.compiler.target>
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
|
|
<version>5.8.16</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>commons-cli</groupId>
|
|
|
|
|
|
<artifactId>commons-cli</artifactId>
|
|
|
|
|
|
<version>1.8.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
|
<version>1.18.30</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
|
|
<version>4.13.2</version>
|
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.java-websocket</groupId>
|
|
|
|
|
|
<artifactId>Java-WebSocket</artifactId>
|
|
|
|
|
|
<version>1.5.6</version>
|
|
|
|
|
|
</dependency>
|
2024-09-14 14:34:33 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.jetbrains.pty4j/pty4j -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.jetbrains.pty4j</groupId>
|
|
|
|
|
|
<artifactId>pty4j</artifactId>
|
|
|
|
|
|
<version>0.12.35</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
2024-08-22 09:22:52 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
|
|
<resources>
|
|
|
|
|
|
<resource>
|
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
|
<excludes>
|
|
|
|
|
|
<exclude>**/application-*.yml</exclude>
|
|
|
|
|
|
<exclude>**/logback-spring.xml</exclude>
|
2024-08-27 15:46:51 +08:00
|
|
|
|
<exclude>**/token.auth</exclude>
|
2024-08-23 10:44:27 +08:00
|
|
|
|
<!--lib 下的依赖不加入 jar,部署时放到 jar 文件同级即可-->
|
|
|
|
|
|
<exclude>lib/*.*</exclude>
|
2024-08-22 09:22:52 +08:00
|
|
|
|
</excludes>
|
|
|
|
|
|
<includes>
|
|
|
|
|
|
<include>**/*.*</include>
|
|
|
|
|
|
</includes>
|
|
|
|
|
|
</resource>
|
|
|
|
|
|
</resources>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>single</goal>
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<archive>
|
|
|
|
|
|
<manifest>
|
|
|
|
|
|
<mainClass>
|
2024-09-04 14:19:02 +08:00
|
|
|
|
net.geedge.EnvApiApplication
|
2024-08-22 09:22:52 +08:00
|
|
|
|
</mainClass>
|
|
|
|
|
|
</manifest>
|
|
|
|
|
|
</archive>
|
|
|
|
|
|
<descriptorRefs>
|
|
|
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
|
|
|
</descriptorRefs>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<source>21</source>
|
|
|
|
|
|
<target>21</target>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 跳过单元测试 -->
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<skipTests>true</skipTests>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
</project>
|