gtsoft-snail-job-server/snail-job-datasource/snail-job-postgres-datasource/pom.xml

57 lines
2.0 KiB
XML
Raw Normal View History

2023-08-04 22:22:47 +08:00
<?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>com.aizuda</groupId>
<artifactId>snail-job-datasource</artifactId>
2023-08-04 22:22:47 +08:00
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>snail-job-postgres-datasource</artifactId>
<name>snail-job-postgres-datasource</name>
<description>snail-job-postgres-datasource</description>
2023-08-04 22:22:47 +08:00
<packaging>jar</packaging>
<dependencies>
<!-- preprocessor -->
2023-08-04 22:22:47 +08:00
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
2023-08-04 22:22:47 +08:00
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
<dependency>
<groupId>com.aizuda</groupId>
<artifactId>snail-job-datasource-template</artifactId>
2023-08-04 22:22:47 +08:00
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>none</mainClass> <!-- 取消查找本项目下的Main方法为了解决Unable to find main class的问题 -->
<classifier>execute</classifier> <!-- 为了解决依赖模块找不到此模块中的类或属性 -->
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>