213 lines
8.3 KiB
XML
213 lines
8.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 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-admin</artifactId>
|
||
<version>1.0.0-SNAPSHOT</version>
|
||
<name>服务-管理后台</name>
|
||
<description>管理后台服务</description>
|
||
<packaging>jar</packaging>
|
||
<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>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.github.promeg</groupId>
|
||
<artifactId>tinypinyin</artifactId>
|
||
<version>2.0.3</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-data-ldap</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.junit.jupiter</groupId>
|
||
<artifactId>junit-jupiter</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework</groupId>
|
||
<artifactId>spring-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.google.zxing</groupId>
|
||
<artifactId>core</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.google.zxing</groupId>
|
||
<artifactId>javase</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-mail</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>commons-io</groupId>
|
||
<artifactId>commons-io</artifactId>
|
||
<version>2.17.0</version>
|
||
<scope>compile</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-lang3</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>tech.powerjob</groupId>
|
||
<artifactId>powerjob-client</artifactId>
|
||
</dependency>
|
||
<!--生成pdf-->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.xhtmlrenderer</groupId>
|
||
<artifactId>flying-saucer-pdf</artifactId>
|
||
<version>9.11.2</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>bcprov-jdk14</artifactId>
|
||
<groupId>org.bouncycastle</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>itextpdf</artifactId>
|
||
<version>5.5.13.4</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>itext-asian</artifactId>
|
||
<version>5.2.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.sap.conn.jco</groupId>
|
||
<artifactId>sapjco3</artifactId>
|
||
<version>3.1.12</version>
|
||
<scope>system</scope>
|
||
<systemPath>${project.basedir}/lib/sapjco3.jar</systemPath>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>de.flapdoodle.embed</groupId>
|
||
<artifactId>de.flapdoodle.embed.mongo</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<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.admin.AdminApplication</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>
|