From 497475defd5d0ebf90ae6a8e2b080a16d78043ab Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期五, 23 九月 2022 17:49:34 +0800 Subject: [PATCH] 2022.9.23 --- pom.xml | 96 +++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 79 insertions(+), 17 deletions(-) diff --git a/pom.xml b/pom.xml index 77065b5..f5bbd96 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,8 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.3.RELEASE</version> - <relativePath/> <!-- lookup parent from repository --> + <relativePath/> + <!-- lookup parent from repository --> </parent> <properties> @@ -28,6 +29,7 @@ <!-- tk.mybatis --> <mapper.plugin>tk.mybatis.mapper.generator.MapperPlugin</mapper.plugin> <mapper.Mapper>tk.mybatis.mapper.common.Mapper</mapper.Mapper> + <itext.version>7.2.2</itext.version> </properties> <dependencies> @@ -122,6 +124,13 @@ <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.1.6</version> + </dependency> + + <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson --> + <dependency> + <groupId>com.alibaba</groupId> + <artifactId>fastjson</artifactId> + <version>1.2.74</version> </dependency> <!-- https://mvnrepository.com/artifact/net.coobird/thumbnailator --> @@ -267,6 +276,19 @@ <artifactId>poi</artifactId> <version>4.1.2</version> </dependency> + <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml --> + <dependency> + <groupId>org.apache.poi</groupId> + <artifactId>poi-ooxml</artifactId> + <version>4.1.2</version> + </dependency> + <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-excelant --> +<!-- <dependency>--> +<!-- <groupId>org.apache.poi</groupId>--> +<!-- <artifactId>poi-excelant</artifactId>--> +<!-- <version>5.2.2</version>--> +<!-- </dependency>--> + <!--闃块噷浜戞帹閫�--> <dependency> @@ -287,6 +309,59 @@ <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> <version>3.0</version> + </dependency> + + <dependency> + <groupId>io.springfox</groupId> + <artifactId>springfox-staticdocs</artifactId> + <version>2.6.1</version> + </dependency> + + + <!-- pdf:start --> + <!-- https://mvnrepository.com/artifact/com.itextpdf/itext7-core --> +<!-- <dependency>--> +<!-- <groupId>com.itextpdf</groupId>--> +<!-- <artifactId>itext7-core</artifactId>--> +<!-- <version>${itext.version}</version>--> +<!-- <type>pom</type>--> +<!-- </dependency>--> + <!-- https://mvnrepository.com/artifact/com.itextpdf/html2pdf --> + <dependency> + <groupId>com.itextpdf</groupId> + <artifactId>html2pdf</artifactId> + <version>4.0.2</version> + </dependency> + <!-- https://mvnrepository.com/artifact/org.apache.pdfbox/pdfbox --> + <dependency> + <groupId>org.apache.pdfbox</groupId> + <artifactId>pdfbox</artifactId> + <version>2.0.26</version> + </dependency> + <!-- https://mvnrepository.com/artifact/com.itextpdf/font-asian --> + <dependency> + <groupId>com.itextpdf</groupId> + <artifactId>font-asian</artifactId> + <version>${itext.version}</version> + <scope>test</scope> + </dependency> + <!-- 鏀寔css鏍峰紡娓叉煋 --> + <dependency> + <groupId>org.xhtmlrenderer</groupId> + <artifactId>flying-saucer-pdf-itext5</artifactId> + <version>9.1.16</version> + </dependency> + <!-- 杞崲html涓烘爣鍑唜html鍖� --> + <dependency> + <groupId>net.sf.jtidy</groupId> + <artifactId>jtidy</artifactId> + <version>r938</version> + </dependency> + <!-- https://mvnrepository.com/artifact/org.freemarker/freemarker --> + <dependency> + <groupId>org.freemarker</groupId> + <artifactId>freemarker</artifactId> + <version>2.3.31</version> </dependency> </dependencies> @@ -389,21 +464,8 @@ <resources> <resource> - <filtering>true</filtering> <directory>src/main/resources</directory> - <excludes> - <exclude>application-dev.yml</exclude> - <exclude>application-pro.yml</exclude> - <exclude>application.yml</exclude> - </excludes> - </resource> - <resource> <filtering>true</filtering> - <directory>src/main/resources</directory> - <includes> - <include>application-${profileActive}.yml</include> - <include>application.yml</include> - </includes> </resource> </resources> </build> @@ -412,7 +474,7 @@ <profile> <id>dev</id> <properties> - <profileActive>dev</profileActive> + <profile.active>dev</profile.active> </properties> <activation> <activeByDefault>true</activeByDefault> @@ -421,7 +483,7 @@ <profile> <id>pro</id> <properties> - <profileActive>pro</profileActive> + <profile.active>pro</profile.active> </properties> <activation> <activeByDefault>false</activeByDefault> @@ -433,7 +495,7 @@ <repository> <id>alimaven</id> <name>aliyun maven</name> - <url>http://maven.aliyun.com/nexus/content/groups/public/</url> + <url>https://maven.aliyun.com/repository/public</url> </repository> <repository> <id>spring-snapshots</id> -- Gitblit v1.9.3