118 lines
		
	
	
		
			4.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			118 lines
		
	
	
		
			4.3 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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 | 
						||
    <modelVersion>4.0.0</modelVersion>
 | 
						||
    <parent>
 | 
						||
        <groupId>com.aizuda</groupId>
 | 
						||
        <artifactId>snail-job-server</artifactId>
 | 
						||
        <version>${revision}</version>
 | 
						||
        <relativePath>../pom.xml</relativePath>
 | 
						||
    </parent>
 | 
						||
 | 
						||
    <artifactId>snail-job-server-job-task</artifactId>
 | 
						||
    <name>snail-job-server-job-task</name>
 | 
						||
    <description>snail-job-server-job-task</description>
 | 
						||
    <packaging>jar</packaging>
 | 
						||
 | 
						||
    <properties>
 | 
						||
        <maven.compiler.source>17</maven.compiler.source>
 | 
						||
        <maven.compiler.target>17</maven.compiler.target>
 | 
						||
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
						||
    </properties>
 | 
						||
    <dependencies>
 | 
						||
        <!--    preprocessor    -->
 | 
						||
        <dependency>
 | 
						||
            <groupId>org.projectlombok</groupId>
 | 
						||
            <artifactId>lombok</artifactId> <!--    !!! lombok goes BEFORE mapstruct    -->
 | 
						||
        </dependency>
 | 
						||
        <dependency>
 | 
						||
            <groupId>org.mapstruct</groupId>
 | 
						||
            <artifactId>mapstruct</artifactId>
 | 
						||
        </dependency>
 | 
						||
        <dependency>
 | 
						||
            <groupId>org.mapstruct</groupId>
 | 
						||
            <artifactId>mapstruct-processor</artifactId>
 | 
						||
        </dependency>
 | 
						||
 | 
						||
        <!--    springboot    -->
 | 
						||
        <dependency>
 | 
						||
            <groupId>org.springframework.boot</groupId>
 | 
						||
            <artifactId>spring-boot-starter-web</artifactId>
 | 
						||
        </dependency>
 | 
						||
 | 
						||
        <!--    libs    -->
 | 
						||
        <dependency>
 | 
						||
            <groupId>com.github.rholder</groupId>
 | 
						||
            <artifactId>guava-retrying</artifactId>
 | 
						||
        </dependency>
 | 
						||
        <dependency>
 | 
						||
            <groupId>com.googlecode.aviator</groupId>
 | 
						||
            <artifactId>aviator</artifactId>
 | 
						||
        </dependency>
 | 
						||
        <dependency>
 | 
						||
            <groupId>com.alibaba</groupId>
 | 
						||
            <artifactId>QLExpress</artifactId>
 | 
						||
            <exclusions>
 | 
						||
                <exclusion>
 | 
						||
                    <groupId>commons-beanutils</groupId>
 | 
						||
                    <artifactId>commons-beanutils</artifactId>
 | 
						||
                </exclusion>
 | 
						||
            </exclusions>
 | 
						||
        </dependency>
 | 
						||
 | 
						||
        <!--   SnailJob     -->
 | 
						||
        <dependency>
 | 
						||
            <groupId>com.aizuda</groupId>
 | 
						||
            <artifactId>snail-job-server-common</artifactId>
 | 
						||
        </dependency>
 | 
						||
        <!-- 上报日志,采用logback打印,排除log4j2 -->
 | 
						||
        <dependency>
 | 
						||
            <groupId>com.aizuda</groupId>
 | 
						||
            <artifactId>snail-job-common-log</artifactId>
 | 
						||
            <exclusions>
 | 
						||
                <exclusion>
 | 
						||
                    <groupId>org.springframework.boot</groupId>
 | 
						||
                    <artifactId>spring-boot-starter-log4j2</artifactId>
 | 
						||
                </exclusion>
 | 
						||
            </exclusions>
 | 
						||
        </dependency>
 | 
						||
        <dependency>
 | 
						||
            <groupId>com.aizuda</groupId>
 | 
						||
            <artifactId>snail-job-common-server-api</artifactId>
 | 
						||
        </dependency>
 | 
						||
        <dependency>
 | 
						||
            <groupId>com.aizuda</groupId>
 | 
						||
            <artifactId>snail-job-common-client-api</artifactId>
 | 
						||
        </dependency>
 | 
						||
        <dependency>
 | 
						||
            <groupId>com.aizuda</groupId>
 | 
						||
            <artifactId>snail-job-datasource-template</artifactId>
 | 
						||
        </dependency>
 | 
						||
        <dependency>
 | 
						||
            <groupId>com.aizuda</groupId>
 | 
						||
            <artifactId>snail-job-server-retry-task</artifactId>
 | 
						||
        </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>
 |