代码拉取完成,页面将自动刷新
<?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>
<!-- groupId为项目的包路径,artifactId为项目名称,version为项目版本号,三者组成工程的Maven坐标 -->
<groupId>com.charley.icloud</groupId>
<artifactId>base-icloud-platform</artifactId>
<version>1.0-SNAPSHOT</version>
<!-- 一般有jar、war两个值,表示使用Maven打包时是构建成JAR包还是WAR包 -->
<!-- pom表示这个父工程 Maven父项目的类型为pom类型,其只编写pom.xml文件而不写任何的业务代码 -->
<packaging>pom</packaging>
<!-- 项目名称 -->
<name>base-icloud-platform</name>
<description>微服务平台基础架构</description>
<modules>
<!-- 核心业务层 -->
<module>business-center</module>
<!-- 基础服务中心 -->
<module>base-services-center</module>
<!-- 内部基础设施 -->
<module>inner-infrastructure</module>
<!-- 各个模块的测试及示范案例 -->
<module>test-module-center</module>
<!-- 系统监测中心 -->
<module>monitor-system-center</module>
<module>base-server-all</module>
<!-- API网关 -->
<!-- <module>api-gateway</module>-->
</modules>
<properties>
<!-- 指定项目使用的JDK版本 -->
<java.version>1.8</java.version>
<!-- 项目构建时所使用的编码 -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- 输出所使用的编码 -->
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<base.icloud.platform.version>1.0-SNAPSHOT</base.icloud.platform.version>
<bcprov-jdk16.version>1.46</bcprov-jdk16.version>
<commons-beanutils.version>1.9.4</commons-beanutils.version>
<commons-collections.version>3.2.2</commons-collections.version>
<commons.codec.version>1.8</commons.codec.version>
<!-- <common-lang3-version>3.4</common-lang3-version> -->
<common-lang3-version>3.12.0</common-lang3-version>
<commons-lang.version>2.6</commons-lang.version>
<commons-text.version>1.12.0</commons-text.version>
<commons-io.version>2.15.1</commons-io.version>
<config-server-version>2.2.5.RELEASE</config-server-version>
<curator-version>4.2.0</curator-version>
<devtools.version>2.6.3</devtools.version>
<docker.maven.plugin.version>0.4.13</docker.maven.plugin.version>
<docker.host>http://192.168.110.128:2375</docker.host>
<druid-springboot-version>1.1.23</druid-springboot-version>
<!-- 最新版 2024-08-24 -->
<!--<druid-springboot-version>1.2.23</druid-springboot-version>-->
<dubbo-version>2.7.8</dubbo-version>
<eureka-version>3.1.1</eureka-version>
<fastdfs-version>1.27</fastdfs-version>
<fastjson.version>2.0.25</fastjson.version>
<fastjson2.version>2.0.40</fastjson2.version>
<flowable.version>6.8.1</flowable.version>
<gateway-version>3.1.1</gateway-version>
<guava.version>20.0</guava.version>
<hutool.version>5.8.26</hutool.version>
<httpclient-version>4.5.10</httpclient-version>
<httpclient5.version>5.3.1</httpclient5.version>
<hystrix-version>2.2.10.RELEASE</hystrix-version>
<ip2region.version>2.7.0</ip2region.version>
<!-- <jackson-version>2.10.3</jackson-version> -->
<jackson-version>2.13.1</jackson-version>
<!--<jackson-version>2.17.2</jackson-version>-->
<!--<jackson-version>2.17.1</jackson-version>-->
<junit.version>4.13.2</junit.version>
<jjwt.version>0.12.5</jjwt.version>
<!--<jjwt.version>0.9.1</jjwt.version>-->
<!--<lombok-version>1.18.12</lombok-version>-->
<lombok-version>1.18.32</lombok-version>
<mysql-driver-version>8.0.21</mysql-driver-version>
<mybatis-plus.version>3.3.1</mybatis-plus.version>
<!-- 3.5.1 版本高了-->
<!--<mybatis-plus.version>3.5.1</mybatis-plus.version>-->
<!--<mybatis-plus.version>3.4.2</mybatis-plus.version>-->
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
<maven.surefire.plugin.version>3.1.0</maven.surefire.plugin.version>
<!-- <openfeign-version>2.2.5.RELEASE</openfeign-version> -->
<openfeign-version>3.1.1</openfeign-version>
<orika-core.version>1.5.4</orika-core.version>
<oshi-json.version>3.6.1</oshi-json.version>
<servlet-version>4.0.1</servlet-version>
<spring.boot.version>2.6.3</spring.boot.version>
<spring.cloud.alibaba.version>2021.0.1.0</spring.cloud.alibaba.version>
<spring.cloud.dependencies.version>2021.0.1</spring.cloud.dependencies.version>
<spring-cloud-config-server>3.1.1</spring-cloud-config-server>
<spring-cloud.sleuth.version>2.2.8.RELEASE</spring-cloud.sleuth.version>
<spring-security-jwt.version>1.1.1.RELEASE</spring-security-jwt.version>
<spring-session-version>2.6.3</spring-session-version>
<spring-social-web.version>1.1.6.RELEASE</spring-social-web.version>
<spring-version>5.3.15</spring-version>
<txmanager-version>5.0.2.RELEASE</txmanager-version>
</properties>
<!-- 项目依赖版本的统一管理 -->
<dependencyManagement>
<dependencies>
<!--Spring Cloud 总体依赖版本管理 -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring.cloud.dependencies.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!--Spring Boot 相关依赖-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring.boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!--Spring Cloud & Alibaba 总体依赖版本管理-->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>${spring.cloud.alibaba.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-netflix</artifactId>
<version>3.1.5</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- HuTool工具集 相关依赖-->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-bom</artifactId>
<version>${hutool.version}</version>
<type>pom</type>
<!-- 注意这里是import -->
<scope>import</scope>
</dependency>
<!-- 开发工具包启动器依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<version>${devtools.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${spring.boot.version}</version>
</dependency>
<!-- servlet-->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>${servlet-version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring-version}</version>
</dependency>
<!-- 视图模板技术 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-freemarker</artifactId>
<version>${spring.boot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring-version}</version>
</dependency>
<!-- spring test 测试 SpringBoot自带的测试框架 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>${spring.boot.version}</version>
<scope>test</scope>
</dependency>
<!-- Junit 测试 -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<!-- Lombok,内部包含 Slf4j日志管理框架 -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok-version}</version>
<optional>true</optional>
</dependency>
<!-- jackson-->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson-version}</version>
</dependency>
<!-- 分布式事务管理 -->
<dependency>
<groupId>com.codingapi.txlcn</groupId>
<artifactId>txlcn-tm</artifactId>
<version>${txmanager-version}</version>
</dependency>
<dependency>
<groupId>com.codingapi.txlcn</groupId>
<artifactId>txlcn-tc</artifactId>
<version>${txmanager-version}</version>
</dependency>
<dependency>
<groupId>com.codingapi.txlcn</groupId>
<artifactId>txlcn-txmsg-netty</artifactId>
<version>${txmanager-version}</version>
</dependency>
<!-- Spring Session 分布式事务 ,在登录时使用 -->
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-data-redis</artifactId>
<version>${spring-session-version}</version>
</dependency>
<!-- 外部服务工具依赖 -->
<!-- 数据库驱动 -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql-driver-version}</version>
</dependency>
<!-- fastdfs -->
<dependency>
<groupId>cn.bestwu</groupId>
<artifactId>fastdfs-client-java</artifactId>
<version>${fastdfs-version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${common-lang3-version}</version>
</dependency>
<!-- redis-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
<version>${spring.boot.version}</version>
</dependency>
<!-- elasticsearch -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-elasticsearch</artifactId>
<version>${spring.boot.version}</version>
</dependency>
<!-- rabbitmq-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
<version>${spring.boot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
<version>${hystrix-version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
<version>${openfeign-version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-gateway</artifactId>
<version>${gateway-version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-server</artifactId>
<version>${spring-cloud-config-server}</version>
</dependency>
<!-- <dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-config</artifactId>
</dependency>-->
<!-- java mail -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-mail</artifactId>
<version>${spring.boot.version}</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>3.0.0</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>1.6.11</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-models</artifactId>
<version>1.6.11</version>
</dependency>
<!-- pojo需要依赖的项目 -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-extension</artifactId>
<version>${mybatis-plus.version}</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.5.3.2</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
<version>3.6.1</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-generator</artifactId>
<version>3.5.1</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.3.8</version>
</dependency>
<!-- 数据库连接池 -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>1.2.18</version>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
<version>0.12.3</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.9.4</version>
</dependency>
<dependency>
<groupId>net.lingala.zip4j</groupId>
<artifactId>zip4j</artifactId>
<version>2.11.5</version>
</dependency>
<dependency>
<groupId>org.springframework.ldap</groupId>
<artifactId>spring-ldap-core</artifactId>
<version>2.3.2.RELEASE</version>
</dependency>
<dependency>
<groupId>com.belerweb</groupId>
<artifactId>pinyin4j</artifactId>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>5.2.3</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-excelant</artifactId>
<version>5.3.0</version>
</dependency>
<!--<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml-schemas</artifactId>
<version>5.2.3</version>
</dependency>-->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>5.2.3</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-scratchpad</artifactId>
<version>5.0.0</version>
</dependency>
<dependency>
<groupId>fr.opensagres.xdocreport</groupId>
<artifactId>xdocreport</artifactId>
<version>2.0.1</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.15.1</version>
</dependency>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>jsr311-api</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>commons-discovery</groupId>
<artifactId>commons-discovery</artifactId>
<version>0.5</version>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>2.3.31</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>2.4.16</version>
</dependency>
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>2.1.3</version>
</dependency>
<!--quartz-->
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>2.3.2</version>
</dependency>
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz-jobs</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>net.sf.proguard</groupId>
<artifactId>proguard-base</artifactId>
<version>6.2.2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
<version>1.7.36</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>2.11.1</version>
</dependency>
<!-- seata -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-seata</artifactId>
<version>2.2.7.RELEASE</version>
</dependency>
<dependency>
<groupId>io.seata</groupId>
<artifactId>seata-spring-boot-starter</artifactId>
<version>1.5.2</version>
</dependency>
<!-- HTML解析 -->
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.15.3</version>
</dependency>
<dependency>
<groupId>com.xuxueli</groupId>
<artifactId>xxl-job-core</artifactId>
<version>2.3.1</version>
</dependency>
<!-- nacos注册中心 -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
<version>2.2.7.RELEASE</version>
</dependency>
<!-- nacos配置中心 -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
<version>2.2.7.RELEASE</version>
</dependency>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
<version>2.2.1.RELEASE</version>
</dependency>
<!-- 限流保护 -->
<dependency>
<groupId>com.alibaba.csp</groupId>
<artifactId>sentinel-datasource-nacos</artifactId>
<version>1.8.5</version>
</dependency>
<!-- 批处理 jdk8 spring4.0+ -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-batch</artifactId>
<version>${spring.boot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.batch</groupId>
<artifactId>spring-batch-core</artifactId>
<version>4.2.4.RELEASE</version>
</dependency>
<!-- WORD套件 -->
<dependency>
<groupId>com.deepoove</groupId>
<artifactId>poi-tl</artifactId>
<version>1.12.1</version>
</dependency>
<!-- HTML转DOCX -->
<dependency>
<groupId>org.docx4j</groupId>
<artifactId>docx4j-ImportXHTML</artifactId>
<version>3.0.0</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>me.zhyd.oauth</groupId>
<artifactId>JustAuth</artifactId>
<version>1.16.5</version>
</dependency>
<!-- ********************** Start 自定义内部依赖 Start ********************** -->
<dependency>
<groupId>com.charley.icloud</groupId>
<artifactId>elasticsearch-spring-boot-starter</artifactId>
<version>${base.icloud.platform.version}</version>
</dependency>
<dependency>
<groupId>com.charley.icloud</groupId>
<artifactId>db-spring-boot-starter</artifactId>
<version>${base.icloud.platform.version}</version>
</dependency>
<dependency>
<groupId>com.charley.icloud</groupId>
<artifactId>security-spring-boot-starter</artifactId>
<version>${base.icloud.platform.version}</version>
</dependency>
<dependency>
<groupId>com.charley.icloud</groupId>
<artifactId>common-spring-boot-starter</artifactId>
<version>${base.icloud.platform.version}</version>
</dependency>
<dependency>
<groupId>com.charley.icloud</groupId>
<artifactId>uaa-common-server</artifactId>
<version>${base.icloud.platform.version}</version>
</dependency>
<dependency>
<groupId>com.charley.icloud</groupId>
<artifactId>swagger-spring-boot-starter</artifactId>
<version>${base.icloud.platform.version}</version>
</dependency>
<dependency>
<groupId>com.charley.icloud</groupId>
<artifactId>log-spring-boot-starter</artifactId>
<version>${base.icloud.platform.version}</version>
</dependency>
<dependency>
<groupId>com.charley.icloud</groupId>
<artifactId>redis-spring-boot-starter</artifactId>
<version>${base.icloud.platform.version}</version>
</dependency>
<dependency>
<groupId>com.charley.icloud</groupId>
<artifactId>office-spring-boot-starter</artifactId>
<version>${base.icloud.platform.version}</version>
</dependency>
<dependency>
<groupId>com.charley.icloud</groupId>
<artifactId>common-base-logging</artifactId>
<version>${base.icloud.platform.version}</version>
</dependency>
<dependency>
<groupId>com.charley.icloud</groupId>
<artifactId>jpa-spring-boot-starter</artifactId>
<version>${base.icloud.platform.version}</version>
</dependency>
<dependency>
<groupId>com.charley.icloud</groupId>
<artifactId>common-base-web</artifactId>
<version>${base.icloud.platform.version}</version>
</dependency>
<dependency>
<groupId>com.charley.icloud</groupId>
<artifactId>common-base-utils</artifactId>
<version>${base.icloud.platform.version}</version>
</dependency>
<dependency>
<groupId>com.charley.icloud</groupId>
<artifactId>common-base-auth</artifactId>
<version>${base.icloud.platform.version}</version>
</dependency>
<dependency>
<groupId>com.charley.icloud</groupId>
<artifactId>common-base-jmail</artifactId>
<version>${base.icloud.platform.version}</version>
</dependency>
<dependency>
<groupId>com.charley.icloud</groupId>
<artifactId>dbmp-spring-boot-starter</artifactId>
<version>${base.icloud.platform.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bootstrap</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<!-- SpringBoot Maven插件 -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version>
<configuration>
<fork>true</fork>
</configuration>
<!-- <executions>
<execution>
<id>repackage</id>
<goals>
<!– 将Maven的package命令默认实现(jar:jar)打包的重命名为XXX.jar.original –>
<goal>repackage</goal>
</goals>
</execution>
</executions>-->
</plugin>
<!-- Maven编译插件:在这里指定Java版本 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<!-- 编码格式使用UTF-8 -->
<encoding>UTF-8</encoding>
<compilerArgs>
<arg>-parameters</arg>
</compilerArgs>
</configuration>
</plugin>
<!-- maven打jar插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
</plugin>
<!-- maven打war插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.2</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<!-- 解决Maven Test命令时console出现中文乱码的问题 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
<!-- 跳过启动测试 -->
<skipTests>true</skipTests>
<argLine>-Dfile.encoding=${project.build.sourceEncoding}</argLine>
</configuration>
</plugin>
<!-- 让配置文件可以读取POM中的信息 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-filtering</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
<configuration>
<nonFilteredFileExtensions>
<nonFilteredFileExtension>bpmn</nonFilteredFileExtension>
<nonFilteredFileExtension>ttf</nonFilteredFileExtension>
</nonFilteredFileExtensions>
<delimiters>
<delimiter>@@</delimiter>
</delimiters>
<useDefaultDelimiters>false</useDefaultDelimiters>
</configuration>
</plugin>
<!-- Sonar分析插件 -->
<!--<plugin>
<!– 使用maven命令:mvn sonar:sonar -Dsonar.java.binaries=target/sonar –>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.10.0.2594</version>
</plugin>-->
</plugins>
</pluginManagement>
<!-- 资源管理 -->
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.yml</include>
<include>*.yml</include>
<include>**/*.xml</include>
<include>**/*.tld</include>
<include>**/*.p12</include>
<include>**/*.conf</include>
<include>**/*.txt</include>
<include>**/*.wsdl</include>
<include>**/*.xsd</include>
<include>**/*.ftl</include>
<include>**/*.lua</include>
<include>**/*.json</include>
<include>processes/*</include>
<include>**/*.png</include>
<include>**/*.pdf</include>
<include>**/spring.factories</include>
</includes>
<filtering>false</filtering>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
<include>**/*.tld</include>
</includes>
<filtering>false</filtering>
</resource>
<resource>
<directory>src/main/view</directory>
<includes>
<include>**/*.*</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</build>
<!-- 仓库地址 -->
<repositories>
<repository>
<id>central</id>
<url>https://maven.aliyun.com/repository/central</url>
<name>aliyun</name>
</repository>
<repository>
<id>aliyun-repos</id>
<url>https://maven.aliyun.com/repository/public</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<!-- 插件仓库地址-->
<pluginRepositories>
<pluginRepository>
<id>spring-snapshots</id>
<url>https://repo.spring.io/snapshot</url>
</pluginRepository>
<pluginRepository>
<id>spring-milestones</id>
<url>https://repo.spring.io/milestone</url>
</pluginRepository>
</pluginRepositories>
<!-- 配置环境 -->
<profiles>
<profile>
<id>dev</id>
<properties>
<maven.env>development</maven.env>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>test</id>
<properties>
<maven.env>test</maven.env>
</properties>
</profile>
<profile>
<id>pre</id>
<properties>
<maven.env>pre</maven.env>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<maven.env>prod</maven.env>
</properties>
</profile>
</profiles>
<!-- 开发者 -->
<developers>
<developer>
<name>charley</name>
<email>1012445760@qq.com</email>
<roles>
<role>owner</role>
</roles>
<timezone>GMT+8</timezone>
</developer>
</developers>
</project>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。