116 lines
4.1 KiB
XML
116 lines
4.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>2.5.4</version>
|
||
<relativePath/> <!-- lookup parent from repository -->
|
||
</parent>
|
||
<groupId>cn.xuthus83</groupId>
|
||
<artifactId>wx_post</artifactId>
|
||
<version>0.0.1</version>
|
||
<name>wx_post</name>
|
||
<description>xuthus-wxpost</description>
|
||
<properties>
|
||
<java.version>1.8</java.version>
|
||
</properties>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.github.binarywang</groupId>
|
||
<artifactId>wx-java-mp-spring-boot-starter</artifactId>
|
||
<version>4.1.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>io.github.biezhi</groupId>
|
||
<artifactId>oh-my-email</artifactId>
|
||
<version>0.0.4</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.json</groupId>
|
||
<artifactId>json</artifactId>
|
||
<version>20210307</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.aspectj</groupId>
|
||
<artifactId>aspectjweaver</artifactId>
|
||
<version>1.9.7</version>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<version>2.1.1.RELEASE</version>
|
||
<configuration>
|
||
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<goals>
|
||
<goal>repackage</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>com.spotify</groupId>
|
||
<artifactId>dockerfile-maven-plugin</artifactId>
|
||
<version>1.4.9</version>
|
||
<executions>
|
||
<execution>
|
||
<id>tag-latest</id>
|
||
<phase>deploy</phase>
|
||
<goals>
|
||
<goal>build</goal>
|
||
<goal>tag</goal>
|
||
<goal>push</goal>
|
||
</goals>
|
||
<configuration>
|
||
<tag>latest</tag>
|
||
</configuration>
|
||
</execution>
|
||
<execution>
|
||
<id>tag-version</id>
|
||
<phase>deploy</phase>
|
||
<goals>
|
||
<goal>build</goal>
|
||
<goal>tag</goal>
|
||
<goal>push</goal>
|
||
</goals>
|
||
<configuration>
|
||
<tag>${project.version}</tag>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
|
||
</plugin>
|
||
|
||
<!--在这里修改版本-->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-resources-plugin</artifactId>
|
||
<version>2.4.3</version>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
</project>
|