|
@@ -0,0 +1,161 @@
|
|
|
+<?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>com.jiayue</groupId>
|
|
|
+ <artifactId>ipfcst-client</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
+ <name>ipfcst-client</name>
|
|
|
+ <description>ipfcst-client</description>
|
|
|
+ <properties>
|
|
|
+ <java.version>1.8</java.version>
|
|
|
+ <spring-boot-admin.version>2.4.3</spring-boot-admin.version>
|
|
|
+ <hutool.version>5.7.13</hutool.version>
|
|
|
+ </properties>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-jdbc</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-quartz</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-web</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>de.codecentric</groupId>
|
|
|
+ <artifactId>spring-boot-admin-starter-client</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
+ <scope>runtime</scope>
|
|
|
+ </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>
|
|
|
+
|
|
|
+ <!--hutool-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>cn.hutool</groupId>
|
|
|
+ <artifactId>hutool-all</artifactId>
|
|
|
+ <version>${hutool.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>junit</groupId>
|
|
|
+ <artifactId>junit</artifactId>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>ch.ethz.ganymed</groupId>
|
|
|
+ <artifactId>ganymed-ssh2</artifactId>
|
|
|
+ <version>build210</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ <dependencyManagement>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>de.codecentric</groupId>
|
|
|
+ <artifactId>spring-boot-admin-dependencies</artifactId>
|
|
|
+ <version>${spring-boot-admin.version}</version>
|
|
|
+ <type>pom</type>
|
|
|
+ <scope>import</scope>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ </dependencyManagement>
|
|
|
+
|
|
|
+ <build>
|
|
|
+ <finalName>focus-client</finalName>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.codehaus.mojo</groupId>
|
|
|
+ <artifactId>build-helper-maven-plugin</artifactId>
|
|
|
+ <version>1.9.1</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>timestamp-property</id>
|
|
|
+ <goals>
|
|
|
+ <goal>timestamp-property</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ <configuration>
|
|
|
+ <name>current.time</name>
|
|
|
+ <pattern>yyyy-MM-dd HH:mm:ss</pattern>
|
|
|
+ <timeZone>GMT+8</timeZone>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <!-- jar运行配置 -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <!-- main 入口 -->
|
|
|
+ <mainClass>com.jiayue.client.IpfcstClientApplication</mainClass>
|
|
|
+ <!-- 设置为ZIP,此模式下spring-boot-maven-plugin会将Manifest.MF文件中的Main-Class设置为org.springframework.boot.loader.PropertiesLauncher -->
|
|
|
+ <layout>ZIP</layout>
|
|
|
+ <!-- 需要包含的jar包 -->
|
|
|
+ <includes>
|
|
|
+ <!-- 不包含任何jar包 -->
|
|
|
+ <include>
|
|
|
+ <groupId>nothing</groupId>
|
|
|
+ <artifactId>nothing</artifactId>
|
|
|
+ </include>
|
|
|
+ </includes>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>build-info</goal>
|
|
|
+ <goal>repackage</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <!-- third-party jar into lib directory -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-dependency-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>copy-dependencies</id>
|
|
|
+ <phase>prepare-package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>copy-dependencies</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
+ <!-- 需要排除的jar的 groupId
|
|
|
+ <excludeGroupIds>
|
|
|
+ com.bdfint.logistics
|
|
|
+ </excludeGroupIds>-->
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+
|
|
|
+</project>
|