2025-07-07 18:06:35 +08:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
|
|
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.nflg</groupId>
|
|
|
|
|
|
<artifactId>nflg-wms</artifactId>
|
|
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
|
|
</parent>
|
|
|
|
|
|
<artifactId>nflg-wms-scheduled</artifactId>
|
|
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
|
|
<name>服务-计划任务执行器</name>
|
|
|
|
|
|
<description>计划任务执行器</description>
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.nflg</groupId>
|
|
|
|
|
|
<artifactId>nflg-wms-common</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.nflg</groupId>
|
|
|
|
|
|
<artifactId>nflg-wms-starter</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.sap.conn.jco</groupId>
|
|
|
|
|
|
<artifactId>sapjco3</artifactId>
|
2025-07-11 18:45:43 +08:00
|
|
|
|
<version>3.1.12</version>
|
2025-07-07 18:06:35 +08:00
|
|
|
|
<scope>system</scope>
|
|
|
|
|
|
<systemPath>${project.basedir}/lib/sapjco3.jar</systemPath>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>tech.powerjob</groupId>
|
|
|
|
|
|
<artifactId>powerjob-worker</artifactId>
|
|
|
|
|
|
</dependency>
|
2025-07-31 18:03:22 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.github.loki4j</groupId>
|
|
|
|
|
|
<artifactId>loki-logback-appender</artifactId>
|
|
|
|
|
|
</dependency>
|
2025-09-12 18:03:23 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
|
|
<artifactId>junit-jupiter</artifactId>
|
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.jcraft</groupId>
|
|
|
|
|
|
<artifactId>jsch</artifactId>
|
|
|
|
|
|
<version>0.1.55</version>
|
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
</dependency>
|
2025-09-22 17:47:51 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.ldap</groupId>
|
|
|
|
|
|
<artifactId>spring-ldap-core</artifactId>
|
|
|
|
|
|
</dependency>
|
2025-09-25 11:49:59 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
|
|
</dependency>
|
2025-09-22 17:47:51 +08:00
|
|
|
|
</dependencies>
|
2025-07-07 18:06:35 +08:00
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<skip>true</skip>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<id>copy-external-libs</id>
|
|
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<!-- 指定源目录(项目根目录下的lib) -->
|
|
|
|
|
|
<resources>
|
|
|
|
|
|
<resource>
|
|
|
|
|
|
<directory>${project.basedir}/lib</directory>
|
|
|
|
|
|
<filtering>false</filtering>
|
|
|
|
|
|
</resource>
|
|
|
|
|
|
</resources>
|
|
|
|
|
|
<!-- 指定目标目录(与依赖库相同的目录) -->
|
|
|
|
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
|
|
|
<!-- 自动创建目标目录 -->
|
|
|
|
|
|
<overwrite>true</overwrite>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
</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}/lib</outputDirectory>
|
|
|
|
|
|
<excludeGroupIds>${project.groupId}</excludeGroupIds>
|
|
|
|
|
|
<includeScope>runtime</includeScope>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<archive>
|
|
|
|
|
|
<manifest>
|
|
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
|
|
<classpathPrefix>lib/</classpathPrefix>
|
|
|
|
|
|
<mainClass>com.nflg.wms.scheduled.ScheduledApplication</mainClass>
|
|
|
|
|
|
</manifest>
|
|
|
|
|
|
</archive>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>shade</goal>
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<artifactSet>
|
|
|
|
|
|
<includes>
|
|
|
|
|
|
<include>${project.groupId}:*</include>
|
|
|
|
|
|
</includes>
|
|
|
|
|
|
</artifactSet>
|
|
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|