|
|
<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 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
|
|
|
|
|
<parent>
|
|
|
<groupId>com.docus</groupId>
|
|
|
<artifactId>docus-bom</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
<relativePath/>
|
|
|
</parent>
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
<groupId>org.example</groupId>
|
|
|
<artifactId>jp2demo</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
<properties>
|
|
|
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>com.aspose</groupId>-->
|
|
|
<!-- <artifactId>aspose-imaging</artifactId>-->
|
|
|
<!-- <version>23.9</version>-->
|
|
|
<!-- <classifier>jdk16</classifier>-->
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.apache.pdfbox</groupId>
|
|
|
<artifactId>pdfbox</artifactId>
|
|
|
<version>2.0.27</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.twelvemonkeys.imageio</groupId>
|
|
|
<artifactId>imageio-tiff</artifactId>
|
|
|
<version>3.6.1</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>net.sourceforge.jtds</groupId>
|
|
|
<artifactId>jtds</artifactId>
|
|
|
<version>1.3.1</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.docus</groupId>
|
|
|
<artifactId>docus-knife4j-starter</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>com.docus</groupId>-->
|
|
|
<!-- <artifactId>docus-web-starter</artifactId>-->
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.bgee.log4jdbc-log4j2</groupId>
|
|
|
<artifactId>log4jdbc-log4j2-jdbc4.1</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>com.alibaba</groupId>-->
|
|
|
<!-- <artifactId>druid</artifactId>-->
|
|
|
<!-- <version>1.2.4</version>-->
|
|
|
<!-- <scope>compile</scope>-->
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
<version>1.2.75</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
|
<version>2.5.6</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.microsoft.sqlserver</groupId>
|
|
|
<artifactId>sqljdbc4</artifactId>
|
|
|
<version>4.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--mybatis plus-->
|
|
|
<dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
<version>3.4.0</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>mysql</groupId>
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
<scope>runtime</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
|
|
<version>3.4.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>mysql</groupId>
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
<version>8.0.15</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>druid-spring-boot-starter</artifactId>
|
|
|
<version>1.1.10</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
<resources>
|
|
|
<resource>
|
|
|
<directory>src/main/resources</directory>
|
|
|
<filtering>true</filtering>
|
|
|
</resource>
|
|
|
</resources>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
<configuration>
|
|
|
<mainClass>com.docus.demo.DemoApplication</mainClass>
|
|
|
<includeSystemScope>true</includeSystemScope>
|
|
|
<layout>ZIP</layout>
|
|
|
<includes>
|
|
|
<include>
|
|
|
<groupId>non-exists</groupId>
|
|
|
<artifactId>non-exists</artifactId>
|
|
|
</include>
|
|
|
</includes>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<version>3.6.0</version>
|
|
|
<configuration>
|
|
|
<source>1.8</source>
|
|
|
<target>1.8</target>
|
|
|
<encoding>UTF-8</encoding>
|
|
|
<compilerArguments>
|
|
|
<extdirs>${project.basedir}/lib</extdirs>
|
|
|
</compilerArguments>
|
|
|
|
|
|
</configuration>
|
|
|
</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>
|
|
|
<!--target/lib是依赖jar包的输出目录,根据自己喜好配置-->
|
|
|
<outputDirectory>target/lib</outputDirectory>
|
|
|
<excludeTransitive>false</excludeTransitive>
|
|
|
<stripVersion>false</stripVersion>
|
|
|
<includeScope>runtime</includeScope>
|
|
|
</configuration>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<configuration>
|
|
|
<finalName>${artifactId}</finalName>
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
<descriptors>
|
|
|
<descriptor>assembly.xml</descriptor>
|
|
|
</descriptors>
|
|
|
</configuration>
|
|
|
<id>make-assembly</id>
|
|
|
<phase>package</phase>
|
|
|
<goals>
|
|
|
<goal>single</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|
|
|
</project>
|