You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
118 lines
4.1 KiB
118 lines
4.1 KiB
<?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.dxhy.order</groupId>
|
|
<artifactId>order-management</artifactId>
|
|
<version>6.1.2-STD</version>
|
|
</parent>
|
|
<groupId>com.dxhy.common</groupId>
|
|
<artifactId>order-management-generatepdf</artifactId>
|
|
<version>6.1.2-STD</version>
|
|
<name>order-management-generatepdf</name>
|
|
<description>PDF生成工具jar</description>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-beans</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.dxhy.tools</groupId>
|
|
<artifactId>common-qrcode</artifactId>
|
|
<version>1.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
<scope>provided</scope>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!--itext-->
|
|
<dependency>
|
|
<groupId>com.itextpdf</groupId>
|
|
<artifactId>itext7-core</artifactId>
|
|
<version>${itextPdf.version}</version>
|
|
<type>pom</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.junit.vintage</groupId>
|
|
<artifactId>junit-vintage-engine</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.api.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
<excludes>
|
|
<exclude>fonts/*</exclude>
|
|
<exclude>template/**</exclude>
|
|
|
|
</excludes>
|
|
</resource>
|
|
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/resources/fonts</directory>
|
|
<filtering>false</filtering>
|
|
<targetPath>fonts</targetPath>
|
|
</resource>
|
|
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/resources/template</directory>
|
|
<filtering>false</filtering>
|
|
<targetPath>template</targetPath>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<!--打包时对xls和xlsx文件不进行转码压缩,否则下载文件会损坏-->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<version>2.6</version>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
<nonFilteredFileExtensions>
|
|
<nonFilteredFileExtension>xlsx</nonFilteredFileExtension><!--xlsx结尾的文件不压缩-->
|
|
<nonFilteredFileExtension>xls</nonFilteredFileExtension>
|
|
</nonFilteredFileExtensions>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|
|
|