| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 | <?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">    <modelVersion>4.0.0</modelVersion>    <parent>        <groupId>com.xunmei</groupId>        <artifactId>soc-modules</artifactId>        <version>0.0.1-SNAPSHOT</version>    </parent>    <artifactId>soc-modules-file</artifactId>    <description>        soc-modules-file文件服务    </description>    <dependencies>        <!-- SpringCloud Alibaba Nacos -->        <dependency>            <groupId>com.alibaba.cloud</groupId>            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>        </dependency>        <!-- SpringCloud Alibaba Nacos Config -->        <dependency>            <groupId>com.alibaba.cloud</groupId>            <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>        </dependency>        <dependency>            <groupId>org.springframework.boot</groupId>            <artifactId>spring-boot-starter-data-redis</artifactId>        </dependency>        <!-- SpringCloud Alibaba Sentinel -->        <dependency>            <groupId>com.alibaba.cloud</groupId>            <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>        </dependency>        <!-- SpringBoot Actuator -->        <dependency>            <groupId>org.springframework.boot</groupId>            <artifactId>spring-boot-starter-actuator</artifactId>        </dependency>        <!-- soc Api System -->        <dependency>            <groupId>com.xunmei</groupId>            <artifactId>soc-api-system</artifactId>            <version>0.0.1-SNAPSHOT</version>        </dependency>        <!-- soc Common Swagger -->        <dependency>            <groupId>com.xunmei</groupId>            <artifactId>soc-common-swagger</artifactId>            <version>0.0.1-SNAPSHOT</version>        </dependency>        <dependency>            <groupId>com.xunmei</groupId>            <artifactId>soc-common-security</artifactId>        </dependency>        <dependency>            <groupId>cn.hutool</groupId>            <artifactId>hutool-all</artifactId>        </dependency>        <dependency>            <groupId>org.apache.commons</groupId>            <artifactId>commons-text</artifactId>            <version>1.8</version>        </dependency>        <dependency>            <groupId>org.apache.ant</groupId>            <artifactId>ant</artifactId>            <version>1.8.0</version>        </dependency>        <dependency>            <groupId>com.lowagie</groupId>            <artifactId>itext</artifactId>            <version>4.2.2</version>            <scope>system</scope>            <systemPath>${project.basedir}/src/main/resources/lib/itext-4.2.1.jar</systemPath>        </dependency>    </dependencies>    <build>        <finalName>${project.artifactId}</finalName>        <plugins>            <!--不加此配置会导致引入的第三方jar包依赖 无法被打进jar包,导致线上报错-->            <plugin>                <groupId>org.springframework.boot</groupId>                <artifactId>spring-boot-maven-plugin</artifactId>                <configuration>                    <includeSystemScope>true</includeSystemScope>                </configuration>            </plugin>            <plugin>                <groupId>org.apache.maven.plugins</groupId>                <artifactId>maven-compiler-plugin</artifactId>                <configuration>                    <source>1.8</source>                    <target>1.8</target>                    <encoding>UTF-8</encoding>                    <compilerArguments>                        <extdirs>${project.basedir}/src/main/resources/lib</extdirs>                    </compilerArguments>                </configuration>            </plugin>            <plugin>                <groupId>org.springframework.boot</groupId>                <artifactId>spring-boot-maven-plugin</artifactId>                <executions>                    <execution>                        <goals>                            <goal>repackage</goal>                        </goals>                    </execution>                </executions>            </plugin>        </plugins>    </build></project>
 |