mirror of
https://github.com/ttttupup/wxhelper.git
synced 2024-11-16 23:39:25 +08:00
185 lines
7.1 KiB
XML
185 lines
7.1 KiB
XML
|
<?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 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.0</version>
|
||
|
<relativePath/> <!-- lookup parent from repository -->
|
||
|
</parent>
|
||
|
<groupId>com.example</groupId>
|
||
|
<artifactId>wxhk</artifactId>
|
||
|
<version>0.0.1-SNAPSHOT</version>
|
||
|
<name>wxhk</name>
|
||
|
<description>wxhk</description>
|
||
|
<properties>
|
||
|
<java.version>17</java.version>
|
||
|
</properties>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-mail</artifactId>
|
||
|
</dependency>
|
||
|
<!-- <dependency>-->
|
||
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||
|
<!-- <artifactId>spring-boot-starter-thymeleaf</artifactId>-->
|
||
|
<!-- </dependency>-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-validation</artifactId>
|
||
|
</dependency>
|
||
|
<!-- <dependency>-->
|
||
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||
|
<!-- <artifactId>spring-boot-starter-web</artifactId>-->
|
||
|
<!-- </dependency>-->
|
||
|
|
||
|
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>io.netty</groupId>
|
||
|
<artifactId>netty-all</artifactId>
|
||
|
<version>4.1.92.Final</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.squareup.okhttp3</groupId>
|
||
|
<artifactId>okhttp</artifactId>
|
||
|
<version>4.11.0</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>io.vertx</groupId>
|
||
|
<artifactId>vertx-core</artifactId>
|
||
|
<version>4.4.2</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.vertx</groupId>
|
||
|
<artifactId>vertx-web</artifactId>
|
||
|
<version>4.4.2</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.vertx</groupId>
|
||
|
<artifactId>vertx-web-client</artifactId>
|
||
|
<version>4.4.2</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.vertx</groupId>
|
||
|
<artifactId>vertx-mysql-client</artifactId>
|
||
|
<version>4.4.2</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-devtools</artifactId>
|
||
|
<scope>runtime</scope>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.projectlombok</groupId>
|
||
|
<artifactId>lombok</artifactId>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.dromara.hutool</groupId>
|
||
|
<artifactId>hutool-all</artifactId>
|
||
|
<version>6.0.0.M3</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||
|
<artifactId>jackson-databind</artifactId>
|
||
|
<version>2.15.1</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-test</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-jar-plugin</artifactId>
|
||
|
<configuration>
|
||
|
|
||
|
<!-- 排除文件配置 -->
|
||
|
<!-- <excludes> -->
|
||
|
<!-- <exclude>*.**</exclude> -->
|
||
|
<!-- <exclude>*/**.xml</exclude> -->
|
||
|
<!-- </excludes> -->
|
||
|
|
||
|
<!-- 包含文件配置,现在只打包 com 文件夹 -->
|
||
|
<includes>
|
||
|
<include>
|
||
|
**/com/example/wxhk/**
|
||
|
</include>
|
||
|
</includes>
|
||
|
|
||
|
<archive>
|
||
|
<manifest>
|
||
|
<!-- 配置加入依赖包 -->
|
||
|
<addClasspath>true</addClasspath>
|
||
|
<classpathPrefix>lib/</classpathPrefix>
|
||
|
<useUniqueVersions>false</useUniqueVersions>
|
||
|
<!-- Spring Boot 启动类(自行修改) -->
|
||
|
<mainClass>com.example.wxhk.WxhkApplication</mainClass>
|
||
|
</manifest>
|
||
|
<manifestEntries>
|
||
|
<!-- 外部资源路径加入 manifest.mf 的 Class-Path -->
|
||
|
<Class-Path>resources/</Class-Path>
|
||
|
</manifestEntries>
|
||
|
</archive>
|
||
|
<!-- jar 输出目录 -->
|
||
|
<outputDirectory>${project.build.directory}/pack/</outputDirectory>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||
|
<!-- 复制依赖 -->
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>copy-dependencies</id>
|
||
|
<phase>package</phase>
|
||
|
<goals>
|
||
|
<goal>copy-dependencies</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<!-- 依赖包 输出目录 -->
|
||
|
<outputDirectory>${project.build.directory}/pack/lib</outputDirectory>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-resources-plugin</artifactId>
|
||
|
<!-- 复制资源 -->
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>copy-resources</id>
|
||
|
<phase>package</phase>
|
||
|
<goals>
|
||
|
<goal>copy-resources</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<resources>
|
||
|
<resource>
|
||
|
<directory>src/main/resources</directory>
|
||
|
</resource>
|
||
|
</resources>
|
||
|
<!-- 资源文件 输出目录 -->
|
||
|
<outputDirectory>${project.build.directory}/pack/resources</outputDirectory>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
</project>
|